Package org.bremersee.geojson.converter
Class StringToGeometryConverter
java.lang.Object
org.bremersee.geojson.converter.StringToGeometryConverter
- All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<String,org.locationtech.jts.geom.Geometry>
public class StringToGeometryConverter
extends Object
implements org.springframework.core.convert.converter.Converter<String,org.locationtech.jts.geom.Geometry>
The string to geometry converter.
- Author:
- Christian Bremer
-
Constructor Summary
ConstructorsConstructorDescriptionStringToGeometryConverter(GeoJsonGeometryFactory geometryFactory) Instantiates a new string to geometry converter. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.core.convert.converter.Converter
andThen
-
Constructor Details
-
StringToGeometryConverter
Instantiates a new string to geometry converter.- Parameters:
geometryFactory- the geometry factory
-
-
Method Details
-
convert
- Specified by:
convertin interfaceorg.springframework.core.convert.converter.Converter<String,org.locationtech.jts.geom.Geometry>
-