-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #564 from opengeospatial/cube-bbox-clarification
Clarify the definition of bbox for items and cube queries
- Loading branch information
Showing
3 changed files
with
34 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: bbox | ||
in: query | ||
description: |- | ||
Only features that have a geometry that intersects the bounding box are selected. | ||
The bounding box is provided as four numbers: | ||
* Lower left corner, coordinate axis 1 | ||
* Lower left corner, coordinate axis 2 | ||
* Upper right corner, coordinate axis 1 | ||
* Upper right corner, coordinate axis 2 | ||
For WGS 84 longitude/latitude the values are in most cases the sequence of | ||
minimum longitude, minimum latitude, maximum longitude and maximum latitude. | ||
However, in cases where the box spans the antimeridian the first value | ||
(west-most box edge) is larger than the third value (east-most box edge). | ||
If a feature has multiple spatial geometry properties, it is the decision of the | ||
server whether only a single spatial geometry property is used to determine | ||
the extent or all relevant geometries. | ||
required: true | ||
schema: | ||
oneOf: | ||
- items: | ||
type: number | ||
type: array | ||
minItems: 4 | ||
maxItems: 4 | ||
- items: | ||
type: number | ||
type: array | ||
minItems: 6 | ||
maxItems: 6 | ||
style: form | ||
explode: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters