Class GeoWktShapeParser
java.lang.Object
org.locationtech.spatial4j.io.WKTReader
com.semedy.reasoner.symboltable.encoder.GeoWktShapeParser
- All Implemented Interfaces:
org.locationtech.spatial4j.io.ShapeIO
,org.locationtech.spatial4j.io.ShapeReader
public class GeoWktShapeParser
extends org.locationtech.spatial4j.io.WKTReader
- Author:
- Juergen Baier
-
Nested Class Summary
Nested classes/interfaces inherited from class org.locationtech.spatial4j.io.WKTReader
org.locationtech.spatial4j.io.WKTReader.State
-
Field Summary
Fields inherited from interface org.locationtech.spatial4j.io.ShapeIO
GeoJSON, LEGACY, POLY, WKT
-
Constructor Summary
ConstructorDescriptionGeoWktShapeParser
(org.locationtech.spatial4j.context.SpatialContext ctx, org.locationtech.spatial4j.context.SpatialContextFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionorg.locationtech.spatial4j.shape.Shape
parseShapeByType
(String wktString, String shapeType) Methods inherited from class org.locationtech.spatial4j.io.WKTReader
getFormatName, parse, parseIfSupported, read, read, readIfSupported
-
Constructor Details
-
GeoWktShapeParser
public GeoWktShapeParser(org.locationtech.spatial4j.context.SpatialContext ctx, org.locationtech.spatial4j.context.SpatialContextFactory factory)
-
-
Method Details
-
parseShapeByType
public org.locationtech.spatial4j.shape.Shape parseShapeByType(String wktString, String shapeType) throws ParseException - Throws:
ParseException
-