Class Geometry

java.lang.Object
org.bremersee.geojson.model.Geometry
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
GeometryCollection, LineString, MultiLineString, MultiPoint, MultiPolygon, Point, Polygon

public abstract class Geometry extends Object implements Serializable
GeoJSON Geometry.
Author:
Christian Bremer
See Also:
  • Constructor Details

    • Geometry

      protected Geometry(BoundingBox bbox)
      Instantiates a new geometry.
      Parameters:
      bbox - the bbox
  • Method Details

    • toJson

      public Map<String,Object> toJson()
      To json map.
      Returns:
      the map