[gdal-dev] Re: Does gdalwarp support a horizontal flipping for a raster image?

Jukka Rahkonen jukka.rahkonen at mmmtike.fi
Wed Mar 17 07:49:27 EDT 2010


Andreas Joisten <mail <at> andreas-joisten.de> writes:

 
> Hi all,
> Does gdalwarp support a horizontal flipping for a raster image?

I doubt it really supports flipping but you can fool it by falsifying the
worldfile.  Original tfw:
9.59221863494081
0.0
0.0
-9.59221863494081
3410565.2630452723
6886078.998445481

North coordinate made to grow downwards

9.59221863494081
0.0
0.0
9.59221863494081
3410565.2630452723
6886078.998445481

gdalwarp fliptest.tif fliptest2.tif

Fliptest2.tif is upside down.

-Jukka Rahkonen-



More information about the gdal-dev mailing list