Uses of Class
org.locationtech.spatial4j.exception.InvalidShapeException
-
Packages that use InvalidShapeException Package Description org.apache.lucene.spatial.query org.locationtech.spatial4j.context org.locationtech.spatial4j.io org.locationtech.spatial4j.shape.jts -
-
Uses of InvalidShapeException in org.apache.lucene.spatial.query
Methods in org.apache.lucene.spatial.query that throw InvalidShapeException Modifier and Type Method Description SpatialArgsSpatialArgsParser. parse(String v, SpatialContext ctx)Parses a string such as "Intersects(ENVELOPE(-10,-8,22,20)) distErrPct=0.025". -
Uses of InvalidShapeException in org.locationtech.spatial4j.context
Methods in org.locationtech.spatial4j.context that throw InvalidShapeException Modifier and Type Method Description ShapeSpatialContext. readShape(String value)Deprecated.ShapeSpatialContext. readShapeFromWkt(String wkt)Deprecated. -
Uses of InvalidShapeException in org.locationtech.spatial4j.io
Methods in org.locationtech.spatial4j.io that throw InvalidShapeException Modifier and Type Method Description ShapeWKTReader. parse(String wktString)Parses the wktString, returning the defined Shape.ShapeWKTReader. parseIfSupported(String wktString)Parses the wktString, returning the defined Shape.static double[]ParseUtils. parseLatitudeLongitude(double[] outLatLon, String latLonStr)Deprecated.A variation ofParseUtils.parseLatitudeLongitude(String)that re-uses an output array.static 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.ShapeGeoJSONReader. read(Object value)ShapeLegacyShapeReader. read(Reader reader)Deprecated.ShapeLegacyShapeReader. read(Object value)Deprecated.ShapePolyshapeReader. read(Object value)ShapeShapeReader. read(Reader reader)Read aShapefrom the reader.ShapeShapeReader. read(Object value)ShapeWKTReader. read(Object value)ShapeGeoJSONReader. readIfSupported(Object value)ShapeLegacyShapeReader. readIfSupported(Object value)Deprecated.ShapePolyshapeReader. readIfSupported(Object value)ShapeShapeReader. readIfSupported(Object value)ShapeWKTReader. readIfSupported(Object value)static ShapeLegacyShapeReader. 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 InvalidShapeException Modifier and Type Method Description voidJtsGeometry. validate()Validates the shape, throwing a descriptive error if it isn't valid.
-