Default nodata value


amaury.dehecq@...
 

Hi,

what is the default nodata used by GDAL, and hence rasterio, for any given dtype?
For example, rasterio.warp.reproject states:
dst_nodata (int or float, optional) – The nodata value used to initialize the destination; it will remain in all areas not covered by the reprojected source. Defaults to the nodata value of the destination image (if set), the value of src_nodata, or 0 (GDAL default).

But I couldn't find anywhere in rasterio's or GDAL's documentation what was the default value for any given dtype.

Thanks,

Amaury

Join main@rasterio.groups.io to automatically receive all group messages.