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

Buffer for resample by only half a pixel #3302

Merged

Conversation

moradology
Copy link
Contributor

@moradology moradology commented Nov 10, 2020

Overview

LayoutTileSource resamples were sometimes going out of bounds. In those cases, Resample short circuits to NODATA

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 #3299

@moradology moradology force-pushed the fix/npz/layout-tile-resample-oob branch from 3200a91 to 72392b5 Compare November 10, 2020 17:08
Copy link
Member

@pomadchin pomadchin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one looks good to me, nice PR; thx @moradology! I still have a feeling that this still may hit us one day, but that is perfect for now.

I left a minor question about the test (checkExtent signature looks a bit suspicious).
And the ECA is still pending (requires a renewal), if you have troubles with signing it, feel free to reach me!

@moradology moradology force-pushed the fix/npz/layout-tile-resample-oob branch from 64a2fba to 47daab4 Compare November 11, 2020 16:33
Copy link
Member

@pomadchin pomadchin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Nathan!

@pomadchin pomadchin merged commit 17e1ba0 into locationtech:master Nov 11, 2020
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.

Row of No Data Pixels returned from Raster Source Read
2 participants