Before you can analyze or share your maps in ArcGIS Pro, you must author them from spatial datasets you acquire or create. Taking the time to properly organize your data, get it down to a manageable size, symbolize it, and optimize its attribute table is an important habit to get into. Doing so will save you time and effort when performing more in-depth analysis, exploration, editing, or visualization.
Overview
- Video length: 3:49.
- This video was created with ArcGIS Pro 2.4.
In this tutorial, you'll organize data downloaded from a government geospatial portal and create a map. You'll symbolize the data, create bookmarks to denote points of interest, and change the projection to optimize it for future web sharing. Afterward, you can continue to the Share a web map tutorial to learn how to share this map online.
- Estimated time: 30 minutes
- Software requirements:
- ArcGIS Pro
- ArcGIS Online or ArcGIS Enterprise portal connection
Download the data
Mangroves are a unique and valuable type of coastal swamp ecosystem characterized by trees of the same name. They occur along tropical coasts worldwide and are a focus of both conservation and ecotourism efforts.
You'll create a map of New Zealand mangroves and nearby trails that access them using publicly available data downloaded from New Zealand government agencies.
Note:
Finding and downloading data from geospatial portals is an important part of the map authoring process. Although the data is provided to you in this tutorial, you can browse New Zealand's LINZ data service and the koordinates spatial data portal to practice browsing for data. You can search for the data used in this tutorial or browse for data that is interesting to you.
To download the provided data, complete the following steps:
- Go to the Author a map overview page on ArcGIS Online.
- Click Download.
- In the Downloads folder on your computer, right-click Author_a_map.zip and extract it to a convenient location.
Create a project
Depending on your needs, you can start an ArcGIS Pro project from a system template on the start page, or from a template you create. For this project, you'll use the Map system template, which starts the project with a map view.
- Start ArcGIS Pro and sign in if necessary.
- On the start page, click Map to start a project that opens with a default map.
Note:
If you already have a project open, click the Project tab on the ribbon. In the list of tabs on the left, click New. Under Project Templates, click Map.
- On the Create a New Project dialog box, in the Name text box, type New Zealand Mangroves.
By default, the project is saved to the path shown in the Location box. If you want to save the project to a different location, click Browse and browse to the folder you prefer.
- Click OK.
The project opens with an active map view.
- On the ribbon, click the View tab. In the Windows group, click Reset Panes and click Reset Panes for Mapping (Default).
This ensures that the Contents and Catalog panes are open and that other panes are closed.
Add data to the map
To access the data you downloaded, you'll make a folder connection.
- In the Catalog pane, right-click Folders and click Add Folder Connection .
- On the browse dialog box, browse to the location where you extracted the Author_a_map.zip file. Click the folder to select it and click OK.
- In the Catalog pane, expand Folders and expand the Author_a_map folder.
The Author_a_map folder contains another folder named nz-mangrove-polygons-topo-150k and a geodatabase named author_a_map_NZ.
Note:
Datasets downloaded from online sources sometimes have long, descriptive names—especially if they belong to a large data collection. In this case, the nz-mangrove-polygons-topo-150k folder describes the location, theme, geometry type, and scale of the data it contains. In the next section, you'll export the dataset in the folder and give it a more concise name.
- Expand the geodatabase.
It contains a polyline feature class named DOC_Tracks and a polygon feature class named North_South_NZ.
- Right-click DOC_Tracks and click Add To Current Map .
The map redraws to show New Zealand with the nationwide trail network managed by the New Zealand Department of Conservation (DOC).
- In the Catalog pane, expand the nz-mangrove-polygons-topo-150k folder.
The folder contains a polygon shapefile , as well as a text file and an XML file that contain metadata.
- Drag the shapefile from the Catalog pane onto the map.
A layer is added to the Contents pane.
- In the Contents pane, right-click the nz-mangrove-polygons-topo-150k layer and click Zoom To Layer .
The mangrove polygons are small and may be hard to see on the map.
- On the ribbon, click the Map tab. In the Navigate group, click Fixed Zoom In several times and pan the map as needed until you see mangrove features.
It's important to ensure the data you've acquired matches features on the ground, so you'll use satellite imagery to look a little closer.
- On the Map tab, in the Layer group, click Basemap and click Imagery with Labels.
Note:
The contents of your basemap gallery may be different if ArcGIS Pro is configured to use Esri vector basemaps in your ArcGIS organization. If you don't see Imagery with Labels, look for a similar basemap, such as Imagery Hybrid. (You can use any available imagery basemap.)
- On the Map tab, in the Navigate group, ensure the Explore tool is selected. Zoom in close to an area of mangroves.
- In the Contents pane, turn the nz-mangrove-polygons-topo-150k layer off and on.
The layer lines up well with areas of dark-green vegetation along coastlines and in shallow water. You'll view the metadata to become more familiar with the data.
- In the Catalog pane (not the Contents pane), right-click the nz-mangrove-polygons-topo-150k shapefile and click View Metadata .
The catalog view appears. The left side of the catalog view shows the items in the nz-mangrove-polygons-topo-150k folder. The shapefile is selected. On the right, the details panel shows metadata for the selected item.
Tip:
If the details panel isn't showing, click the View tab on the ribbon. In the Options group, click Details Panel .
- Scroll through the metadata and note important characteristics of the data:
- The data was created at a scale of 1:50,000 (Summary section).
- The coordinate system is New Zealand Transverse Mercator, a national standard (Description section).
- The data is current as of May 2018 (Description section).
- The data source is Land Information New Zealand, the official New Zealand government agency for geographic information (Credits section).
- The data is suitable for display at map scales between 1:5,000 and 1:150,000,000 (Scale Range section).
- When you're finished, make the map active by clicking its view tab.
Export the shapefile to the project geodatabase
Now that you're satisfied with the downloaded data, you'll move it to the project geodatabase to keep all your project data organized in one location.
- In the Catalog pane, expand Databases .
New_Zealand_Mangroves.gdb is the project's default geodatabase . This is where geoprocessing outputs will be saved and where you'll store all data used in the map.
- In the Contents pane, right-click the nz-mangrove-polygons-topo-150k layer and click Data > Export Features .
The Export Features window appears. The Input Features parameter is correctly set to nz-mangrove-polygons-topo-150k.
Note:
For convenience, some geoprocessing tools open in a floating window. You can also open these tools in the Geoprocessing pane.
- Accept New Zealand Mangroves.gdb as the default Output Location value.
- In the Output Name box, type Mangroves.
- Click OK.
The new Mangroves feature class is added to the project geodatabase and a corresponding layer is added to the map.
- In the Contents pane, right-click the nz-mangrove-polygons-topo-150k layer and click Remove .
- On the Quick Access Toolbar, click Save to save the project.
Select trails on the North Island
Since the mangroves are only in the far north of New Zealand, trails on the South Island aren't relevant to your map. You'll create a feature class of trails on the North Island to use instead of the DOC_Tracks feature class. Then, you'll examine and modify the attribute table of your new feature class.
- In the Catalog pane, under the Author_a_map folder, expand the author_a_map_NZ geodatabase. Drag the North_South_NZ feature class to the Contents pane just above the imagery basemap.
Note:
The North_South_NZ feature class doesn't reflect administrative divisions of New Zealand. It simply divides the country into two features centered around the two largest islands.
- In the Contents pane, right-click the North_South_NZ layer and click Zoom To Layer .
All of New Zealand is displayed.
- Zoom in and pan as needed so that the North Island is centered in the map view.
- In the Contents pane, right-click the selected layer and click Attribute Table .
- Select the record for North by clicking the row header (the small gray square at the left edge of the first row).
The record is highlighted in the table and the North Island is selected on the map.
- On the ribbon, click the Map tab if necessary. In the Selection group, click Select By Location .
The Select By Location window appears.
- Set Input Features to DOC Tracks. Keep Relationship set to its default value of Intersect. Set Selecting Features to North_South_NZ.
Trails that intersect the selected feature (the North Island) of the North_South_NZ layer are selected.
- Click OK.
The trails in northern New Zealand are selected. You see 1,459 selected features in the lower right corner of the map view. (This includes the selected North Island feature.) You'll copy the selected trails to a new feature class.
- In the Contents pane, right-click DOC Tracks and click Data > Export Features .
The Export Features window appears. The Input Features parameter is set to DOC Tracks and the Output Location parameter is set to New Zealand Mangroves.gdb.
- In the Output Name box, type Trails.
- Click OK.
The new Trails feature class is added to the project geodatabase and a layer is added to the map.
- On the Map tab, in the Selection group, click Clear .
- In the Contents pane, click the DOC Tracks layer to select it. Press Ctrl and click the North_South_NZ layer to select it as well. Right-click either selected layer and click Remove .
The layers are removed from the map and the attribute table closes.
Edit the Trails attribute table
Datasets may contain information you don't need for a particular project. Superfluous data can lead to large file sizes or distract you from the task at hand. You already reduced the original DOC Tracks feature class to a smaller geographic area. In this section, you'll edit the Trails attribute table to remove attributes you don't need. The complete dataset is still preserved in the DOC Tracks table.
- In the Contents pane, right-click the Trails layer and click Attribute Table .
The attribute table contains seven fields. The STLength and Shape_Length fields have identical values. The STLength field was part of the original DOC_Tracks dataset. The Shape_Length field was added automatically when you exported the selected trails to a new feature class. At this point, you can delete the STLength field.
- In the attribute table, right-click the STLength field name and click Delete .
- On the Delete Field prompt, click Yes.
You don't need the CAPTURE_ACCURACY field in this project, either. You could delete it, but you'll hide it instead.
- In the attribute table, right-click the CAPTURE_ACCURACY field name and click Hide Field .
The field no longer displays but still belongs to the table and can be restored if needed. Finally, you'll assign an alias to the OBJECT_TYPE_DESCRIPTION field to give it a more concise display name.
- In the Contents pane, right-click the Trails layer and click Data Design > Fields .
The Fields view of the table opens. On the ribbon, the Fields tab appears. In the Fields view, note that the CAPTURE_ACCURACY field is present, but its visibility property is turned off.
- In the Alias column, click the value OBJECT_TYPE_DESCRIPTION to select it. Click the value again to make it editable. Change the alias to Description and press the Enter key.
- On the ribbon, on the Fields tab, in the Changes group, click Save .
- Close the Fields: Trails view.
- In the Trails attribute table, confirm that the Description alias appears. If necessary, click Refresh table at the bottom of the table view.
- Close the Trails table.
- On the Quick Access Toolbar, click Save .
Identify and export trails near mangroves
You created a smaller Trails feature class from a subset of the original features. Now, you'll use another location query to select trails that are within viewing distance of mangroves. You'll keep the existing Trails layer in the map for context.
After selecting trails near mangroves, you'll export the selected features. Although you can make a map layer from selected features without creating a dataset, these selection layers are not supported in web maps. Because you intend to share the map to your portal, you'll make a new feature class.
- On the Map tab, in the Selection group, click Select By Location .
- In the Select By Location window, set the parameters as follows:
- For Input Features, choose Trails.
- For Relationship, choose Within a Distance.
- For Selecting Features, choose Mangroves.
- For Search Distance, type 150 and choose Meters.
- For Selection type, choose New Selection.
- Click OK.
At the bottom of the map view, note that nine trails are selected.
- In the Contents pane, right-click the Trails layer and click Data > Export Features .
The Export Features window appears. The Input Features parameter is correctly set to Trails and the Output Location parameter is set to your default geodatabase.
- In the Output Name box, type Trails_Near_Mangroves.
- Click OK.
A new feature class is added to the project geodatabase and a layer is added to the map.
- On the Map tab, in the Selection group, click Clear .
- In the Contents pane, uncheck the Trails check box to turn off the layer. Right-click the Trails_Near_Mangroves layer and click Zoom To Layer .
The trails in the new layer are small and difficult to see.
Orange circles indicate locations of some of the trails near mangroves. - Zoom in to some of the trails near mangroves.
- Turn the Trails layer on again.
The two layers are symbolized in the same color and can't be distinguished. You'll fix this later when you customize the map symbology.
- If necessary, click the Trails_Near_Mangroves layer to select it. Click it again to make the layer name editable. Replace the underscores with spaces so that it reads Trails Near Mangroves. Press the Enter key.
- Click Save .
Modify the map properties
Layers in a map may have different coordinate systems. In ArcGIS Pro, this is not a problem because coordinate systems are reconciled through on-the-fly projection in the map. That is, a particular coordinate system is assigned to the map by default, and any layers not in this coordinate system are reprojected. This reconciliation happens automatically.
For desktop maps, you can assign any supported coordinate system to the map. You can use the default system (defined by the first non-basemap layer added to the map) or choose another system suited to your map's location or purpose. However, when you share a map to the web, the map's coordinate system must be the same as the basemap layer. All Esri basemaps use the WGS 1984 Web Mercator (auxiliary sphere) coordinate system.
To learn more about coordinate systems, see Coordinate systems, projections, and transformations.
- In the Contents pane, under Drawing Order, right-click Map and click Properties .
The Map Properties dialog box appears.
- In the list of tabs on the left, click Coordinate Systems.
In the Current XY box, the map is currently projected to the New Zealand Transverse Mercator system.
- In the XY Coordinate Systems Available list, under Layers, expand WGS 1984 Web Mercator (auxiliary sphere). If necessary, also expand NZGD 2000 New Zealand Transverse Mercator.
Tip:
Resize the Map Properties dialog box by dragging its sides or corners.
Two layers in the map—the basemap and its reference layer of place-names—are in the Web Mercator coordinate system. Three layers—those you added and processed yourself—are in the New Zealand Transverse Mercator system.
Note:
The layers under WGS 1984 Web Mercator (auxiliary sphere) may be different, depending on your imagery basemap.
Your eventual goal, which you'll accomplish in the Share a web map tutorial, is to share your map to the web. This requires that the map's coordinate system match that of the basemap: Web Mercator.
- Under XY Coordinate Systems Available, click WGS 1984 Web Mercator (auxiliary sphere) to select it if necessary. (It may have been selected when you expanded the heading.)
The Current XY box updates to reflect the selected coordinate system. This is the coordinate system to which the Trails, Trails Near Mangroves, and Mangrove layers will now be projected on the fly. (Previously, the basemap and reference layers were projected on the fly to the New Zealand Transverse Mercator system.)
- At the bottom of the dialog box, check the Enable wrapping around the date line check box.
This option is helpful because the Web Mercator projection ends at the international date line, just east of New Zealand.
You'll also limit the full extent of the map to the area of interest.
- In the list of tabs on the left, click Extent.
- Click the Use a custom extent option. Under Extent of a layer, hover over Trails and click All features .
The Selected extent boxes on the right update to reflect your selection.
- Click OK.
- On the Map tab, in the Navigate group, click Full Extent .
The map zooms to the North Island of New Zealand. This is the new full extent of your map.
The date line wrapping and extent settings you made are useful for map navigation in ArcGIS Pro. They aren't needed for sharing the map to the web.
- On the Quick Access Toolbar, click Save to save the project.
Change symbology
The mangrove features are hard to see because of their size. In addition, the symbols assigned to your map layers are random and may not be satisfactory. You'll change the symbology for all three map layers.
- In the Contents pane, right-click the Mangroves layer and click Symbology .
The Symbology pane appears and displays symbology properties for the Mangroves layer.
- In the Symbology pane, next to Symbol, click the symbol for the layer.
The pane changes to show symbol formatting options.
- At the top of the pane, click the Properties tab.
- Under Appearance, set Color to No color. Set Outline color to a light orange, such as Mango, and set Outline width to 2 pt. Click Apply.
The mangroves are now easy to see, even at the full extent of the map.
- In the Contents pane, click the symbol for the Trails layer. (Click the symbol, not the layer name.)
The Symbology pane updates to show symbol formatting properties for the Trails layer.
- At the top of the pane, click the Properties tab, if necessary.
- In the Symbology pane, change Color to a pale aqua color such as Indicolite Green. Make sure Line width is 1 pt and click Apply.
- In the Contents pane, click the symbol for the Trails Near Mangroves layer.
- In the Symbology pane, change Color to Peridot Green or another bright green color and click Apply.
Create bookmarks
The trails within viewing distance of mangroves are concentrated in a few areas. You'll add bookmarks to help map users navigate to important locations.
- On the ribbon, on the Map tab, in the Inquiry group, click Locate .
The Locate pane appears.
- In the Locate pane, in the search box, type Okura Bush Scenic Reserve and press the Enter key.
The map zooms in to the location and a temporary marker is added.
- Zoom out and pan to a map extent that shows all the mangroves and nearby trails in the area. Use the image below as a guide.
- On the Map tab, in the Navigate group, click Bookmarks and click New Bookmark .
- On the Create Bookmark dialog box, change the Name text to Okura Scenic Reserve and click OK.
You'll repeat the process to add two more bookmarks.
- In the Locate pane, in the search box, clear the current search term and type Tauranga, NZL. In the drop-down list of suggestions, click the suggestion that matches your search term.
- Pan and zoom the map as needed to show all of the harbor, using the image below as a guide.
Tip:
If you're using the Go To XY tool, ensure the units are set to m (meters) and go to X: 19600000 and Y: -4520000 meters. For the next bookmark (Matangirau, Auckland), use X: 19340000 and Y: -4170000 meters.
- Bookmark this location with the name Tauranga Harbor.
- Locate Matangirau, Auckland. Zoom out to view the mangroves surrounding the large bay.
- Bookmark this location with the name Waitaruke.
- On the Map tab, click Bookmarks . Zoom to each of the three bookmarks by clicking their thumbnail images.
- In the Navigate group, click Full Extent .
- Close the Locate pane.
- Save the project.
In this tutorial, you learned the key pieces of authoring a map: making folder connections to data; exploring, organizing, and processing data; and symbolizing your map. You designed this map with the intention of sharing it to your ArcGIS organization; go to the Share a web map tutorial to learn how to do that.