Specifying a coordinate system |
|
Release 9.3
Last modified December 3, 2008 |
![]() ![]() ![]() Print all topics in : "Using ArcMap" |
If all the data you want to display on your map is stored in the same coordinate system—for example, if you're using your organization's database—you can just add it to a map and not consider whether the layers will overlay properly; they will. If, however, you've collected data from a variety of sources, you'll need to know what coordinate system each dataset uses to ensure ArcMap can display them together.
For more information on coordinate systems, see Map projections and coordinate systems.
To display your data correctly, a data frame uses a coordinate system. This can be any coordinate system ArcGIS supports. The data frame's coordinate system need not be the same as the data you are using, although if ArcMap has to project your data on the fly, it does take longer to draw.
When ArcMap is started with a new, empty map, the coordinate system for the default data frame is not defined. When you add data with a defined coordinate system, ArcMap will automatically set the data frame's projection to be the same as that of the data. The first layer added to an empty data frame sets the coordinate system for the data frame, but you can change it if necessary. If the first layer does not have a coordinate system, ArcMap will set the coordinate system to Unknown.
As you add subsequent layers, they are automatically transformed to the data frame's coordinate system as long as there's enough information associated with the layer's data source to determine its current coordinate system. If there isn't enough information, ArcMap will be unable to align the data and display it correctly. In this case, you'll have to supply the necessary coordinate system information yourself.
When the data frame's coordinate system is unknown, you may set the map units (on the General tab of the Data Frame Properties dialog box), provided you know the units of the coordinate system in which the data is stored. Generally, if you have data that does not have a coordinate system defined and you know which coordinate system it is using, you should use the Define Projection tool in ArcToolbox to assign projection information to your data; this will make working with that data in ArcMap much easier.
If you want to use a specific coordinate system for your map, you can use the Data Frame Properties dialog box to set the coordinate system. Once you do this or if ArcMap has already automatically defined the coordinate system for a data frame, ArcMap will not override the coordinate system settings.
The map units are the units in which the spatial data in the data frame is drawn. The map units are determined by the coordinate system specified on the Coordinate System tab of the Data Frame Properties dialog box. The Map Units drop-down list is disabled once a coordinate system has been specified; map units cannot be changed once a coordinate system has been specified for the map.
The map units will be shown as unknown if no coordinate system has been specified for the data frame, or if the coordinate system is unknown because the data in your map doesn't have spatial reference information. When the map units are unknown, you should either specify a coordinate system for the data frame or—if the data frame contains no data—add your first layer to the data frame, which will set the coordinate system automatically if the data has spatial reference information. In some situations, you can set the map units manually. For example, you can specify what the map units will be in for any graphics you draw or features that you edit.
ArcMap expects coordinate system information to be stored with the data source. For a layer in a geodatabase, this information is part of the layer's metadata and is stored in the geodatabase. For shapefiles, it's stored on disk in a separate file named after the data source but with a .prj file extension, for example, streets.prj. Coverages and ESRI Grids store the coordinate information in a .prj.adf file located in the data source's folder. Other raster formats store the coordinate system information in the .aux file or the raster header (the beginning of the raster file). These are optional files; and you may still need to define the coordinate system for one of these data sources. You can define a coordinate system using ArcCatalog or geoprocessing tools.
Learn how to define a shapefile's coordinate system
Learn how to define a coverage's coordinate system
If no coordinate system information is associated with a data source, ArcMap will examine the coordinate values to see if they fall within the proper range: -180 to 180 for x-values and -90 to 90 for y-values. If they do, ArcMap assumes that these are geographic coordinates of latitude and longitude. If they don't, ArcMap simply treats the values as planar x,y coordinates. The map and display units are set to Unknown.
Tip |
|
Tip |
|
Tip |
|
Tips |
|
Tip |
|
Tips |
In addition, these coordinates normally are reported in display units, but you can override this by checking the box for Use these units instead of the data frame's display units and clicking a unit type. Note that this option does not affect the units used to report the dimensions of graphics that you draw with the tools on the Draw toolbar, which are always reported in display units. This option also does not affect the units used to report the dimensions of features you create or edit in an edit session using the Editor toolbar, which are reported in the map units of the data you are editing. |