ArticleslgStudy

science

World file

World file is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand World file rather than just read about it. In short: A world file is a six line plain text sidecar file used by geographic information systems (GIS) to georeference raster map images. The file specification was introduced by Esri.

World file — main illustration
World file — illustration

Key takeaways

  • World file belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect World file to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of World file from memory before moving on to harder problems.

Reference excerpt

A world file is a six line plain text sidecar file used by geographic information systems (GIS) to georeference raster map images. The file specification was introduced by Esri.

Filename extension The base filename of a world file matches the raster's base filename, but has a different filename extension (suffix). There are three filename extension naming conventions used for world files, with variable support across software. One simple convention with widespread support is to append the letter "w" to the end of the raster filename. For example, a raster named mymap.jpg should have a world file named mymap.jpgw. An alternative file naming convention that uses a three-character extension to conform to the 8.3 file naming convention uses the first and last characters of the raster file's extension, followed by "w" at the end. For example, here are a few naming conventions for popular raster formats:

A third convention is to use a .wld file extension, irrespective of the type of raster file, as supported by GDAL and QGIS, but not Esri.

Content

The generic meaning of the six parameters in a world file (as defined by Esri) is:

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 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 This description is however misleading in that the D and B parameters are not angular rotations, and that the A and E parameters do not correspond to the pixel size if D or B are not zero. The A, D, B and E parameters are sometimes named "x-scale", "y-skew", "x-skew" and "y-scale". A better description of the A, D, B and E parameters is:

Line 1: A: x-component of the pixel width (x-scale) Line 2: D: y-component of the pixel width (y-skew) Line 3: B: x-component of the pixel height (x-skew) Line 4: E: y-component of the pixel height (y-scale), typically negative Line 5: C: x-coordinate of the center of the original image's upper left pixel transformed to the map Line 6: F: y-coordinate of the center of the original image's upper left pixel transformed to the map All four parameters are expressed in the map units, which are described by the spatial reference system for the raster. When D or B are non-zero the pixel width is given by:

A 2 + D 2 {\displaystyle {\sqrt {A^{2}+D^{2}}}}

and the pixel height by

B 2 + E 2 {\displaystyle {\sqrt {B^{2}+E^{2}}}}

World files describing a map on the Universal Transverse Mercator coordinate system (UTM) use these conventions:

D and B are usually 0, since the image pixels are usually made to align with the UTM grid C is the UTM easting F is the UTM northing Units are always meters 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:

[ x ′ y ′ ] = [ A B C D E F ] [ x y 1 ] {\displaystyle {\begin{bmatrix}x\prime \\y\prime \end{bmatrix}}={\begin{bmatrix}A&B&C\\D&E&F\end{bmatrix}}{\begin{bmatrix}x\\y\\1\end{bmatrix}}}

which can be written as this set of equations:

x ′ = A x + B y + C y ′ = D x + E y + F {\displaystyle {\begin{aligned}x'&=A\,x+B\,y+C\\y'&=D\,x+E\,y+F\end{aligned}}}

where:

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with World file

Start with the simplest possible case. Write down what World file claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to World file before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about World file ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of World file

In research
World file appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses World file in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
World file is common in secondary-school and first-year university syllabi. It links to neighbouring topics Cartography, GIS raster file formats, so understanding it makes those chapters shorter.
In everyday life
Look for World file outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study World file in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what World file means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain World file out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is World file in simple terms?

A world file is a six line plain text sidecar file used by geographic information systems (GIS) to georeference raster map images. The file specification was introduced by Esri.

Why does World file matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study World file?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on World file.

Tags

  • Cartography
  • GIS raster file formats

Keep exploring