[gdal-dev] AutoCreateWarpedVRT changes Int16 raster to Int32

Even Rouault even.rouault at spatialys.com
Sat Aug 31 15:58:37 PDT 2024


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 at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev

-- 
http://www.spatialys.com
My software is free, but my time generally not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20240901/17d45afc/attachment.htm>


More information about the gdal-dev mailing list