This module defines filters and filter expressions for EO Coverages. For more information on filters, see eoxserver.core.filters.
This class contains information about a time interval. The constructor accepts two arguments: begin and end which must be set either to the string "unbounded" or a datetime.datetime object.
InternalError is raised if the arguments do not validate. InvalidExpressionError is raised if the begin time is later than the end time.
This class contains information about a slice subsetting. The constructor accepts three arguments:
InternalError is raised if arguments do not validate.
This class contains information about a bounded area. The constructor accepts a crs_id and four bounds arguments minx, miny, maxx, maxy. The crs_id parameter may be set to "imageCRS" or an integer EPSG SRID. The bounds parameters may be set to a float or int value designating the bound in the given coordinate system or to "unbounded".
InternalError is raised if the arguments do not validate. InvalidExpressionError is raised if the lower bounds of an axis are greater than the upper bounds.
Filter expressions (i.e. implementations of FilterExpressionInterface) define certain search constraints for resource factories. Filter expressions should be created using the get() or find() methods of CoverageExpressionFactory. They will be translated into the corresponding filters by the resource factory.
Filter expression implementation representing a time slice. Expects one operand: a datetime.datetime object representing the slice point in time.
Filter expression implementation representing a time interval. It expects one operand of type TimeInterval.
Filter expression implementation that matches if a time or time interval intersects with the time interval specified in the expression. Inherits from TimeIntervalExpression.
Filter expression implementation that matches if a time or time interval is contained in the time interval specified in the expression. Inherits from TimeIntervalExpression.
Filter expression implementation that represents a slice subsetting. It expects one operand of type Slice.
Filter expression implementation that represents a trim or BBOX subsetting. It expects one operand of type BoundedArea.
Filter expression implementation that matches if the footprint of an object intersects the given BoundedArea. Inherits from BoundedAreaExpression.
Filter expression implementation that matches if the footprint of an object is contained within the given BoundedArea. Inherits from BoundedAreaExpression.
Filters (i.e. implementations of FilterInterface) are used primarily to select EO Coverages matching certain criteria. In general developers will not use filters directly, but define filter expressions instead which will be applied to the EO Coverages when invoking the find() method of a resource factory.
Filter class for time slice operations.
Filter which matches Rectified Datasets whose acquisition time interval contains a given timestamp.
Filter which matches Referenceable Datasets whose acquisition time interval contains a given timestamp.
Filter which matches Rectified Stitched Mosaics whose acquisition time interval contains a given timestamp.
Filter class for ‘time_intersects’ operations.
Filter which matches Rectified Datasets whose acquisition time interval intersects a given time interval.
Filter which matches Referenceable Datasets whose acquisition time interval intersects a given time interval.
Filter which matches Rectified Stitched Mosaics whose acquisition time interval intersects a given time interval.
Filter class for ‘time_within’ operations.
Filter which matches Rectified Datasets whose acquisition time interval is contained within a given time interval.
Filter which matches Referenceable Datasets whose acquisition time interval is contained within a given time interval.
Filter which matches Rectified Stitched Mosaics whose acquisition time interval is contained within a given time interval.
Common base class for spatial filters.
Common base class for spatial slice filters.
Filter which matches Rectified Datasets whose footprint intersects a given spatial slice.
Filter which matches Referenceable Datasets whose footprint intersects a given spatial slice.
Filter which matches Rectified Stitched Mosaics whose footprint intersects a given spatial slice.
Common base class for footprint-related filters.
Base filter class matching EO Coverages whose footprint intersects a given area.
Filter which matches Rectified Datasets whose footprint intersects a given bounded area.
Filter which matches Referenceable Datasets whose footprint intersects a given bounded area.
Filter which matches Rectified Stitched Mosaics whose footprint intersects a given bounded area.
Filter matching EO Coverages whose footprint lies within a given area.
Filter which matches Rectified Datasets whose footprint is contained within a given bounded area.
Filter which matches Referenceable Datasets whose footprint is contained within a given bounded area.
Filter which matches Rectified Stiched Mosaics whose footprint is contained within given bounded area.
Filter which matches RectifiedDatasets contained in a given RectifiedStitchedMosaic or Dataset series.
Filter which matches ReferenceableDatasets contained in a given DatasetSeries.
This is the factory which gives access to the filter expressions defined in this module. It inherits from SimpleExpressionFactory.