Bounding box queries
Bounding box queries are implemented via HTTP method and URI.
Use of the bounding box parameter is discouraged.
If a bounding box is not supplied, the full data set is returned. When querying a spatial index, use the bounding box to specify the boundaries of the query lookup on a given value. The specification should be in the form of a comma-separated list of the coordinates to use during the query.
These coordinates are specified as in the GeoJSON specification, so the first two numbers are the lower left coordinates, and the last two numbers are the upper right coordinates.
A bounding box can be expressed as with
GET http://[localhost]:8092/places/_design/[design-doc]/_spatial/points?bbox=-180,-90,0,0 Content-Type: application/json
HTTP request example:
GET http://127.0.0.1:8092/places/_design/main/_spatial/points?bbox=-180,-90,0,0 Content-Type: application/json