I'm trying to mosaic some georeferenced images using gdalwarp. But if I change the resampling method the result is always the same, why? I need to build a mosaic where the value of each pixel is the average of all overlapped pixels at that point.
For example, my images have a resolution of 0.05m and I want a mosaic with 1m resolution so I try:
gdalwarp -tr 1 1 *.tif merged.tif
gdalwarp -r average *.tif merged_average.tif
but the results are always the same 1m resolution raster. I also tried with min and max resampling methods, but even in this case the results are the same. How can this be possible? Maybe I did something wrong in the code?