Whenever I add a resampling parameter (-r
) to my gdal_translate
commands, it seems to have no effect. For example the following two commands produce a binary exact result.
How can I get my image to have bilinear resampling? I am trying to smooth out my SRTM 4.1 (DEM) data.
GDAL 3.0.4
gdal_translate -of GTiff -r nearest D:/srtm_41_03.tif D:/bulgaria-nearest.tif
gdal_translate -of GTiff -r bilinear D:/srtm_41_03.tif D:/bulgaria-bilinear.tif
Source tile available here (srtm_41_03).
-outsize 50% 50%
.