use of net.opengis.om.x10.GeometryObservationDocument in project arctic-sea by 52North.
the class OmEncoderv100 method createGeometryObservation.
private XmlObject createGeometryObservation(OmObservation sosObservation, EncodingContext additionalValues) throws EncodingException {
GeometryObservationDocument xbGeometryObservationDoc = GeometryObservationDocument.Factory.newInstance(getXmlOptions());
GeometryObservationType xbObs = xbGeometryObservationDoc.addNewGeometryObservation();
addValuesToObservation(xbObs, sosObservation, additionalValues);
addSingleObservationToResult(xbObs.addNewResult(), sosObservation);
return xbGeometryObservationDoc;
}
Aggregations