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

problem with nodata semantics #306

Open
AmitAronovitch opened this issue Sep 15, 2021 · 0 comments
Open

problem with nodata semantics #306

AmitAronovitch opened this issue Sep 15, 2021 · 0 comments

Comments

@AmitAronovitch
Copy link
Contributor

Generated an skeleton issue so I can link to it from a TODO comment in the current workaround implemented in our code.
Will add details next week.

In short:

(a) Semantics of the "nodata" parameter in the constructor of GeoRaster2 are confusing, and the resulting tiff behaves differently for unit8 rasters than for uint16 rasters (the 16bit case the result is a nodata-based raster, while in 8bit it is mask-based).

(b) I believe we should have a way to generate a true nodata-based 8 bit raster, even if it is not the default, so we can have consistent behavior independent of dtype

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