[gdal-dev] unclear pixel resolution in a world file

Andreas Joisten mail at andreas-joisten.de
Wed Mar 24 06:33:24 EDT 2010


Hi all,

the pixel resolution within a world file must be set up. The world file is defined below:


Line 1: pixel resolution in the x-direction  * cos (rotation)
Line 2: - pixel resolution * sin (rotation)
Line 3: - pixel resolution * sin (rotation)
Line 4: - pixel resolution size in the y-direction  * cos (rotation)
Line 5: x-coordinate of the center of the upper left pixel
Line 6: y-coordinate of the center of the upper left pixel



I do not know the pixel resolution in line 2 and 3. Is it the pixel resolution in the x-direction or in the y-direction?


Many thanks







More information about the gdal-dev mailing list