Package nz.org.riskscape.engine.coverage
Class TypedCoverage.Empty
java.lang.Object
nz.org.riskscape.engine.coverage.TypedCoverage.Empty
- All Implemented Interfaces:
TypedCoverage
,SelfDescribingScalarData
- Enclosing interface:
- TypedCoverage
An empty coverage, useful for testing, stubs, or proxy implementations
-
Nested Class Summary
Nested classes/interfaces inherited from interface nz.org.riskscape.engine.coverage.TypedCoverage
TypedCoverage.Empty
-
Field Summary
Fields inherited from interface nz.org.riskscape.engine.coverage.TypedCoverage
DEFAULT_CRS
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface nz.org.riskscape.engine.coverage.TypedCoverage
asRelation, getEnvelope, getEvaluateIntersectionOp, getScalarDataType
-
Constructor Details
-
Empty
-
-
Method Details
-
evaluate
Description copied from interface:TypedCoverage
Get values from coverage at point. Values will be in the type returned by
TypedCoverage.getType()
- Specified by:
evaluate
in interfaceTypedCoverage
- Parameters:
point
- to sample coverages at- Returns:
- result as expected type
-
getCoordinateReferenceSystem
public org.geotools.api.referencing.crs.CoordinateReferenceSystem getCoordinateReferenceSystem()- Specified by:
getCoordinateReferenceSystem
in interfaceTypedCoverage
- Returns:
- the CRS that the underlying data is represented in
-
getType
- Specified by:
getType
in interfaceTypedCoverage
- Returns:
- type of values returned by
TypedCoverage.evaluate(org.locationtech.jts.geom.Point)
-