Class AbstractInspireObservation

    • Constructor Detail

      • AbstractInspireObservation

        public AbstractInspireObservation()
        constructor
      • AbstractInspireObservation

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

      • 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