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 GeometryCollections may be split into pieces.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassContains a sourceGeometryand the same geometry re-projected to a gridded CRS. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(org.locationtech.jts.geom.Geometry geom) Returns aListofProjectGeometryOp.Projectedcontaining the source geometry and it'sCoordinateReferenceSystemalong 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
ListofProjectGeometryOp.Projectedcontaining the source geometry and it'sCoordinateReferenceSystemalong with a re-projected version (or part) of it. Useful when geometries need to be measured or segmented.Projected relates to the geometry's
CoordinateReferenceSystembeen aProjectedCRSin 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
-