Package | Description |
---|---|
org.locationtech.spatial4j.io |
Reading & writing shapes in various forms.
|
Modifier and Type | Method and Description |
---|---|
protected WKTReader.State |
WKTReader.newState(String wktString)
(internal) Creates a new State with the given String.
|
Modifier and Type | Method and Description |
---|---|
protected Shape |
WKTReader.parseBufferShape(WKTReader.State state)
Parses the BUFFER operation applied to a parsed shape.
|
protected Shape |
WKTReader.parseEnvelopeShape(WKTReader.State state)
Parses an ENVELOPE (aka Rectangle) shape from the raw string.
|
protected Shape |
WKTReader.parseGeometryCollectionShape(WKTReader.State state)
Parses a GEOMETRYCOLLECTION shape from the raw string.
|
protected Shape |
WKTReader.parseLineStringShape(WKTReader.State state)
Parses a LINESTRING shape from the raw string -- an ordered sequence of points.
|
protected Shape |
WKTReader.parseMulitPolygonShape(WKTReader.State state)
Parses a MULTIPOLYGON shape from the raw string.
|
protected Shape |
WKTReader.parseMultiLineStringShape(WKTReader.State state)
Parses a MULTILINESTRING shape from the raw string -- a collection of line strings.
|
protected Shape |
WKTReader.parseMultiPointShape(WKTReader.State state)
Parses a MULTIPOINT shape from the raw string -- a collection of points.
|
protected Shape |
WKTReader.parsePointShape(WKTReader.State state)
Parses a POINT shape from the raw string.
|
protected Shape |
WKTReader.parsePolygonShape(WKTReader.State state)
Parses a POLYGON shape from the raw string.
|
protected Shape |
WKTReader.parseShapeByType(WKTReader.State state,
String shapeType)
(internal) Parses the remainder of a shape definition following the shape's name given as
shapeType already consumed via nextWord() . |
protected ShapeFactory.PointsBuilder |
WKTReader.point(WKTReader.State state,
ShapeFactory.PointsBuilder pointsBuilder)
Reads a raw Point (AKA Coordinate) from the current position.
|
protected <B extends ShapeFactory.PointsBuilder> |
WKTReader.pointList(WKTReader.State state,
B pointsBuilder)
Reads a list of Points (AKA CoordinateSequence) from the current position.
|
protected ShapeFactory.PolygonBuilder |
WKTReader.polygon(WKTReader.State state,
ShapeFactory.PolygonBuilder polygonBuilder)
Reads a polygon
|
protected Shape |
WKTReader.shape(WKTReader.State state)
Reads a shape from the current position, starting with the name of the shape.
|
Copyright © 2021 LocationTech. All rights reserved.