HOW TO

Define the projection for CAD data for use in ArcMap

Last Published: September 14, 2021

Summary

Computer Aided Design (CAD) files can be added to ArcGIS and made to overlay other data in ArcMap by defining the projection (coordinate system).

The instructions provided in this article describe how to define a projection for CAD data in ArcMap and apply it to DWG or DXF files created in AutoCAD and to DGN files created in Microstation.

Procedure

CAD data can be created in a real-world coordinate system, such as State Plane or UTM. This is the spatial reference of the CAD data, and information about the spatial reference should be obtained from the data source. If the CAD data was created in a real-world coordinate system and the data source provides the necessary parameters, refer to Step 1.

Note:
To identify the coordinate system used to create the CAD file, if the data source does not have the projection information available, refer to How To: Identify an unknown projected coordinate system using ArcMap 10.1 and later versions to identify the projection for the CAD file.
Note:
To determine whether the coordinate system is geographic, projected, or local, refer to How To: Identify the spatial reference, projection, or coordinate system of data.
​​​​​
  1. After obtaining the spatial reference (projection) parameters for the CAD data, define the projection for the CAD dataset using the Define Projection tool:
    1. In ArcMap, click the ArcToolbox icon ArcToolbox icon. on the top ribbon. The ArcToolbox pane opens.
    2. In the ArcToolbox pane, click Data Management Tools > Projections and Transformations > Define Projection. The Define Projection window opens.
    3. In the Define Projection window, for Input Dataset or Feature Class section, select the CAD dataset.
    4. For the Coordinate System section, click the browse icon. In the Spatial Reference window, select coordinate system for the CAD dataset, and click OK.
    5. In the Define Projection window, click OK.
The Define Projection window displaying the Input Dataset or Feature Class and Coordinate System parameters.
  1. Navigate to the directory where the CAD file is stored on the computer.
  2. Rename the projection file with an identical name as the CAD dataset, substituting the extension with .prj. For example, if the CAD file is named 'Parcels020305.dwg', the projection file is renamed to 'Parcels020305.prj'.
Warning:
•    The projection file must be saved in the same directory as the CAD file.
•    With the exception of the file extension, the projection file name must be identical to the CAD file.
•    The file name is case-sensitive.
  1. If the CAD data was created in a local coordinate system, a custom projection file can be created for the CAD data to align the CAD file with other data in ArcMap. Refer to How To: Create a custom projection file to align CAD Data in ArcMap 10.1 and above for more information.
  2. In ArcGIS Desktop version 9.3 onwards, if many CAD files in the same coordinate system are received from the data source, the projection for all the CAD files can be defined with a single projection file using the steps below.
    1. In Windows Explorer, navigate to the installation folder for ArcGIS Desktop, open CoordinateSystems\Projected Coordinate Systems\, and copy the projection file with the correct parameters for the CAD files.
    2. Navigate to the directory where the CAD files are stored on the computer, and paste the projection file into that directory.
    3. Rename the projection file as esri_CAD.prj.
Note:
The projection is defined for all the CAD files in that directory. This method also defines the projection for any CAD files saved with spaces in the name.
Note:
In version 10.x, open ArcMap, and click View > Data Frame Properties > Coordinate System tab. On the Coordinate System tab, browse to the projection definition that applies to the CAD file and right-click it, click Add To Favorites, and click OK. A physical copy of the projection file is written to the location of the user profile.

Article ID:000007831

Software:
  • ArcMap

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options