L2 ProjectionsArcPro
L2 ProjectionsArcPro
L2 ProjectionsArcPro
Note that in the instructions below we often use the terms “map projection,” “projection,”
and “coordinate system” interchangeably. A map projection is associated with a specific
coordinate system, and to project data is to convert from one coordinate system to
another.
Data: For this exercise the data is on the Lab2 shared lab drive, S:\FNRM3131 or
FNRM5131 or the class website; remember copy the lab data folder for each lab to your
W:\ for safekeeping and finally copy the entire lab folder to the Citrix Desktop for use in
ArcGIS Pro. See last week’s instructions or the Quickstart Guide on the lab page if you
don’t remember how to access them.
Activate the Alber’s Layer (right click map tab along the top edge of the map view)
Add the layers twocity_Albers.shp, and USA_48_Albers.shp from the Lab2 folder.
1
Lab 2: Projections
Left click on the Measure Tool to enable it, and set the Distance Units to Miles, and
Mode to Planar.
Left-click once on Los Angeles, then move the mouse to New York and double left-click
on New York.
The on the “ground distance” between LA and NY is actually 2,444 miles. The
difference in measurements between the “Albers” and “Mercator” is due to unavoidable
distortion caused when we stretch measurements from the curved Earth surface to a flat
map surface. Notice that the distortion is different for different projections.
Change the Mode in the measure tool to “Geodesic” and repeat the two distance
measurements.
You should get approximately the same number. Under the Geodesic option, the
calculations approximate as close as possible the true distance measurement on the
surface of the earth. The Loxodromic and Great Elliptical options are only slightly
different than the Geodesic differences but are approximately equal to the Geodesic
distance in this application. The big difference is with the planar method, which
assumes both projections are good approximations of a Cartesian surface. You can
see, with the almost 700-mile error, that a Cartesian measurement assumption can be
substantially wrong.
A Map usually has a specified coordinate system. You can manually set the system, or
ArcGIS Pro can establish one automatically when you first load data. Once a coordinate
system for a Map has been specified, ArcGIS Pro will display the approximate
coordinates of the current cursor location along the bottom of the Map frame (see the
arrow below).
Create a new Map, and add the minn_count_dd data. This is a data layer of Minnesota
2
Lab 2: Projections
county boundaries in decimal degrees coordinates.
There is a “Name” item, containing the name of each county. We’ll use this to label the
counties (See the Video: Labels).
3
Lab 2: Projections
We’ll use this column to label each polygon with the county name.
Left click on the tab toward the right center of the main window, under “Feature Layer,”
“Labeling.”
This will display the labeling ribbon, as shown above. We select and style labels using
these tools.
Select “Name” in the field window at the lower left (see figure above), and then click on
the label icon at the extreme left to turn labeling on. You should see the labels appear
on your Map. Depending on the settings, they may not show up at first, and you may
have to zoom in on the Map for them to display. You can set threshold scales
above/below which labels appear, and also rules that omit overlapping labels.
You can use the tools to change the font properties, label angles, and other
characteristics.
Close the table (click on the x at the right edge of the tab), and then zoom to display the
northeast corner of Ramsey County, in the east-central portion of Minnesota (see figure
at right)
4
Lab 2: Projections
Your Map may be displaying some other coordinate units, depending on if you
displayed another layer previously, or your system default preferences are different from
those we used.
5
Lab 2: Projections
You’ll know you’re zoomed in enough when the coordinate values don’t change or only
change in the third decimal place when you move slightly off of the displayed corner.
Record (write down) the coordinates (using meters UTM) of the northeast corner of
Ramsey County. Keep this written information, as you will have more coordinates to
look up later in this exercise.
Every data layer has a coordinate system associated with it. A Map may have a
different coordinate system. ArcGIS Pro will temporarily convert the layer coordinates to
the Map system (if it can), so that data will be displayed in the proper relative locations.
This way we can display data from several different sources, each in different
coordinate systems, together at the same time. The layer data are not changed in
storage, they are only temporarily projected “on the fly” to align correctly. Sometimes
this doesn’t work, for example, when the information on the coordinate system for a
layer is missing or corrupted, but usually everything works as planned.
6
Lab 2: Projections
You may view and set the coordinate system for a Map, to which every layer is
temporarily projected by right clicking on the Map, and then selecting Properties from
the dropdown (as you did earlier), but this time
left clicking on Coordinate System in the displayed window:
This shows the Map is set to the WGS84 GCS, or Geographic Coordinate System. All
data will be projected to this system when displayed.
7
Lab 2: Projections
We can change this (Video: Set the Map Window Projection). For example, in the
Map Properties/Coordinate Systems window select :
• Projected
coordinate system
• Continental
• North America
• NAD83(2011)
Contiguous USA
Albers
To a less flattened:
Switch the Map coordinate system back to the WGS84 (with the Map
selected, right click for Properties, then left click Coordinate systems,
Geographic coordinate system, World, WGS84)
We can view the coordinate system for a data layer (not a Map) by
• then Source
8
Lab 2: Projections
the coordinate system.
Left click on the Spatial Reference option, and view the spatial reference information, in
a window similar to the figure below. This shows the characteristics of the layer’s
coordinate system. This is a geographic coordinate system (latitudes/longitudes), and
the data show the particular properties
Add the USA_48_Mercator to the same Map. Position the layers so the Minnesota
county data are on top (click and drag up/down layers).
Open the Properties – Source tab for this data layer, and it should display something
like the window on the next page.
Note it displays more information than the GCS WGS84 for the minn_count_dd layer,
above. The Mercator layer has both a projection, here a World Mercator, and an
underlying GCS. As noted in the readings, projected coordinate systems have both
parts, and underlying GCS and then a projection, while geographic systems have only a
GCS, but are not projected.
9
Lab 2: Projections
10
Lab 2: Projections
Zoom to the full extent of the USA_48_Mercator, you should have something like the
image below:
Note that although the different data sets are in different projections, they line up on top
of each other. Why?
The layers line up because ArcGIS Pro is doing an “on the fly” projection, as described
earlier.
11
Lab 2: Projections
to this new coordinate system.
This can be quite confusing at first, but you need make sure you understand this
concept of a Map coordinate system, with temporary reprojection, and a data
layer coordinate system– the coordinate system the data are stored in. If you
understand this difference, you will likely save yourself much confusion and
grief.
Why is this important? Some operations won’t work correctly if data layers are in
different coordinate systems, for example some editing, overlays, or distance
measurements. You may think they are in the same system if you display them
together, but your geo-calculations may be wrong. Sometimes you will be confused in
interpreting data, or mis-identify the coordinates because data are re-projected
temporarily for display. If you have any questions about the coordinate system of a
layer, look at the layer properties, as shown above.
Click on the
• Projected Coordinate
Systems, then
• Continental, then
• North America, then the
• NAD83 Contiguous USA
Albers, then
• O.K.
12
Lab 2: Projections
You should also be careful when performing area calculations with mixed data sets,
because it is easy to become confused about the units of the outputs.
13
Lab 2: Projections
Creating an Inset Map
We can use this temporary projection to create an inset map in a different coordinate
system. You created an inset map last week, but both the main and thumbnail maps
had the same coordinate system. This time we’ll different coordinate systems for the
inset and main map.
Note that if the first layer we load has a different coordinate system than the default,
ArcGIS Pro will change the coordinate system for the layer to the Map, but only for the
first layer. To reiterate, loading a data layer into a new Map sets the Map coordinate
system to that of the layer; all subsequent layers will be projected, if possible, on-the-fly
to this original system while being displayed.
14
Lab 2: Projections
coordinate systems after this first one will not change the Map coordinate system
automatically.
Again, verify that the Map has the WGS Mercator coordinate system
Open the Map properties, and set the Coordinate System for the Map to:
Projected Coordinate Systems → World → The World from Space
Zoom to the data layer full extent so that all of the data are visible in your Minnesota
Counties Map, then switch to the Space View Map, and also zoom to full extent.
Create a layout view (see last week’s lab). Notice there are boxes for each frame. They
may overlap, so you may have to click one and hold to drag aside. Move and resize the
boxes, perhaps also going back to the data view and panning/zooming, so that the
Minnesota State box is larger, and the US/Minnesota combined data are about 1/6 th the
size, as in many inset maps (see figure below).
15
Lab 2: Projections
See an example below of the map you should produce. Although you need not exactly
match the colors and positions, make sure to include a proportioned main map and
inset, a descriptive title, your name, a north arrow, and scale bar.
A final point about on-the fly-projections. You may obtain data that has been projected
to a coordinate system, but for which the identity of the coordinate system has been
lost. This is most common with shapefiles, where the coordinate system information is
stored in a .prj file, e.g., minn_county.prj. If the file is lost, damaged, mis-specified, or
not copied with the rest of the shape files, then the ArcGIS Pro program can’t identify
the layer’s coordinate system. If you know the coordinate system for a file, you can add
the prj file back or fix it for a geodatabase through a tool we’ll describe in the next
section.
16
Lab 2: Projections
17
Lab 2: Projections
Projecting Data to a New File – The Project Tool
The above section describes on the fly projection, which changes coordinate values
temporarily so they may be viewed together. However, we often want to permanently
project a data set from one coordinate system to another, creating a new data set in a
different projected coordinate system.
We accomplish this in ArcGIS with the Project tool. Each time we apply the Project tool,
we identify the source data set, the output data set, and the output projection. Most
source data sets have a coordinate system associated with them. The Project tool reads
this coordinate system to determine the input. We then specify the output, including the
datum transformation, if needed, and save the new file to a target location.
There is another tool, the Define Projection tool, which is much more rarely used. The
Define Projection tool changes information within a layer about the name of the
projection. It doesn’t change any coordinates. You ONLY use the Define Projection tool
when you know the projection name for a layer is missing or incorrectly recorded.
The toolbox is shown at the right, but don’t look for it or try to use it now, we’ll describe
how in the next section of this lab.
The Define Projection tool is often confused with the Project tool, listed just below
Define Projection in the figure above). The Project tool is more commonly used, and
converts a layer from one coordinate system to another. It reads the information in a
layer about its coordinate system, and then re-projects the data to another known
coordinate system, and modifies the information in the layer. DON’T USE THE DEFINE
PROJECTION TOOL WHEN YOU SHOULD USE THE PROJECT TOOL. Sorry for the
all caps shouting, but this is a very common mistake in the remainder of this exercise,
and worse, in practice. You can easily ruin data and not know it by mis-applying the
Define Projection tool. It’s too bad ESRI named them as they did, as this often confuses
the new or occasional user, but such is life.
18
Lab 2: Projections
(Video: Project).
Save your previous work and close any open projects. Open a new one, insert three
new empty Maps; remove any default layers that might be loaded.
• Left click on the Analysis Tab along the top margin, then
• click on the Tools toolbox, the little red toolbox along the icon ribbon, then
• click on Toolboxes, the middle label in the right-side column (see arrows, below).
This should display a list of available tools along the right side of your window, as
shown.
19
Lab 2: Projections
To project data, click on
Data Management
Tools
then
Projections and
Transformations
then
Project
20
Lab 2: Projections
Detailed instructions for specific projection examples are provided a bit further on in this
document, but the general process is to start the Project tool, and then:
• Select a data layer containing the features you want to convert to a new
coordinate system
• Specify an output location and name for a new data layer
• Specify the output projection, and if need be, a datum transformation (Arc calls it
a Geographic Transformation, the same thing as the datum transformation
described in the textbook
• Apply the projection
Remember, ArcGIS shapefiles store information about the projection in a .prj file. For
example, a layer named minn_county_dd may have projection information stored in the
file minn_county_dd.prj. Without a .prj, ArcGIS Pro is ignorant of the projection system,
so you may have to specify the input as well as output projections in the general steps
above.
We assume you have three empty Maps in the same project, one named Albers, one
UTM, and one named Mercator. If not, create them now. Make the Albers Map active.
21
Lab 2: Projections
then Continental
then
22
Lab 2: Projections
OK at the bottom of the window.
Inspect the
coordinate system
for the
MN_Count_Alb
data layer you
just created,
remember, by
first right clicking
on the name in the
TOC, then
• Properties,
• Source,
• Spatial
Reference
23
Lab 2: Projections
This should display the spatial reference information for the layer, showing NAD 1983
Contiguous USA Albers as the projected coordinate system:
24
Lab 2: Projections
Project to a UTM Coordinate System
Activate Map you name UTM,
Click on OK to apply the projection, which should load the data to your Map named
UTM Zone 15N.
Again, verify that you have the correct output by inspecting the information on the layer.
Again, verify the projection on the output data layer after it displays in your Mercator
map.
25
Lab 2: Projections
Now you should have three different Maps, with three different versions of the
Minnesota counties – an Albers, a UTM, and a Mercator.
Notice the shapes are different, not so much between the Albers and UTM, but
noticeably so for the Mercator relative to the other two.
Set the mode to distance units to kilometers, and the Mode to Planar
26
Lab 2: Projections
Create a map with all three Minnesota projections
We wish to create a map with all three projections:
For a fair comparison, we’ll need to set a fixed scale for each of the Maps.
(Video: SetLayoutScale)
First, Select the Insert tab, then select New Layout, then select the ANSI-Landscape
Letter mode
Drag each of the Map boxes from the Catalog column (you may have to first select the
Catalog tab at the lower part of the right column), and arrange them to be side by side
and about the same size. You may want to change the colors of the layers in each data
view for easy identification, you do this by activating the respective maps, and changing
the layer color in the TOC.
First click on the layout if it isn’t activated, then a Map, then Display Options, and type in
the desired scale (see figure below).
27
Lab 2: Projections
Third, click on
The Display
Options Icon to
activate it
First click on
the Layout tab
to activate it
Second click on
a displayed map
to select it, a
margin should
appear around it
Set the scale for each Make each the same scale, something near 1:10,000,000 or so.
Note you should not type in the 1: or the commas into the window, we show them here
for clarity.
Make sure you choose the same fixed scale for each Map.
Note the default is a border around each Map in the layout view, and the map looks
better if you remove them, as shown before (click on Map in Layout, then on the Format
Map Frame tab, click on the paintbrush icon and modify the border).
Add a name, North Arrow, title, and scalebar, and individual titles for each Map (see
example). Note that you don’t need to add a legend but if you want a legend add one
from either of the three layers, make the description generic, such as “Minnesota
Counties” and make the three maps “hollow”, that is without colors.
28
Lab 2: Projections
Below is a sample of the notes you will take during this lab, writing down distances and
coordinates that you will record on the Canvas Lab 2 Worksheet Data Entry “quiz”
Albers:
Custom Mercator:
UTM Zone 15
(Meters)
Custom Mercator
(Meters)
29