Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRS for bbox in collection extent #279

Closed
soxofaan opened this issue Apr 30, 2020 · 1 comment
Closed

CRS for bbox in collection extent #279

soxofaan opened this issue Apr 30, 2020 · 1 comment

Comments

@soxofaan
Copy link
Member

In the docs: https://openeo.org/documentation/1.0/developers/api/reference.html#operation/list-collections and https://openeo.org/documentation/1.0/developers/api/reference.html#operation/describe-collection
see extent of a collection > spatial > bbox :

Screenshot from 2020-04-30 16-21-54

there is no information visible about which CRS to use (or whether it is configurable)

In the YAML there is information about that:

openeo-api/openapi.yaml

Lines 4064 to 4118 in 1247172

bbox:
description: >-
One or more bounding boxes that describe the spatial extent
of the dataset.
If multiple areas are provided, the union of the bounding
boxes describes the spatial extent.
type: array
minItems: 1
items:
description: >-
Each bounding box is provided as four or six numbers,
depending on whether the coordinate reference system
includes a vertical axis (height or depth):
* West (lower left corner, coordinate axis 1)
* South (lower left corner, coordinate axis 2)
* Base (optional, minimum value, coordinate axis 3)
* East (upper right corner, coordinate axis 1)
* North (upper right corner, coordinate axis 2)
* Height (optional, maximum value, coordinate axis 3)
The coordinate reference system of the values is WGS 84
longitude/latitude (http://www.opengis.net/def/crs/OGC/1.3/CRS84).
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 the vertical axis is included, the third and the sixth
number are the bottom and the top of the 3-dimensional bounding box.
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.
type: array
minItems: 4
maxItems: 6
items:
type: number
example:
- -180
- -90
- 180
- 90

but for some reason that does not show up in the HTML

@m-mohr
Copy link
Member

m-mohr commented Apr 30, 2020

Unfortunately, that seems like an issue in Redoc (the tool rendering the OpenAPI file): Redocly/redoc#1179

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants