public class BoundingBoxEnrichment extends SensorMLEnrichment
Modifier and Type | Field and Description |
---|---|
static com.google.common.base.Predicate<SmlCapabilities> |
BBOX_PREDICATE |
Constructor and Description |
---|
BoundingBoxEnrichment() |
Modifier and Type | Method and Description |
---|---|
private com.google.common.base.Optional<SmlCapabilities> |
createCapabilities(com.google.common.base.Optional<SmlCapabilities> existing) |
private com.google.common.base.Optional<SmlCapabilities> |
createCapabilities(SosEnvelope bbox) |
protected SosEnvelope |
createEnvelopeForOfferings()
Merge offering sosEnvelopes.
|
void |
enrich(AbstractSensorML description) |
private SosEnvelope |
getEnvelope(SosOffering offering)
Get the sosEnvelope for the given offering.
|
boolean |
isApplicable() |
enrich, longNamePredicate, shortNamePredicate, uniqueIdPredicate
getCache, getDescription, getIdentifier, getLocale, getSession, getSosOfferings, getVersion, isSetLocale, predicate, procedureSettings, setDescription, setIdentifier, setLocale, setSession, setVersion
public static final com.google.common.base.Predicate<SmlCapabilities> BBOX_PREDICATE
public void enrich(AbstractSensorML description) throws OwsExceptionReport
enrich
in class SensorMLEnrichment
OwsExceptionReport
private com.google.common.base.Optional<SmlCapabilities> createCapabilities(com.google.common.base.Optional<SmlCapabilities> existing) throws OwsExceptionReport
OwsExceptionReport
protected SosEnvelope createEnvelopeForOfferings()
private SosEnvelope getEnvelope(SosOffering offering)
offering
- the offeringnull
)private com.google.common.base.Optional<SmlCapabilities> createCapabilities(SosEnvelope bbox)
public boolean isApplicable()
isApplicable
in class SensorMLEnrichment
Copyright © 2012-2015 52north.org. All Rights Reserved.