Introduction to ArcMap
This tutorial will give an introduction to basic usage of ArcMap, a Windows-only desktop software program produced by ESRI for viewing, editing, creating, and analyzing geospatial data.
ESRI's ARC/INFO (ArcInfo) GIS program for microcomputers was initially released in 1982 (Wikipedia 2021). ArcMap was an evolution of that software that was initially released as part of the ArcGIS 8.0 release on 27 December 1999 (ESRI 2000). ArcGIS Pro, ESRI's successor to ArcMap, was released as version 1.0 on 27 January 2015. Both ArcMap and ArcGIS Pro are included in ESRI's ArcGIS Desktop suite, and ESRI plans to continue supporting ArcMap with patches until 2026 (ESRI 2021).
ArcGIS Pro has numerous advantages over ArcMap:
- ArcGIS Pro has a new code base that is much more stable and less subject to crashing than ArcMap.
- The ArcGIS Pro interface reflects contemporary user interface design with context-specific ribbons.
- ArcGIS Pro is project based vs. the single-map based architecture of ArcMap.
- ArcGIS Pro is fully integrated with cloud services, as opposed to the standalone desktop orientation of ArcMap.
Despite these advantages, ArcMap is still commonly used, especially in small organizations.
- Organizations often have existing workflows built around ArcMap, and moving to ArcGIS Pro would be disruptive.
- Organizations often have staff trained to use ArcMap, and moving to ArcGIS Pro would require an expenditure of cost and employee time for retraining.
- Organizations that are still oriented around single-user desktop machines might find ArcGIS Pro's cloud orientation and business model more difficult to use.
Preparing a Project Folder
When starting a project, you should first create a project folder on your desktop to store the files you will use in that project. Maps created with ArcMap commonly require a number of different files, and it will be helpful to keep them together in a single directory.
Mapping CSV Points
Point maps can be created from tables containing latitudes and longitudes.
The simplest format for point table data is the comman-separated variable format that can be exported from a spreadsheet program like Excel. Point data is also sometimes made available to the public as CSV files through open data portals.
Note that one quirk of ArcMap compared to most other desktop programs is that you must explicitly go through a Connect to Folder step before you can access any file on your local drive.
You only need to connect to any specific folder once during an ArcMap session, and if you connect to a high level folder (like Documents), you will be able to access any of the files in subfolders of that directory without having to connect to each subfolder individually.
This example will use a CSV file of houses of worship in Farmingdale, NY that can be downloaded here...
- Copy your CSV file into your project folder.
- Start ArcMap and create a new map with the Blank Template.
- Click the Add Data icon.
- Click the Connect to Folder icon and navigate to the project folder containing your CSV file.
- Go to Folder Connections, find the CSV file, and open it. This will add the file as a table.
- Right click on the table in the Table of Contents pane and select, Display XY data.
- Make sure the X Field is your longitude column and the Y Field is your latitude column.
- At the bottom of the dialog, Edit... the Coordinate System of Input Coordinates, search for WGS 1984 and under Geographic Coordinate Systems, select that option. World Geodetic System 1984 is a commonly used latitude/longitude system that is also used by the US GPS system.
- Under Add Data, add a base map.
- Right-click in the Table of Contents on the Layers, select Properties, select the Coordinate System tab, select Projected Coordinate System, go to the World (Sphere-based) options, and select the Mercator projection. This will cause the map to use the same projection as the base map so the base map is not fuzzy or distorted.
- In the Table of Contents, right-click on the layer of points, select Properties, go to the Symbology tab, and choose a symbol that is appropriate for the content you are mapping.
- If desired, in the Table of Contents, right-click on the layer of points, select Label Features.
- If the labels use an inappropriate field or are difficult to read, in the Table of Contents, right click on the layer of points, select Properties, go to the Labels tab and adjust the labeling.
Mapping Shapefiles
The shapefile was a geospatial data format debuted by ESRI in 1998, two years before the debut of ArcMap (ESRI 1998).
Although the format is old and, arguably, obsolete, it is a simple format that is well-supported by a variety of GIS software, so you will still commonly see geospatial data stored and distributed in shapefiles. Accordingly, this old format has a number of limitations compared to contemporary types of geospatial data storage:
- Field names are limited to ten characters.
- Data files are limited to two gigabytes in size, which limits the number of features and/or attributes.
- Shapefiles do not store topology information (how adjacent features connect to each other) or other helpful proprietary ESRI information.
- Old shapefiles sometimes do not contain spatial reference information, which may require some trial and error with different possible projections if you want the data to map in appropriate locations relative to other data on your map.
The term shapefile is a misnomer since a shapefile is actually a collection of at least three (and usually more) separate files that store the locational data, the characteristics associated with those locations, and other information about the data. Some common files associated with a shapefile include (listed by the file extension):
- .shp: Contains the feature geometry (points, lines, polygons)
- .shx: An index file that indicates where specific features are in the .shp file
- .dbf: A dBase IV database file of attributes associated with each of the shapes in the .shp file
- .prj: The coordinate system and projection used by the feature geometry (optional)
- .cpg: The character encoding used by the attributes (optional)
- .qpj: The coordinate system and projection in a format used by QGIS (optional)
For convenience, all these files are usually compressed into a single .zip archive file for distribution on websites and servers.
For this example, we will use a shapefile of results from US presidential elections in the 2010s that can be downloaded here....
A choropleth is a thematic map where areas are colored according to some characteristic of those areas.
An example of a choropleth commonly seen in the media is a red/blue state map that shows the dominant political parties in the different US states. In this map of the 2012 presidential election, the red states sent Republican electors to the electoral college to vote for Governor Romney, and the blue states sent Democratic electors to vote for President Obama.
- Copy your .zip file into your project folder and unzip the shapefile.
- Start ArcMap and create a new map with the Blank Template.
- Click the Add Data icon.
- Click the Connect to Folder icon and navigate to the folder containing your CSV file.
- Go to Folder Connections, find the .shp file, and open it.
- If needed, under Add Data, add a base map.
- In the Table of Contents, right-click on the layer of points, select Properties,
go to the Symbology tab, and choose a symbology that is appropriate for the content
you are mapping.
- For this map of percentages, we use a Graduated colors symbology.
- Select a field to map. For this example, we use PCGOP2012 for the percentage of Republican (GOP) voters in each state.
- We choose a color ramp fitting the convention of blue for Democrats and red for Republicans.
- Right click on the Labels, select Format Labels, and remove the unnecessary significant digits from the legend labels.
Exporting Map
Direct Export
If your map will be a figure map that is largely self explanatory and doesn't need to be particularly high resolution, you can export an image PNG file directly for import into a document.
- From the File dropdown menu, select Export Map...
- For the file type, select PNG (portable network graphics). This is an image format that generally renders reliably and quickly in documents and on web sites.
- Make sure the resolution is 300 DPI (dots per inch), which is usually good enough for most documents.
- Give the PNG map file a meaningful name in your project folder so you will know what it is if you find or need this file in the future.
- Open the file from your file explorer to make sure it is what you are expecting.
- Import the image into a document if needed.
Layouts
If you need a legend or other map elements on your map, you will need to create a map layout.
- In the View menu, switch to Layout View. You will find a default layout already created for you with the map frame.
- If needed, change the page orientation so the aspect ratio
of your map matches the area you are trying to map with as little
wasted page space as possible.
- Right-click on the layout and select Page and Print Setup...
- You can either select a predefined Paper size, or change the Map Page Size to custom dimensions.
- Adjust the size of the map frame to fill the page, but leave some blank area around edges as a margin.
- Leave area at the bottom for the marginalia.
- To adjust the mapped area in the data frame, right click on the data frame and select Focus Data Frame so you can drag and zoom. Click the Select Elements arrow to return to modifying the layout map elements.
- From the Insert menu, add a Title.
- You can change the formatting of the title by right-clicking on the title and selecting Properties.
- From the Insert menu, add Text for the credits (cartographer, data source, date).
- From the Insert menu, add a Picture to insert a logo.
- From the Insert menu, add a North Arrow.
- From the Insert menu, add a Legend.
- Select only the layers that need symbols defined.
- Remove the legend title.
- Add a Border and white Background.
- Change the name properties of the layer if you want to change the legend heading text.
- Change the Items style if you want to remove the variable name.
- From the Insert menu, select Dynamic Text and Service Layer Credits to create a text box outside the map to hide those base map credits.
- To create a PDF of the layout, from the File menu, select Export Map and export to a PDF file in your project folder.
Saving Maps
Save Your Workspace
Save your workspace file to your project directory. ArcMap is an old, buggy program that crashes frequently and at inopportune times, so you should save your work frequently to avoid wasting irreplaceable hours of your life.
Workspaces are saved as .mxd files, which contain all map element information that ArcMap needs to create the map and layout.
Saving Your Project To a .zip Archive
Unlike a Word document or Excel spreadsheet that embeds all information needed to reopen the document, an .mxd file only points to where the map data files are located, and if you are sending someone a .mxd file, you will also need to send them the data files if you want them to be able to reopen the map in ArcMap.
If you need to share your project with a collaborator or if you need to open it later on another machine, you should keep all your files in a single folder and create a .zip archive of the folder that you can upload to the cloud or save to a flash drive.
Save a Map Package
The use of .zip files of project directories is recommended over using map packages since the map packaging feature is buggy and may fail with inexplicable errors and lost data.
ArcMap can save a map and associated data files together as a map package (.mpk file), which can be saved to your ArcGIS Online content if you need to move machines, share your work with a collaborator, or simply keep everything together so you can work on the map again in the future.
- File and Save the .mxd file.
- Under the File dropdown menu, select Share As and Map Package.
- Select Upload to your ArcGIS Online Account.
- Sign into your ArcGIS Online account
- Add a Description and Tags
- Analyze and fix any problems
- Click the Share button (hidden at the top right corner of the dialog) to save the map package.
- You can reopen the package by selecting File, ArcGIS Online, and My Maps and Data.
Reopening a Map Package
You can reopen a map package from your ArcGIS Online Content page.