About World files |
|
|
Release 9.1
Last modified December 7, 2006 |
Print all topics in : "Creating maps" |
A World file is a text file (.wld) containing one or two pairs of x,y coordinates. The first pair of x,y coordinates is the actual x,y location of any known control point in your drawing file. The second pair of x,y coordinates is a new location in geographic space where you would want the CAD drawing control point to be in ArcMap.
The World file format is as follows:
<x,y location in CAD drawing> <space> <x,y location in geographic space>
The World file must have the .wld extension and cannot have more than two lines in the above format. ArcMap automatically applies the World file when it finds a valid file name with the same prefix as the drawing file name in the same folder. For example, suppose you've stored sample.dwg and sample.wld files in the same folder. When you add layers from sample.dwg, ArcMap automatically uses the sample.wld file for coordinate transformations.
Consider the following pairs of coordinates in your World file:
25.0,60.0 25000.0,60000.0
When you apply the above World file, it will shift the CAD layer location (25.0,60.0) to a new location (25000.0,60000.0) in the view.
Learn how to apply a coordinate transformation to a CAD layer by World file
Suppose you have two known control points in your CAD layer and you know the new location for one of these two control points. You want to apply a transformation such that your CAD layer will: