Class StringToMultiPolygonConverter

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

public class StringToMultiPolygonConverter extends Object implements org.springframework.core.convert.converter.Converter<String,org.locationtech.jts.geom.MultiPolygon>
The string to multi polygon converter.
Author:
Christian Bremer
  • Constructor Details

    • StringToMultiPolygonConverter

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

    • convert

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