Class Feature

    • Constructor Detail

      • Feature

        public Feature()
        Constructor
      • Feature

        public Feature​(Geometry geometry)
        Constructor
        Parameters:
        geometry - geometry
    • Method Detail

      • getId

        public String getId()
        Get the feature id
        Returns:
        feature id
      • setId

        public void setId​(String id)
        Set the feature id
        Parameters:
        id - feature id
      • getGeometry

        public Geometry getGeometry()
        Get the geometry
        Returns:
        geometry
      • setGeometry

        public void setGeometry​(Geometry geometry)
        Set the geometry
        Parameters:
        geometry - geometry object
      • getProperties

        public Map<String,​Object> getProperties()
        Get the properties
        Returns:
        properties map
      • setProperties

        public void setProperties​(Map<String,​Object> properties)
        Set the properties
        Parameters:
        properties - properties map
      • getGeometryType

        public GeometryType getGeometryType()
        Get the geometry type
        Returns:
        geometry type
        Since:
        3.0.0
      • getType

        public String getType()
        Get the GeoJSON object type
        Specified by:
        getType in class GeoJsonObject
        Returns:
        GeoJSON object type