Package org.n52.shetland.inspire.omso
Class AbstractInspireObservation
- java.lang.Object
-
- org.n52.shetland.ogc.gml.AbstractGML
-
- org.n52.shetland.ogc.gml.AbstractFeature
-
- org.n52.shetland.ogc.om.OmObservation
-
- org.n52.shetland.inspire.omso.AbstractInspireObservation
-
- All Implemented Interfaces:
HasDefaultEncoding<AbstractFeature>
- 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 Summary
Constructors Constructor Description AbstractInspireObservation()constructorAbstractInspireObservation(OmObservation observation)constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancheckForFeatureGeometry(OmObservation observation)Check if theOmObservationhas a featureOfInterest with geometry valueprotected org.locationtech.jts.geom.GeometrygetGeometryFromFeature(OmObservation observation)Get the geometry value from the featureOfInterest of theOmObservationprotected org.locationtech.jts.geom.GeometrygetGeometryFromSamplingGeometry(OmObservation observation)Get the geometry value from the samplingGeometry (om:parameter) of theOmObservation-
Methods inherited from class org.n52.shetland.ogc.om.OmObservation
addCategoryParameter, addCategoryParameter, addCategoryParameter, addParameter, addRelatedObservation, addRelatedObservations, addResultQuality, addResultQuality, addSpatialFilteringProfileParameter, checkForMerge, checkForMerge, cloneTemplate, cloneTemplate, cloneTemplate, convertSingleValueToMultiValue, copyTo, getAdditionalMergeIndicator, getCategoryParameter, getDecimalSeparator, getDepthParameter, getGmlId, getHeightDepthParameter, getHeightParameter, getNoDataValue, getObservationConstellation, getObservationID, getParameter, getParameterHolder, getPhenomenonTime, getRelatedObservations, getResultQuality, getResultTime, getResultType, getSpatialFilteringProfileParameter, getTokenSeparator, getTupleSeparator, getValidTime, getValue, isSetAdditionalMergeIndicator, isSetCategoryParameter, isSetDecimalSeparator, isSetDepthParameter, isSetHeightDepthParameter, isSetHeightParameter, isSetObservationID, isSetParameter, isSetPhenomenonTime, isSetRelatedObservations, isSetResultQuality, isSetResultTime, isSetResultType, isSetSpatialFilteringProfileParameter, isSetTokenSeparator, isSetTupleSeparator, isSetValidTime, isSetValue, isTemplateResultTime, mergeValues, mergeWithObservation, mergeWithObservation, removeCategoryParameter, removeParameter, removeSpatialFilteringProfileParameter, setAdditionalMergeIndicator, setDecimalSeparator, setNoDataValue, setObservationConstellation, setObservationID, setParameter, setRelatedObservations, setResultQuality, setResultTime, setResultType, setTokenSeparator, setTupleSeparator, setValidTime, setValue
-
Methods inherited from class org.n52.shetland.ogc.gml.AbstractFeature
accept, copyTo, getDefaultElementEncoding, getXml, isEncoded, isSetDefaultElementEncoding, isSetXml, setDefaultElementEncoding, setXml, wasEncoded
-
Methods inherited from class org.n52.shetland.ogc.gml.AbstractGML
addMetaDataProperty, addMetaDataProperty, addName, addName, addName, copyTo, equals, getDescription, getFirstName, getHumanReadableIdentifier, getHumanReadableIdentifierCodeWithAuthority, getIdentifier, getIdentifierCodeWithAuthority, getMetaDataProperty, getName, getOriginalIdentifier, getOriginalIdentifierCodeWithAuthority, hashCode, isReferenced, isSetDescription, isSetGmlID, isSetHumanReadableIdentifier, isSetIdentifier, isSetMetaDataProperty, isSetName, isSetOriginalIdentifier, setDescription, setGmlId, setHumanReadableIdentifier, setHumanReadableIdentifier, setHumanReadableIdentifierAsIdentifier, setIdentifier, setIdentifier, setMetaDataProperty, setName, setName
-
-
-
-
Constructor Detail
-
AbstractInspireObservation
public AbstractInspireObservation()
constructor
-
AbstractInspireObservation
public AbstractInspireObservation(OmObservation observation)
constructor- Parameters:
observation-OmObservationto convert
-
-
Method Detail
-
checkForFeatureGeometry
protected boolean checkForFeatureGeometry(OmObservation observation)
Check if theOmObservationhas a featureOfInterest with geometry value- Parameters:
observation-OmObservationto check- Returns:
true, if theOmObservationhas a featureOfInterest with geometry value
-
getGeometryFromFeature
protected org.locationtech.jts.geom.Geometry getGeometryFromFeature(OmObservation observation)
Get the geometry value from the featureOfInterest of theOmObservation- Parameters:
observation- TheOmObservationto 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 theOmObservation- Parameters:
observation- TheOmObservationto get the geometry from- Returns:
- The geometry
-
-