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

openeo-grass-driver: fix bbox axis order #115

Merged
merged 1 commit into from
Sep 22, 2021
Merged

openeo-grass-driver: fix bbox axis order #115

merged 1 commit into from
Sep 22, 2021

Conversation

metzm
Copy link
Collaborator

@metzm metzm commented Sep 21, 2021

The spatial extents of a raster data cube must be given with a bbox of the form [xmin, ymin, xmax, ymax], irrespective of the axis order of the used CRS. The default CRS is EPSG:4326 where by definition y is the first axis and x is the second axis, resulting in a bbox of [ymin, xmin, ymax, xmax]. This PR makes reported bboxes conform to openeo specification, irrespective of the CRS axis order specification.

This PR assumes that GDAL 3+ is used, but does not test for it.

@metzm metzm requested a review from mmacata September 21, 2021 19:27
@metzm metzm merged commit 551dd4f into master Sep 22, 2021
@metzm metzm deleted the bbox_axis_order branch September 22, 2021 09:21
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

Successfully merging this pull request may close these issues.

2 participants