Spatial data services, such as an OGC WFS service, typically support object filtering by bounding box.
When you are creating a Store for a protocol that supports bounding box queries, you can implement the
spatialQuery method of the
This method takes two parameters:
The bounding box for which to return features.
The query object, which is the same as the argument of the
querymethod of the
Such a strategy limits the request for data to just the features within the current view bounds. This is a useful strategy to improve performance, because it downloads data in small batches each time the view extent changes.