Class GeoObject

    • Constructor Detail

      • GeoObject

        public GeoObject(Geometry geometry)
        Create a new tagged geometry instance.
        Parameters:
        geometry - the associated geometry.
    • Method Detail

      • addTag

        public void addTag(String key,
                           String value)
        Add this tag to the set of tags.
        Parameters:
        key - the key of the tag.
        value - the value of the tag.
      • setGeometry

        public void setGeometry(Geometry geometry)
        Parameters:
        geometry - the geometry to associate.
      • getGeometry

        public Geometry getGeometry()
        Returns:
        the associated geometry
      • setTags

        public void setTags(Map<String,String> tags)
        Parameters:
        tags - the tags for this instance.
      • getTags

        public Map<String,String> getTags()
        Returns:
        the tags of this instance.