[gdal-dev] Rotate unreferenced tiff file by -90 degrees

Frank Warmerdam warmerdam at pobox.com
Thu Mar 17 11:19:33 EDT 2011


On 11-03-17 10:49 AM, Zoltan Szecsei wrote:
>> For "east up" I think the world file might look something like:
>>
>> 0.0
>> 0.5
>> 0.5
>> 0.0
>> top-left-x
>> top-left-y
>>
>> You might need to fiddle around with the orientation a bit to get it
>> right.
>>
>> Best regards,
>
> But presumable the pixel sizes (1st & 4th) would not be zero?

Zoltan,

For east-up or west-up I believe that the 1st and 4th elements in the
world file *should* be zero and the 2nd and 3rd will be the pixel size
though I may be mixed up about the signs.  More detail on the meaning
of the world file is available at:

   http://en.wikipedia.org/wiki/World_file

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the gdal-dev mailing list