Package | Description |
---|---|
com.spatial4j.core.io |
Reading & writing shapes in various forms.
|
com.spatial4j.core.io.jts |
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.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.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 Point |
WKTReader.point(WKTReader.State state)
Reads a raw Point (AKA Coordinate) from the current position.
|
protected List<Point> |
WKTReader.pointList(WKTReader.State state)
Reads a list of Points (AKA CoordinateSequence) from the current position.
|
protected Shape |
WKTReader.shape(WKTReader.State state)
Reads a shape from the current position, starting with the name of the shape.
|
Modifier and Type | Method and Description |
---|---|
protected com.vividsolutions.jts.geom.Coordinate |
JtsWKTReader.coordinate(WKTReader.State state)
Reads a
Coordinate from the current position. |
protected com.vividsolutions.jts.geom.Coordinate[] |
JtsWKTReader.coordinateSequence(WKTReader.State state)
Reads a JTS Coordinate sequence from the current position.
|
protected List<com.vividsolutions.jts.geom.Coordinate[]> |
JtsWKTReader.coordinateSequenceList(WKTReader.State state)
Reads a list of JTS Coordinate sequences from the current position.
|
protected Shape |
JtsWKTReader.parseLineStringShape(WKTReader.State state)
Bypasses
JtsSpatialContext.makeLineString(java.util.List) so that we can more
efficiently get the LineString without creating a List<Point> . |
protected Shape |
JtsWKTReader.parseMulitPolygonShape(WKTReader.State state)
Parses a MULTIPOLYGON shape from the raw string.
|
protected Shape |
JtsWKTReader.parsePolygonShape(WKTReader.State state)
Parses a POLYGON shape from the raw string.
|
protected Shape |
JtsWKTReader.parseShapeByType(WKTReader.State state,
String shapeType) |
protected com.vividsolutions.jts.geom.Polygon |
JtsWKTReader.polygon(WKTReader.State state)
Reads a polygon, returning a JTS polygon.
|
Copyright © 2017. All rights reserved.