What is the gdalinfo output on dem.tif ?
Is this a bug? It appears that the data type change might be
influenced by the nodata value.
Yes, there is some logic to take the "union" of the largest data types
involved in the warping (but it should probably ignore nodata values
that are outside of the validity range of the input data type. I didn't
check what it does currently)
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev
--
http://www.spatialys.com
My software is free, but my time generally not.
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev