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

Give a warning on CLI if GDAL < 3.x is used #107

Open
5 tasks
nuest opened this issue Dec 15, 2020 · 1 comment
Open
5 tasks

Give a warning on CLI if GDAL < 3.x is used #107

nuest opened this issue Dec 15, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@nuest
Copy link
Member

nuest commented Dec 15, 2020

When geoextent is executed using GDAL 2.x, there should be a warning log because we cannot guarantee correct coordinate order for GDAL 2.

  • implement test case that only runs for GDAL 2.x; the test should check that there is a severe warning that coordinate order might be switched
  • add a test that only runs when GDAL 3 is used checks there is no warning
  • create GitHub action test environment with latest GDAL 2.x from ubuntugis unstable to run the test
  • add GDAL version to the output of geoextent --version
  • add a debug-level log statement when geoextent is starting that logs the GDAL version
@nuest nuest added the enhancement New feature or request label Dec 15, 2020
@SbastianGarzon
Copy link
Collaborator

This discussion is relevant : OSGeo/gdal#1546

@nuest nuest changed the title Give a warning if GDAL < 3.x is used Give a warning on CLI if GDAL < 3.x is used Dec 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants