We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Vector.rasterize()
UserWarning
When using out_value=np.nan (which is fairly common practice, to have only rasterized values as valid), rasterize raises:
out_value=np.nan
rasterize
UserWarning: Setting default nodata -99999 to mask non-finite values found in the array, as no nodata value was defined. warnings.warn(
We should either silence this warning by default, probably adding an argument to give the user the option to define the nodata of the new raster.
nodata
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When using
out_value=np.nan
(which is fairly common practice, to have only rasterized values as valid),rasterize
raises:We should either silence this warning by default, probably adding an argument to give the user the option to define the
nodata
of the new raster.The text was updated successfully, but these errors were encountered: