Class Feature
- java.lang.Object
-
- nl.b3p.tailormap.api.viewer.model.Feature
-
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.SpringCodegen") public class Feature extends Object implements SerializableA 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Feature()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Featureattributes(Map<String,Object> attributes)booleanequals(Object o)Featurefid(String fid)Featuregeometry(String geometry)@NotNull Map<String,Object>getAttributes()feature attributes in key/value pairsStringgetFid()feature id, a non-mutable identifier from the attribute sourceStringgetGeometry()Default geometry of the feature as WKT, possibly simplified.inthashCode()FeatureputAttributesItem(String key, Object attributesItem)voidsetAttributes(Map<String,Object> attributes)voidsetFid(String fid)voidsetGeometry(String geometry)StringtoString()
-
-
-
Method Detail
-
getFid
public String getFid()
feature id, a non-mutable identifier from the attribute source- Returns:
- fid
-
setFid
public void setFid(String fid)
-
getGeometry
public String 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
public void setGeometry(String geometry)
-
getAttributes
@NotNull public @NotNull Map<String,Object> getAttributes()
feature attributes in key/value pairs- Returns:
- attributes
-
-