Class Feature

  • All Implemented Interfaces:
    Serializable

    @Generated("org.openapitools.codegen.languages.SpringCodegen")
    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:
    Serialized Form
    • Constructor Detail

      • Feature

        public Feature()
    • 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
      • setAttributes

        public void setAttributes​(Map<String,​Object> attributes)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object