Skip to content

ReprojectRasterExtent: support single pixel input - #3561

Closed
jdries wants to merge 1 commit into
locationtech:masterfrom
VitoTAP:reprojectrasterextent
Closed

jdries wants to merge 1 commit into
locationtech:masterfrom
VitoTAP:reprojectrasterextent

Conversation

@jdries

@jdries jdries commented Jan 23, 2025 •

Copy link
Copy Markdown
Contributor

#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

@pomadchin

Copy link
Copy Markdown
Member

Hmmm I wonder if there's smth off with the PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RDD reproject: GeoAttrsError

2 participants