Package nz.org.riskscape.engine.geo
Class ProjectGeometryOp
java.lang.Object
nz.org.riskscape.engine.geo.ProjectGeometryOp
Geometry operation to return geometries in a ProjectedCRS
which makes measuring and other
geometry operations easier.
Large geometries or GeometryCollection
s may be split into pieces.
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
Contains a sourceGeometry
and the same geometry re-projected to a gridded CRS. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapply
(org.locationtech.jts.geom.Geometry geom) Returns aList
ofProjectGeometryOp.Projected
containing the source geometry and it'sCoordinateReferenceSystem
along with a re-projected version (or part) of it.
-
Constructor Details
-
ProjectGeometryOp
public ProjectGeometryOp(nz.org.riskscape.engine.SRIDSet sridSet)
-
-
Method Details
-
apply
Returns a
List
ofProjectGeometryOp.Projected
containing the source geometry and it'sCoordinateReferenceSystem
along with a re-projected version (or part) of it. Useful when geometries need to be measured or segmented.Projected relates to the geometry's
CoordinateReferenceSystem
been aProjectedCRS
in which case the geometry's units are meaningful to measure. That is a square metre is a meaningful measurement, whereas the size of a square degree depends on the latitude of that square degree.- Parameters:
geom
-- Returns:
- List
-