I just realized that I have Geo-TIFF's in the same coordinate system but different spatial resolution. DOP20 (20cm=1px) and DOP10 (10cm=1px) mix. Now wanted to use gdalwarp to transform the DOP20 TIFF into DOP 10. The commandline should be simple
gdalwarp.exe -tr 20000 20000 -r bilinear in.tiff out.tiff
but gdalwarp complains:
Creating outputfile that is 0Px0L Error 1 Attempt to create 0x0 dataset...
I thought it is a simple graphics operation, "blowing" a 10000x10000 pixel TIFF into a 20000x20000 pixel TIFF.
Can anybody help me understand what's wrong here?