Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

bbox coordinates in wrong order #30

Open
matthewhanson opened this issue Oct 10, 2019 · 1 comment
Open

bbox coordinates in wrong order #30

matthewhanson opened this issue Oct 10, 2019 · 1 comment

Comments

@matthewhanson
Copy link
Member

The GeoJSON spec calls for the bounding box to be [minlon, minlat, [minz], maxlon, maxlat, [maxz], which is [west, south, east, north] rather than [west, north, east, south].

Related, WHOLE_WORLD_BBOX should be [-180, -90, 180, 90]

@matthewhanson
Copy link
Member Author

I should add the code I'm referring to is here:
https://github.com/Element84/cmr-stac-api-proxy/blob/master/search/lib/convert/bounding-box.js

But I do notice that bbox is not part of the returned Item, it should be added.
https://cmr-stac-api.dev.element84.com/stac/catalog/items/G1018763843-LPDAAC_ECS

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

No branches or pull requests

1 participant