Uses of Class
org.locationtech.spatial4j.exception.InvalidShapeException
Packages that use InvalidShapeException
Package
Description
SpatialContext implementations are the facade to the Spatial4j API.
Reading & writing shapes in various forms.
-
Uses of InvalidShapeException in org.locationtech.spatial4j.context
Methods in org.locationtech.spatial4j.context that throw InvalidShapeException -
Uses of InvalidShapeException in org.locationtech.spatial4j.io
Methods in org.locationtech.spatial4j.io that throw InvalidShapeExceptionModifier and TypeMethodDescriptionParses the wktString, returning the defined Shape.WKTReader.parseIfSupported
(String wktString) Parses the wktString, returning the defined Shape.static final double[]
ParseUtils.parseLatitudeLongitude
(double[] outLatLon, String latLonStr) Deprecated.A variation ofParseUtils.parseLatitudeLongitude(String)
that re-uses an output array.static final double[]
ParseUtils.parseLatitudeLongitude
(String latLonStr) Deprecated.Extract (by callingParseUtils.parsePoint(String[], String, int)
and validate the latitude and longitude contained in the String by making sure the latitude is between 90 & -90 and longitude is between -180 and 180.static String[]
ParseUtils.parsePoint
(String[] out, String externalVal, int dimension) Deprecated.Given a string containing dimension values encoded in it, separated by commas, return a String array of length dimension containing the values.static double[]
ParseUtils.parsePointDouble
(double[] out, String externalVal, int dimension) Deprecated.Given a string containing dimension values encoded in it, separated by commas, return a double array of length dimension containing the values.Deprecated.Deprecated.Read aShape
from the reader.GeoJSONReader.readIfSupported
(Object value) LegacyShapeReader.readIfSupported
(Object value) Deprecated.PolyshapeReader.readIfSupported
(Object value) ShapeReader.readIfSupported
(Object value) WKTReader.readIfSupported
(Object value) private static Point
LegacyShapeReader.readLatCommaLonPoint
(String value, SpatialContext ctx) Deprecated.Reads geospatial latitude then a comma then longitude.static Shape
LegacyShapeReader.readShapeOrNull
(String str, SpatialContext ctx) Deprecated.Reads the shape specification as defined in the class javadocs. -
Uses of InvalidShapeException in org.locationtech.spatial4j.shape.jts
Methods in org.locationtech.spatial4j.shape.jts that throw InvalidShapeExceptionModifier and TypeMethodDescriptionvoid
JtsGeometry.validate()
Validates the shape, throwing a descriptive error if it isn't valid.