Class GeometryToStringConverter

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

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

    • GeometryToStringConverter

      public GeometryToStringConverter()
      Instantiates a new geometry to string converter.
  • Method Details

    • convert

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