[gdal-dev] Resampling a raster with gdalwarp

Even Rouault even.rouault at spatialys.com
Sun Nov 19 02:49:32 PST 2023


Le 19/11/2023 à 03:08, Giovanni Anconitano a écrit :
> Thank you very much.
>
> Just to be sure, gdalwarp takes the absolute value of the second tr 
> value independently from the units of the pixel size.
> It can be either meters or degrees depending on the coordinate 
> reference system. Is that correct?

yes: 
https://github.com/OSGeo/gdal/blob/208d0cdb35cc4f790f516eb7a3a88a1d9149a2ed/apps/gdalwarp_lib.cpp#L5411


-- 
http://www.spatialys.com
My software is free, but my time generally not.



More information about the gdal-dev mailing list