Class SpatialMetadata

java.lang.Object
nz.org.riskscape.engine.relation.SpatialMetadata

public class SpatialMetadata extends Object

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 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

      @NonNull public @NonNull Struct.StructMember getGeometryStructMember()