World files |
|
Release 9.2
Last modified August 15, 2007 |
Print all topics in : "Georeferencing CAD data" |
World files are used to define a two-point (similarity) transformation for CAD datasets in ArcGIS. They contain the source (from) and destination (to) coordinate values of a transformation and can be managed in ArcMap. World files are not required to transform CAD datasets, since interactive transformation tools exist in ArcMap. However, world files can help streamline the transformation process. The following section provides detailed information about how you can work with world files in ArcGIS.
A world file is a text file (.wld) containing one or four pairs of x,y coordinates. The first pair of coordinates is the 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 want the CAD drawing control point to be in ArcMap. These coordinates comprise the first point of the two-point transformation. The remaining pairs of coordinates follow the same structure as the first and second pairs. They make up the second point of the two-point transformation.
The world file format is as follows:
x,y location in CAD drawing | space | {x,y location in geographic space} |
<From X1,From Y1> |
|
<To X1,To Y1> |
<From X2,From Y2> |
|
<To X2,To Y2> |
Once a transformation has been defined for a CAD layer, you can save the transformation to a world file. The from and to coordinate values that defined the CAD transformation will be saved to a world file when you click the Update Georeferencing command.
If a world file already exists for the target CAD dataset, you will be prompted to overwrite the file when attempting to save the world file.
Prior to executing the Update Georeferencing command, you can save your control point coordinates to a world file by clicking the Link Table Save button. This will open a Save As dialog box and allow you to browse to a folder and name the world file (although the world file will default to the CAD dataset's name).
You can load a world file into the current ArcMap session to define a CAD transformation. The coordinate values in the world file will be translated into control points. If control points already exist in the map, loading coordinate values from a world file will overwrite the existing ones.
Tip |
The universal world file is for defining a transformation for all CAD drawings in a workspace. esri_cad.wld will apply to all CAD drawings in that folder, which do not already have a world file designated. If one exists for a specific CAD drawing it will override the esri_cad.wld file. |