Class JsonToGeometryConverter

java.lang.Object
org.bremersee.geojson.converter.deserialization.JsonToGeometryConverter
All Implemented Interfaces:
Serializable

public class JsonToGeometryConverter extends Object
The json to geometry converter.
Author:
Christian Bremer
See Also:
  • Constructor Details

    • JsonToGeometryConverter

      public JsonToGeometryConverter()
      Instantiates a new json to geometry converter.
    • JsonToGeometryConverter

      public JsonToGeometryConverter(org.locationtech.jts.geom.GeometryFactory geometryFactory)
      Instantiates a new json to geometry converter.
      Parameters:
      geometryFactory - the geometry factory
  • Method Details

    • convert

      public org.locationtech.jts.geom.Geometry convert(Map<String,Object> source)
      Convert geometry.
      Parameters:
      source - the source
      Returns:
      the geometry