Skip to content

autotest: add tests for gdal_translate error cases #12130

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

Merged
merged 1 commit into from
Apr 11, 2025

Conversation

dbaston
Copy link
Member

@dbaston dbaston commented Apr 11, 2025

Adds some tests for gdal_translate error cases and fixes three issues uncovered:

  • warning for projwin_srs was emitted with CE_None (consider CE_Failure for gdal raster clip)
  • range check for -srcwin did not check height of window for overflow
  • no error message raised if output driver cannot be detected

@rouault rouault merged commit 4786d20 into OSGeo:master Apr 11, 2025
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants