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

ReprojectRasterExtent: support single pixel input #3561

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jdries
Copy link
Contributor

@jdries jdries commented Jan 23, 2025

#3559

Overview

When a single pixel RasterExtent was reprojected, it often resulted in a GeoAttrsError.
The main cause is warping of square pixels into rectangular.

In the case where we anyway compute a custom cellsize, it seems valid to return a single pixel extent in X or Y direction rather than trying to construct a 0 pixel gridextens, which fails.

Checklist

  • ./CHANGELOG.md updated, if necessary. Link to the issue if closed, otherwise the PR.
  • Module Hierarchy updated, if necessary
  • docs guides update, if necessary
  • New user API has useful Scaladoc strings
  • Unit tests added for bug-fix or new feature

Closes #3559

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.

RDD reproject: GeoAttrsError
1 participant