Package nz.org.riskscape.engine.relation
Class SpatialMetadata
java.lang.Object
nz.org.riskscape.engine.relation.SpatialMetadata
Optional meta data for a Relation
NB this class predates the referenced type wrapper and could potentially be deprecated, or be a product of those types being present in the relation that returns this metadata. As it stands, this class gives a potentially conflicting view of the crs that a relation contains. The geometryStructMember itself is potentially more useful, but this could also be just a convention of picking the first geometry field (or one with a particular name)
-
Constructor Summary
ConstructorsConstructorDescriptionSpatialMetadata(org.geotools.api.referencing.crs.CoordinateReferenceSystem crs, Struct.StructMember geometryStructMember) -
Method Summary
Modifier and TypeMethodDescription@NonNull org.geotools.api.referencing.crs.CoordinateReferenceSystemgetCrs()@NonNull Struct.StructMember
-
Constructor Details
-
SpatialMetadata
public SpatialMetadata(org.geotools.api.referencing.crs.CoordinateReferenceSystem crs, Struct.StructMember geometryStructMember)
-
-
Method Details
-
getCrs
@NonNull public @NonNull org.geotools.api.referencing.crs.CoordinateReferenceSystem getCrs() -
getGeometryStructMember
-