World file

World file

A world file is a plain text computer data file used by geographic information systems to coordinate raster map images. The file specification was introduced by ESRI. [cite web |title=FAQ: What is the format of the world file used for georeferencing images? |publisher=ESRI |date=2007-03-21 |accessdate=2007-04-17 |url=http://support.esri.com/index.cfm?fa=knowledgebase.techarticles.articleShow&d=17489 ] [ESRI also has another "world file" format that applies to computer-aided design or CAD drawing files. That standard refers to the format of plain text computer files with names ending in .wld and is not discussed in this article.]

Small-scale rectangular raster image maps can have an associated world file for GIS map software which describes the location, scale and rotation of the map. These world files are six-line files with decimal numbers on each line. The name of the file is modeled after the associated raster file. The name of the world file is formed by appending the letter "w" to the end of the raster filename.

An alternative naming convention is also honored, and in fact is more widespread. This convention was developed for filenames that need to conform to the 8.3 file naming convention. The three letters of the filename extensionare altered thus: the second letter of the original filename extension is replaced with the last letter, and, the third letter is replaced with the letter "w." If the map files end in .jpg or .tif -- then the separate world file ends in .jgw or .tfw for example.

World files do not specify a coordinate system, so the generic meaning of world file parameters are:

*Line 1: "A", pixel size in the "x"-direction in map units/pixel
*Line 2: "D": rotation about "y"-axis
*Line 3: "B": rotation about "x"-axis
*Line 4: "E": pixel size in the "y"-direction in map units, almost always negative [The "E" parameter is often a negative number. This is because most image files store data from top to bottom, while the software utilizes traditional Cartesian coordinates with the origin in the conventional lower-left corner. If your raster appears upside-down, you may need to add a minus sign.]
*Line 5: "C": "x"-coordinate of the center of the upper left pixel
*Line 6: "F": "y"-coordinate of the center of the upper left pixel

In a world file using a Universal Transverse Mercator coordinate system (UTM) constantly use:
*"D" and "B" are always 0
*"C" is the Easting UTM coordinate
*"F" is the Northing UTM coordinate
*Units are always metres per pixel

The above description applies also to a rectangular, non-rotated image which might be, for example, overlaid on an orthogonally projected map. If the world file describes an image that is rotated from the axis of the target projection however, then A,D,B and E must be derived from the required affine transformation (see below). Specifically, A and E will no longer be the meter/pixel measurement on their respective axes.

These values are used in a six-parameter affine transformation:

:egin{bmatrix} xprime \\yprime end{bmatrix}= egin{bmatrix} A & B \\D & E end{bmatrix}egin{bmatrix} x \\y end{bmatrix} +egin{bmatrix} C \\F end{bmatrix}which can be written as this set of equations:

:egin{align}x' &= A,x + B,y + C \\y' &= D,x + E,y + Fend{align}where:

:"x"' is calculated UTM Easting coordinate of the pixel on the

The "y"-scale ("E") is negative because the origins of an image and the UTM coordinate system are different. The origin of an image is located in the upper-left corner, whereas the origin of the map coordinate system is located in the lower-left corner. Row values in the image increase from the origin downward, while "y"-coordinate values in the map increase from the origin upward. Many mapping programs are unable to handle "upside down" images (i.e. those with a positive "y"-scale)

Example:Original falknermap.jpgis 800×600 pixels (detail shown).Its world file is falknermap.jgw and contains:

32.0 0.0 0.0 -32.0 691200.0 4576000.0

Localization

When writing World Files, applications will find it advisable to ignore localization settings and always use '.' as the decimal separator. Also, negative numbers should be specified with the '-' character exclusively. This ensures maximum portability of the images.

ee also

*ESRI grid – embeds a similar georeferencing context within a single raster file

Notes and references


Wikimedia Foundation. 2010.

Игры ⚽ Поможем решить контрольную работу

Look at other dictionaries:

  • World file — est un format de fichiers texte dont le rôle est d associer des coordonnées à des images matricielles. Il est utilisé dans le domaine des systèmes d informations géographiques. Les spécifications de ce format ont été créées par ESRI. Le Système d …   Wikipédia en Français

  • World file — Ein World file ist eine kleine Textdatei, die Georeferenzdaten eines Bildes enthält. Der Dateityp wurde vom Unternehmen ESRI als Ergänzung für einfache Bildformate eingeführt. Die Dateinamenserweiterung leitet sich vom Namen und Dateityp der… …   Deutsch Wikipedia

  • World Vision International — Gründer Walter Stanley Mooneyham Typ Incorporated …   Deutsch Wikipedia

  • World of Warcraft: Cataclysm — Developer(s) Blizzard Entertainment Publisher(s) …   Wikipedia

  • World of Warcraft: Mists of Pandaria — Official Logo Developer(s) Blizzard Entertainment Publisher(s) …   Wikipedia

  • World Vision (Vereinigte Staaten) — World Vision inc. Gründer Robert Pierce Typ Corporation …   Deutsch Wikipedia

  • World War II casualties — World War II was humanity s deadliest war, causing tens of millions of deaths. The tables below provide a detailed country by country count of human losses.Total human lossesThe total estimated human loss of life caused by World War II was… …   Wikipedia

  • file — 1 vb filed, fil·ing vt 1 a: to submit (a legal document) to the proper office (as the office of a clerk of court) for keeping on file among the records esp. as a procedural step in a legal transaction or proceeding filed a tax return a financing… …   Law dictionary

  • File (Structure De Données) — Pour les articles homonymes, voir File.  Pour les articles homophones, voir Fil et Phil. En informatique, une file ( queue en anglais ) est une structure de données basée sur le principe PEPS (Premier entré, premier sorti), en an …   Wikipédia en Français

  • File (structure de donnees) — File (structure de données) Pour les articles homonymes, voir File.  Pour les articles homophones, voir Fil et Phil. En informatique, une file ( queue en anglais ) est une structure de données basée sur le principe PEPS (Premier entré,… …   Wikipédia en Français

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”