Hi!

I am trying to make a GeoTiff a little bit smaller with gdal_translate.

Gdalinfo shows that the TIF has the following size:
Upper Left  ( 1102062.959, 6818226.972) (  9d54'0.00"E, 52d 6'0.00"N)
Lower Right ( 1692080.162, 6257943.762) ( 15d12'0.77"E, 48d54'0.71"N)

I call
gdal_translate -projwin 9.91 52.09 15.19 48.91 in.tif out.tif

The coordinates should be within the bounds of the TIF, but I get the error
Input file size is 7719, 7330
Computed -srcwin -14417 89199 0 0 from projected window.
Computed -srcwin falls outside raster size of 7719x7330.

What am I doing wrong?
Is there another/better way to do this?

thanks
              Nop


-- 
View this message in context: 
http://n2.nabble.com/Problem-with-gdal-translate-tp4287843p4287843.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to