Module org.apache.jena.geosparql
Class GeometryReverse
java.lang.Object
org.apache.jena.geosparql.implementation.GeometryReverse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final org.locationtech.jts.geom.Geometry
Checks the spatial reference system URI for y,x and reverses the supplied geometry coordinates.static final org.locationtech.jts.geom.Geometry
Checks the spatial reference system URI for y,x and reverses the supplied geometry coordinates.static final org.locationtech.jts.geom.Geometry
Checks the spatial reference system URI for y,x and reverses the supplied geometry coordinates.static org.locationtech.jts.geom.Geometry
reverseGeometry
(org.locationtech.jts.geom.Geometry geometry) Reverses coordinate order of the supplied geometry and produces a new geometry.
-
Constructor Details
-
GeometryReverse
public GeometryReverse()
-
-
Method Details
-
check
public static final org.locationtech.jts.geom.Geometry check(org.locationtech.jts.geom.Geometry geometry, String srsURI) Checks the spatial reference system URI for y,x and reverses the supplied geometry coordinates.- Parameters:
geometry
-srsURI
-- Returns:
- Geometry in x,y coordinate order.
-
check
public static final org.locationtech.jts.geom.Geometry check(org.locationtech.jts.geom.Geometry geometry, SRSInfo srsInfo) Checks the spatial reference system URI for y,x and reverses the supplied geometry coordinates.- Parameters:
geometry
-srsInfo
-- Returns:
- Geometry in x,y coordinate order.
-
check
public static final org.locationtech.jts.geom.Geometry check(org.locationtech.jts.geom.Geometry geometry, Boolean isAxisXY) Checks the spatial reference system URI for y,x and reverses the supplied geometry coordinates.- Parameters:
geometry
-isAxisXY
-- Returns:
- Geometry in x,y coordinate order.
-
reverseGeometry
public static org.locationtech.jts.geom.Geometry reverseGeometry(org.locationtech.jts.geom.Geometry geometry) Reverses coordinate order of the supplied geometry and produces a new geometry.- Parameters:
geometry
-- Returns:
- Geometry in x,y coordinate order.
-