Package org.apache.lucene.geo
Class SimpleWKTShapeParser
java.lang.Object
org.apache.lucene.geo.SimpleWKTShapeParser
Parses shape geometry represented in WKT format
complies with OGC® document: 12-063r5 and ISO/IEC 13249-3:2016 standard located at http://docs.opengeospatial.org/is/12-063r5/12-063r5.html
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Enumerated type for Shapes -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Object
static Object
parseExpectedType
(String wkt, SimpleWKTShapeParser.ShapeType shapeType)
-
Field Details
-
EMPTY
- See Also:
-
SPACE
- See Also:
-
LPAREN
- See Also:
-
RPAREN
- See Also:
-
COMMA
- See Also:
-
NAN
- See Also:
-
-
Method Details
-
parse
- Throws:
IOException
ParseException
-
parseExpectedType
public static Object parseExpectedType(String wkt, SimpleWKTShapeParser.ShapeType shapeType) throws IOException, ParseException - Throws:
IOException
ParseException
-