Class AbstractInspireObservation

All Implemented Interfaces:
HasDefaultEncoding<AbstractFeature>, ObservationParameterHelper<OmObservation>
Direct Known Subclasses:
MultiPointObservation, PointObservation, PointTimeSeriesObservation, ProfileObservation, TrajectoryObservation

public abstract class AbstractInspireObservation extends OmObservation
Abstract class for INSPIRE OM Specialised Observations
Since:
1.0.0
  • Constructor Details

    • AbstractInspireObservation

      public AbstractInspireObservation()
      constructor
    • AbstractInspireObservation

      public AbstractInspireObservation(OmObservation observation)
      constructor
      Parameters:
      observation - OmObservation to convert
  • Method Details

    • checkForFeatureGeometry

      protected boolean checkForFeatureGeometry(OmObservation observation)
      Check if the OmObservation has a featureOfInterest with geometry value
      Parameters:
      observation - OmObservation to check
      Returns:
      true, if the OmObservation has a featureOfInterest with geometry value
    • getGeometryFromFeature

      protected org.locationtech.jts.geom.Geometry getGeometryFromFeature(OmObservation observation)
      Get the geometry value from the featureOfInterest of the OmObservation
      Parameters:
      observation - The OmObservation to get the geometry from
      Returns:
      The geometry
    • getGeometryFromSamplingGeometry

      protected org.locationtech.jts.geom.Geometry getGeometryFromSamplingGeometry(OmObservation observation)
      Get the geometry value from the samplingGeometry (om:parameter) of the OmObservation
      Parameters:
      observation - The OmObservation to get the geometry from
      Returns:
      The geometry