Skip to content

Commit

Permalink
This fix #322
Browse files Browse the repository at this point in the history
- Add OM_SpatialObservation samplingGeometry as om:parameter to observation if available
  • Loading branch information
CarstenHollmann committed Sep 17, 2015
1 parent d4ffb13 commit 5244b30
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5244b30

Please sign in to comment.