private void collectAndUpdateOMObservationFromSOSCore(ObservationsSearchResponse observationsSearchResponse, ArrayList<ObservationType> xb_observationList) throws OwsExceptionReport { Map<String,String> inDocumentReferenceToFeatureId = new HashMap<String, String>(); for (ObservationData xb_obsData : observationsSearchResponse.getObservationDataArrayXB()) { SosHelper.checkFreeMemory(); OMObservationType xb_observation = xb_obsData.getOMObservation(); ObservationType xb_restObservation = createRestObservationFromOMObservation(ObservationType.Factory.newInstance(), xb_observation, inDocumentReferenceToFeatureId); xb_observationList.add(xb_restObservation); } }
protected OmObservation createObservation(DataEntity<?> hObservation) throws OwsExceptionReport, ConverterException { long start = System.currentTimeMillis(); LOGGER.trace("Creating Observation..."); SosHelper.checkFreeMemory(); String procedureId = createProcedure(hObservation); String featureId = createFeatureOfInterest(hObservation);
protected OmObservation createObservation(DataEntity<?> hObservation) throws OwsExceptionReport, ConverterException { long start = System.currentTimeMillis(); LOGGER.trace("Creating Observation..."); SosHelper.checkFreeMemory(); String procedureId = createProcedure(hObservation); String featureId = createFeatureOfInterest(hObservation);