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

Replace "nodata" value with NaN as sampled value in GeoRaster #262

Closed
jpswinski opened this issue Jun 1, 2023 · 2 comments
Closed

Replace "nodata" value with NaN as sampled value in GeoRaster #262

jpswinski opened this issue Jun 1, 2023 · 2 comments
Assignees

Comments

@jpswinski
Copy link
Member

When sampling a raster and returning the sampled result, if the value is the "nodata" value, then instead of returning it, return NaN instead. This is because the user doesn't have access to the original TIFF file and cannot unambiguously know if a value is the "nodata" value or not.

@elidwa
Copy link
Contributor

elidwa commented Jun 2, 2023

Fixed on branch xyz
03b2d20

@jpswinski
Copy link
Member Author

Released in v3.5.0

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

2 participants