Class GeoJsonObject

    • Constructor Detail

      • GeoJsonObject

        public GeoJsonObject()
    • Method Detail

      • getBbox

        public double[] getBbox()
        Get the bounding box
        Returns:
        bounding box
      • setBbox

        public void setBbox​(double[] bbox)
        Set the bounding box
        Parameters:
        bbox - bounding box
      • getType

        public abstract String getType()
        Get the GeoJSON object type
        Returns:
        GeoJSON object type
      • getSimpleGeometry

        public abstract Geometry getSimpleGeometry()
        Get the simple feature geometry
        Returns:
        simple feature geometry
        Since:
        3.3.3
      • getForeignMembers

        public Map<String,​Object> getForeignMembers()
        Get the foreign members
        Returns:
        foreign members
      • getForeignMember

        public Object getForeignMember​(String name)
        Get the foreign member by name
        Parameters:
        name - name
        Returns:
        value
      • hasForeignMember

        public Object hasForeignMember​(String name)
        Check if has the foreign member
        Parameters:
        name - name
        Returns:
        true if has
      • setForeignMember

        public void setForeignMember​(String name,
                                     Object value)
        Set a foreign member
        Parameters:
        name - name
        value - value
      • hasForeignMembers

        public boolean hasForeignMembers()
        Check if has foreign members
        Returns:
        true if has
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object