[gdal-dev] World File Extensions

Andrey Kiselev dron at a...
Mon Sep 2 06:54:09 EDT 2002


> I have searched the sources for these information, which source file
> contains the information?

Source files for individual datasets contains all needed information.
Look into /frmts/<drivername>/<drivername>dataset.cpp files and search
them for words `WORLDFILE' and `wld'.
Functions GDALReadWorldFile() and GDALWriteWorldFile() implemented in
the /core/gdal_misc.cpp.

> Finally, what is the format for the general world file? (I have seen 6 lines
> of numerical values in the *.tfw, but could not understand them).

It is coefficients of the affine transform.

<pixel width>
<row rotation>
<column rotation>
<pixel height>
<X coordinate of the top left pixel center>
<Y coordinate of the top left pixel center>

-- 
Andrey V. Kiselev
Scientific Research Center for Ecological Safety Russian Academy of Sciences
Office phone: +7 812 2307834 ICQ UIN 26871517
Registered Linux user number 169907

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 35 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/gdal-dev/attachments/20020902/4993df08/attachment.bin


More information about the Gdal-dev mailing list