diff --git a/hibernate/common/src/main/java/org/n52/sos/ds/hibernate/entities/values/AbstractValue.java b/hibernate/common/src/main/java/org/n52/sos/ds/hibernate/entities/values/AbstractValue.java index 59a96f4490..a38a65b1a1 100644 --- a/hibernate/common/src/main/java/org/n52/sos/ds/hibernate/entities/values/AbstractValue.java +++ b/hibernate/common/src/main/java/org/n52/sos/ds/hibernate/entities/values/AbstractValue.java @@ -150,6 +150,9 @@ public OmObservation addValuesToObservation(OmObservation observation, String re } observation.setResultTime(createResutlTime(getResultTime())); observation.setValidTime(createValidTime(getValidTimeStart(), getValidTimeEnd())); + if (hasSamplingGeometry()) { + observation.addParameter(createSpatialFilteringProfileParameter(getSamplingGeometry())); + } addValueSpecificDataToObservation(observation, responseFormat); addObservationValueToObservation(observation, value, responseFormat); return observation;