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

support sampling outside bounds of raster #6

Open
DanielJDufour opened this issue Feb 14, 2024 · 0 comments
Open

support sampling outside bounds of raster #6

DanielJDufour opened this issue Feb 14, 2024 · 0 comments

Comments

@DanielJDufour
Copy link
Member

DanielJDufour commented Feb 14, 2024

If you sample outside the bounds of the raster (AND no NoDataValue is set for the sources), I believe it returns 0 values, which is obviously confusing. At the very least we should return NaN, undefined, or null.

This makes is difficult for clients to know to properly render the out of bounds values as transparent.

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

No branches or pull requests

1 participant