public class SeriesOmObservationCreator extends AbstractOmObservationCreator
OmObservation
s from seriesModifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOGGER |
protected Series |
series |
private static String |
SQL_QUERY_GET_UNIT_FOR_OBSERVABLE_PROPERTY_PROCEDURE_SERIES |
private static String |
SQL_QUERY_GET_UNIT_FOR_OBSERVABLE_PROPERTY_SERIES |
Constructor and Description |
---|
SeriesOmObservationCreator(Series series,
String version,
org.hibernate.Session session)
Constructor
|
Modifier and Type | Method and Description |
---|---|
List<OmObservation> |
create() |
private AbstractFeature |
getFeatureOfInterest()
Get featureOfInterest object from series
|
private OmObservableProperty |
getObservableProperty()
Get observableProperty object from series
|
private OmObservationConstellation |
getObservationConstellation(SosProcedureDescription procedure,
OmObservableProperty obsProp,
AbstractFeature feature)
Get
OmObservationConstellation from series information |
private SosProcedureDescription |
getProcedure()
Get procedure object from series
|
protected Series |
getSeries() |
private String |
queryUnit() |
createSpatialFilteringProfileParameter, getActiveProfile, getCache, getFeatureQueryHandler, getNoDataValue, getSession, getTokenSeparator, getTupleSeparator, getVersion
private static final org.slf4j.Logger LOGGER
private static final String SQL_QUERY_GET_UNIT_FOR_OBSERVABLE_PROPERTY_PROCEDURE_SERIES
private static final String SQL_QUERY_GET_UNIT_FOR_OBSERVABLE_PROPERTY_SERIES
protected final Series series
public List<OmObservation> create() throws OwsExceptionReport, ConverterException
create
in class AbstractOmObservationCreator
OwsExceptionReport
ConverterException
private AbstractFeature getFeatureOfInterest() throws OwsExceptionReport
OwsExceptionReport
- If an error occursprivate SosProcedureDescription getProcedure() throws ConverterException, OwsExceptionReport
ConverterException
- If an error occurs sensor description creationOwsExceptionReport
- If an error occursprivate OmObservableProperty getObservableProperty()
private OmObservationConstellation getObservationConstellation(SosProcedureDescription procedure, OmObservableProperty obsProp, AbstractFeature feature)
OmObservationConstellation
from series informationprocedure
- Procedure objectobsProp
- ObservableProperty objectfeature
- FeatureOfInterest objectprotected Series getSeries()
private String queryUnit()
Copyright © 2012-2014 52north.org. All Rights Reserved.