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.17.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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributes(Map<String, Object> attributes) booleanfeature attributes in key/value pairsgetFid()feature id, a non-mutable identifier from the attribute sourceDefault geometry of the feature as WKT, possibly simplified.inthashCode()putAttributesItem(String key, Object attributesItem) voidsetAttributes(Map<String, Object> attributes) voidvoidsetGeometry(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
-