radiantearth / stac-spec

SpatioTemporal Asset Catalog specification - making geospatial assets openly searchable and crawlable
https://stacspec.org
Apache License 2.0
772 stars 177 forks source link

Collection bbox schema #1243

Closed drwelby closed 10 months ago

drwelby commented 1 year ago

The definition of the bbox spatial extents has non-obvious construction:

The first bounding box always describes the overall spatial extent of the data. All subsequent bounding boxes can be used to provide a more precise description of the extent and identify clusters of data.

i.e. [[extent]] or [[extent], [child], [child]...]

Should the schema try to catch people interpreting the spec as a simple list of bboxes by enforcing either a length of 1 or 3?

Or is that too restrictive and the catch should be passed down to validators like stac-check?

emmanuelmathot commented 1 year ago

We could add reference to the same spec as geojson RFC for items.

m-mohr commented 11 months ago

Yeah, that makes sense. Two bboxes don't make sense.

So either one or 3 or more.

m-mohr commented 11 months ago

See PR #1260