Package org.tailormap.api.viewer.model
Class Feature
java.lang.Object
org.tailormap.api.viewer.model.Feature
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
comments="Generator version: 7.10.0")
public class Feature
extends Object
implements Serializable
A possibly complete feature from the attribute source. The feature could have been filtered to not provide certain attributes. Any geometry attributes will be presented in WKT format
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionattributes
(Map<String, Object> attributes) boolean
feature attributes in key/value pairsgetFid()
feature id, a non-mutable identifier from the attribute sourceDefault geometry of the feature as WKT, possibly simplified.int
hashCode()
putAttributesItem
(String key, Object attributesItem) void
setAttributes
(Map<String, Object> attributes) void
void
setGeometry
(String geometry) toString()
-
Constructor Details
-
Feature
public Feature()
-
-
Method Details
-
fid
-
getFid
feature id, a non-mutable identifier from the attribute source- Returns:
- fid
-
setFid
-
geometry
-
getGeometry
Default geometry of the feature as WKT, possibly simplified. Always linearized to make sure that it only holds a specification valid WKT. Can be used for highlighting or buffer/selection, not for editing.- Returns:
- geometry
-
setGeometry
-
attributes
-
putAttributesItem
-
getAttributes
feature attributes in key/value pairs- Returns:
- attributes
-
setAttributes
-
equals
-
hashCode
public int hashCode() -
toString
-