public class ObsFilter extends DataFilter implements IObsFilter
Default implementation of IObsFilter
returning null on all filter
predicates. It is meant be used as a base to implement your own filter and
unlike IObsFilter
doesn't require implementing all methods.
Constructor and Description |
---|
ObsFilter(java.lang.String recordType) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<java.lang.String> |
getFoiIDs()
Gets filter criteria for selecting observations associated to certain features
of interest.
Only observations associated to one of the listed FoI IDs will be selected. If the list is null or empty, no filtering on FoI ID will be applied. |
double[] |
getResultTimeRange()
Gets filter criteria for selecting observations based on result time.
Only observations whose result time (e.g. |
com.vividsolutions.jts.geom.Polygon |
getRoi()
Gets filter criteria for selecting observations based on their sampling geometry.
Only observations whose sampling geometry is included within the polygon will be selected. If the polygon is null, no filtering on location will be applied. The polygon must be expressed in the same coordinate reference system as the one used for storage. |
getProducerIDs, getRecordType, getTimeStampRange
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTimeStampRange
getProducerIDs, getRecordType
public double[] getResultTimeRange()
IObsFilter
getResultTimeRange
in interface IObsFilter
public java.util.Collection<java.lang.String> getFoiIDs()
IObsFilter
getFoiIDs
in interface IObsFilter
public com.vividsolutions.jts.geom.Polygon getRoi()
IObsFilter
getRoi
in interface IObsFilter