Class StringToGeometryCollectionConverter

java.lang.Object
org.bremersee.geojson.converter.StringToGeometryCollectionConverter
All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<String,org.locationtech.jts.geom.GeometryCollection>

public class StringToGeometryCollectionConverter extends Object implements org.springframework.core.convert.converter.Converter<String,org.locationtech.jts.geom.GeometryCollection>
The string to geometry collection converter.
Author:
Christian Bremer
  • Constructor Details

    • StringToGeometryCollectionConverter

      public StringToGeometryCollectionConverter(GeoJsonGeometryFactory geometryFactory)
      Instantiates a new string to geometry collection converter.
      Parameters:
      geometryFactory - the geometry factory
  • Method Details

    • convert

      public org.locationtech.jts.geom.GeometryCollection convert(@NonNull String source)
      Specified by:
      convert in interface org.springframework.core.convert.converter.Converter<String,org.locationtech.jts.geom.GeometryCollection>