ArcGIS for Desktop
Part 1 of this tutorial was all about preparation. There was strong emphasis on getting your files organised, and applying appropriate symbology to the data.
Part 2 of this exercise is about making a map, so for this part of the exercise you are going to be residing in Layout View. In Part 1 you were seing Data View the whole time.
Step 1: Toggle to Layout View
At the bottom of the Map window the two small icons to the left allow users to toggle between Map View and Layout View. Click the Layout View icon.
You will immediately see a page layout basically with all your Data Frames in your Table of Contents dumped onto the page.
With Layout View also come a Layout Toolbar. It is important to get used to working with the Layout pan and zoom tools and the pan and zoom tools on the Tools toolbar. The pan and zoom tools on the Layout toolbar are for panning and zooming around your PAGE, while the pan and zoom tools on the tools toolbar are used to pan and zoom around within a Data Frame. This means you can use one to zoom into a part of your page, and use the other to zoom into a smaller area on your map.
Step 2: Page Setup
The first task is to setup your page.
- From the File menu, select Page and Print Setup…
- Ensure that you choose either a printer or a print driver.
- Change the Paper size to A3.
- Change the Orientation to Landscape.
- Leave all other defaults and hit OK.
Step 3: Working with Data Frames in Layout View
From the image below you may be concerned that all your maps are not immediately visible. This is normal; the Overview Data Frame, being the first Data Frame in the Table of Contents, is maximised to the full page. All other Data Frames are placed smaller in size in the middle of the page, on top of each other. You will now rearrange the Data Frames to suite the map style.
Step 3.1: The Overview Map Data Frame
- Click somewhere toward the edge of the page to select the Overview Data Frame. You will see blue coloured handles that may be used to resize the Data Frame. This corner handle may be used to increase and decrease the height and width of the Data Frame.Tip: wait until the cursor changes to a double arrow before clicking and dragging to resize.
- Resize the OVERVIEW Data Frame so that it is relatively small, approximately as shown below. Move the Data Frame as close as possible to the top left corner of the faint dotted grey border. This represents the printer extents.
- Use the Zoom and Pan tools on the Tools toolbar to centre the data within the OVERVIEW Data Frame. Remember you can use the zoom and pan tools to zoom into this area on the page first.
Next we will remove the Frame outline colour for the Data Frame.
- Right-click somewhere in the centre of the Data Frame and select Properties.
- On the Frame tab, set the Border outline to None.
- Hit OK when done. Don’t worry about the light grey dashed border still visible around your Data Frame. This is not printed and is there for you to see the extent of your Data Frame.
SAVE YOUR WORK!
Step 3.2: The Main Data Frames
- Click and drag each of the three Data Frames still remaining in the middle of the page so that they are roughly positioned as follows.
- When a Data Frame is selected in Layout View, you should see that the Data Frame in the Table of Contents is highlighted in bold, meaning it is the active Data Frame.
- Ensure that the LEFT Data Frame is Lithology, the CENTRE Data Frame is Eon and the RIGHT Data Frame is Era.
Resize the Lithology Data Frame so that it occupies slightly less than 1/3 of the space available. Drag and position the Data Frame allowing space for the other two.
Now click anywhere on the page, not on a Data Frame. This should deselect anything.
Click on the far-right Era Data Frame. Note the 8 small square handlers for resizing and that they are BLUE.
- With the Era Data Frame selected as shown above, hold down the SHIFT key on your keyboard and click on each of the Eon and Lithology Data Frames. All THREE should now be selected. Note how the first two selected have GREEN handlers and the last one has BLUE handlers. Think of the BLUE selection as where you are heading… we want the two smaller Data Frames to be the same size as the Lithology Data Frame.
- Right-click somewhere within the Lithology Data Frame and select Distribute. Review the options.
- Choose the Option Make Same Size.
- Click anywhere on the page not on a Data Frame to deselect everything.
- Move the right-hand Data Frame (Era) so that its right-hand edge is as close a possible to the edge of the printer extents – then inner light grey dashed border.
- Again holding the SHIFT key, click on each of the THREE Data Frames to select them all. Be sure to select either the left or right Data Frames first and last.
- Right-click anywhere within any of the selected Data Frames and select Distribute => Distribute Horizontally. This moves the centre Data Frame such that the space between each Data Frame is equal.
- Right-click anywhere within any of the selected Data Frames and select Align = Align Bottom.
- Click anywhere on the page not on a Data Frame to deselect objects.
- Click on each Data Frame and hit the View Full Extent button. This will ensure a consistent view extent for each Data Frame.
SAVE YOUR WORK!
Step 4: Adding a Title
- From the Insert menu select Title.
- Enter an appropriate Title & hit OK.
Available to you is the Draw toolbar. This may already be docked at the bottom of the screen, however you can always open this toolbar by selecting the Customize menu => Toolbars.
- You can see that the Title is selected. Use the Font and Size options on the Draw toolbar to adjust the style of your title. Drag and position your title into place.
Step 5: Adding Legends
- Select the Lithology Data Frame so that it is active/selected.
- From the Insert menu select Legend.
- On the first page of the Legend Wizard, change the number of columns to 2. and hit Next.
- Delete the Legend Title. It is not necessary for this exercise. Hit Next.
- Do NOT apply a border, background or color. Hit Next.
On the next step, change the Area shape to Natural Area (or whatever you like). This is just the symbol shape used in the Legend. Hit Next.
Accept all defaults on the final step and hit FINISH.
- Drag the legend into position. You will see that it may be a little to large, and it also included a category called <all other values> which we need to turn off.
In the Table of Contents, dounbble click on the Geology_NT layer in the Lithology Data Frame. Select the Symbology tab and untick the <all other values> category.
- The result will be that it will now disappear from the Legend too.
- Resize your legend by grabbing one of the corners and dragging until it fits nicely.
However we can improve the Legend slightly by renaming the name of the layer and deleteing the Field Name used for the Unique Values classification.
So let’s look at the Table of Content again. Focus on the Lithology Data FRame
You may recall from Part 1 of this exercise that you can renmame Data Frames. You can also rename Layer Names and Category labels.
- Click once on Geology to highligh in blue as shown above.
- Either press F2 on your keyboard, or pause a moment and click a second time on the Geology_NT text. This opens the Layer NAme for editing.
- Change the Name to Lithology. You will notice that the Legend immediately updates to reflect the change.
- Next select the Category label and delete the text. Click once on LITH_ASSOC and press F2.
- Delete the highlighted text.
Your Legend will now appear cleaner and less cluttered!
SAVE YOUR WORK!
Now repeat this process to create Legends for the other TWO Data Frames!
- Remeber to first select the Data Frame you want to create a legend for.
- Only ONE colomn is required for the other two Data Frames.
You final map should look something like this:
I will expand these instructions and elaborate on explanations as time permits. There are certainly many more things we can do to this layout such as adding a graticule, referencing the data sources or perhaps even providing a brief explanation of the data itself on the map.
The point of this exercise is to walk you through the steps required to make a map with multiple Data Frames, and along the way picking up a wide range of related skills to achieve the end result.
Feedback welcome: firstname.lastname@example.org
In this tutorial your task is to create an A3 Landscape Map of the Geology of the Northern Territory using Esri’s ArcGIS for Desktop v10.2.x software. While this tutorial has a geology theme, the main objective is to employ various GIS workflows in order to create a map to meet the requirements of a particular request.
Hypothetical Request: Assume you are a GIS technician and a geoscience professional has just approached you and asked if you could make a map of the geology of the Northern Territory representing three themes: Lithology, Eon and Era. The following links will take you to Wikipedia definitions and provide some background:
This tutorial uses two data sets. Firstly, the freely available Geology of Australia data set available from Geoscience Australia, spatially documents the distribution and age of major stratigraphic, intrusive and medium to high-grade metamorphic rock units of onshore Australia. The version of the data used in this tutorial is older than what is currently available. Note that this data undergoes continuous improvement and therefore if you need the most reliable version of the data please download and use the data via Geoscience Australia.
- Surface Geology of Australia 1:2.5 million scale dataset 2012 edition (and download)
- Geological Regions of Australia, 1:5 000 000 scale (and download)
The second data set used is called IBRAv7. This data set is freely available from the Federal Department for the Environment and represents geographically distinct bioregions. Please visit the following link for further information and download instructions:
The data has already been downloaded & organised for you for this tutorial.
Aims and Objectives
The aim of this exercise is to competently handle geospatial data, use geoprocessing tools, creating thematic maps, applying a conic projection to geographic coordinates, and map design and production to produce an A3 landscape map of the Geology of the Northern Territory. Through this the following educational objectives (underpinning knowledge and skills) will be met:
- Spatial data handling including file management and data management
- Working with Catalog to create Folder Connections and add spatial data
- Working with multiple Data Frames and naming Data Frames
- Applying a simple attribute query to select features
- Use geoprocessing tools CLIP and DISSOLVE
- Apply symbology, create Legends
- Define spatial reference system for a shapefile
- Using on-the-fly projection (conic projection)
- Map design & production (multiple Data Frames on Layouts, Layout toolbar, Draw toolbar, working with legends and applying a graticule).
NOTE: This tutorial is specifically designed to cover several tools and workflows and it should be noted that outcomes of this exercise could be achieved in a more streamlined manner.
What you will need
- File Geodatabase (fGDB) that includes two Feature Classes:
- Australian Geology data
- IBRA v7
- Access to a computer with Esri’s ArcGIS for Desktop Basic Edition (preferably version 10.2)
- If the word CLICK is used to describe an action, that mean you apply ONE LEFT CLICK.
- IF the phrase DOUBLE-CLICK is used, that means you apply TWO LEFT CLICKS IN QUICK SUCCESSION.
- What is a geodatabase? http://bit.ly/1sWEGuZ
- Geoprocessing CLIP tool: http://bit.ly/1wg7eQJ
- Geoprocessing DISSOLVE tool: http://bit.ly/1vD3El2
Step 1: Setup
- Create a folder C:\NT_Mapping – All data must go into this folder.
- Unzip the data downloaded above into C:\NT_Mapping
Step 2: Launch ArcMap
- Open ArcMap (Start => All Programs => ArcGIS => ArcMap 10.2.x)
- Remove any unnecessary toolbars. You only need the LAYOUT, TOOLS, STANDARD and DRAW toolbars. From the Customize menu, select toolbars and check/uncheck the required toolbars.
- Drag and dock the toolbars below your Menu bar.
- From the FILE menu select SAVE AS…
- Save your ArcMap Document into C:\NT_Mapping as Mapping the Geology of the NT.mxd
Step 3: Add Data
- Open the Catalog window. Select the Catalog button on the Tools toolbar.
- Right-click on Folder Connections and Add Folder Connection.
- Navigate to C:\NT_Mapping and with that folder selected, hit OK. This directory is now listed as a folder connection.
- Expand the folder to show the File Geodatabase.
- Drag and drop both Bioregions and Geology Feature Classes either into the Table of Contents (also called the TOC) on the left or into the map window.
Step 4: Working with Multiple Data Frames
The final outcome of this exercise is to produce a map of the Geology of the NT. For this you will need four separate Data Frames: one for the over view map, one for the Lithology Map, one for the Eons Map and a final one for the Era Map.
- From the Insert menu select DATA FRAME.
- Repeat this three times. You should now have 4 Data Frames in your Table of Contents (TOC).
Step 4.1: Renaming and Activating Data Frames
In the above figure, the last Data Frame is BOLD. This is because this is the ACTIVE Data Frame. Data Frames can be thought of like individual maps and you can only see one map at a time. In the example above your map window should be blank. This is because there is no data yet inside that active Data Frame. Naming your Data Frames helps you keep organised.
Tip: if you can’t see your data in the map window, take a look at which Data Frame is bold. Chances are you are looking at a different Data Frame!
- Firstly, if you right-click on the Lithology Data Frame and select ACTIVATE, you should see data in your Map View once again. Experiment with this a few times until you understand how this works.
- To rename a Data Frame, simply click ONCE on the Data Frame so that it is highlighted. Pause a moment and click again. You are now able to type an appropriate name for that Data Frame. Note that you can also click once on a Data Frame to highlight it, then press F2 on your keyboard. This also enables you to rename it.
- Rename each Data Frame as follows:
Step 4.2: Moving Data between Data Frames
Data layers can be moved between Data Frames by dragging and dropping layers to where you need them. This creates a COPY of the data.
- Click (once) on the Geology layer in the Overview Data Frame and drag it to the Lithology Data Frame.
- Repeat for both Eon and Era Data Frames.
- Right-click on the Geology Layer in the Overview Data Frame and select REMOVE.
- Your Table of Contents should now look like this:
This is now a good time to SAVE YOUR WORK. (File => Save or CTRL + S)
Step 5: Creating an Overview Map
For this part we are going to create a map of Australia with the NT highlighted using a different colour to the other States, just like this:
We are using the IBRAv7 data simply because we have ready access to it but if you hunt around the internet you’ll probably discover some GIS data already prepared in this way, however you’ll learn more from doing it the way explained below.
- Double-click on the Bioregions Layer. This will open the Layer Properties dialog box. Alternatively you can right-click on the layer and select Properties.
- Click the Symbology tab.
- Choose Categories => Unique Values.
- In the Value Field select STA_CODE.
- Select the Add All Values button.
- Experiment with the colour ramps. Take your time to work with the colour ramps.
- Tip: if you select the same ramp a second time it automatically randomises the colour order, so if two adjacent polygons end up with similar colours, just select the colour ramp again and hit Apply and repeat this until you like the colours.
- Hit OK to confirm the result.
This view has too much clutter and the tones are too strong. What we are going to do next is adjust the properties of ALL POLYGONS so that they do NOT have outlines and all polygons are the same colour – except for the Northern Territory.
- Double-click on the Bioregions Layer.
- If required, select the Symbology Tab again.
- Click on Symbol and select Properties for All Symbols…
- Apply a very pale green as the FILL and for the OUTLINE colour, select No Colour, then hit OK.
- All the STATE polygons should now have the same appearance.
Now all that is required is to adjust the colour of the NT polygon.
- Double-click on the green symbol next to the NT value.
- The Symbol Selector will open. Choose a slightly darker green.
- Click OK when done. Your map of Australia with NT highlighted should look something like this:
Please SAVE YOUR WORK. (File => Save)
Step 6: Select NT and Create a New Layer
You will see below that the geology data covers the full extent of Australia. What we need to do is prepare an outline of NT and use this to clip the geology layers below.
- From the Selection menu, select Select by Attributes…
- Double-click on STA_CODE
- Double-click the equals sign (=)
- Click Get Unique Values
- Double-click ‘NT‘
Tip: Be careful of the clicks and double-clicks! Follow the instructions! If you end up with extra text, delete it and start again!
This is SQL syntax. When ready hit OK.
All the polygons within the NT should be selected.
This selection may now be saved as its own Feature Class within your Geodatabase.
- In the Table of Contents, right-click on the Bioregions layer and select Data => Export Data…
- Navigate to your C:\NT_Mapping and Save As NT.
- Use the small Browse button to the right and navigate to your C:\NT_Mapping folder.
- Double-click ON the NT_Mapping.gdb to ensure you are within the geodatabase.
- Hit OK when ready.
- When completed, this will add a new layer to your Overview Data Frame called NT.
- You can right-click on your Folder Connection in Catalog window and select Refresh. If you then expand you geodatabase you should see the new layer!
Step 6.1: Dissolve Internal Boundaries
You will now dissolve internal boundaries of this new NT layer so that we end up with a polygon outline of the whole NT.
- From the Geoprocessing menu, select Search for Tools.
- This will open up a window.
- Begin typing DISSOLVE and Dissolve (data management) should appear.
- Click the tool to launch it, as shown below.
- Select NT as the Input Features.
- Carefully navigate to your NT_Mapping.gdb File Geodatabase at C:\NT_Mapping and name the output Feature Class NT.
- Use STA_CODE as the dissolve field (basically all polygons with NT that are adjacent each other will be dissolved, leaving only the outer polygon).
- Hit OK when ready. This will add a new layer to your Overview Data Frame called NT.
- Click on the Clear Selected Features button on the Tools toolbar. This will clear the selected polygons from the Attribute Query above.
You now have an outline of the NT!
Step 7: Clipping the Geology Layer
You will next use the new NT_DISSOLVE layer created above to CLIP out the Geology of the NT. This process creates a new Feature Class.
- From the Geoprocessing menu, select CLIP.
- For the Input Features, carefully click the browse button and navigate to the Geology layer in your geoatabase.
- For the Clip Features, click the drop-down or carefully navigate to your geodatabase and select the NT_DISSOLVE layer.
- For the Output Feature Class, carefully browse to your geodatabase and name the output Geology_NT.
- When ready, click OK. Wait a moment for the process to occur.
A new clipped geology layer should appear in your Data Frame!
- Drag the Geology_NT layer down to the other three Data Frames.
- Remove all layers named Geology.
- Remove layer NT and layer NT_DISSOLVE.
- Remove Geology_NT from the Overview Data Frame.
SAVE YOUR WORK.
Your Table of Contents and Data Frame should look something like this:
Step 8: Applying Symbology to the Geology
Now we are going to apply symbology to each of the three Geology layers in each of the three Data Frames.
- Right-clik on the Lithology Data Frame and ACTIVATE.
- Double-click on the Geology layer within the Lithology Data Frame to open the Layer Properties dialog box.
- Click on the Symbology tab.
- Select Categories => Unique Values.
- For the Value Field select LITH_ASSOC.
- Click the Symbol column header and select Properties for All Symbols…
- Change the Outline Colour to No Colour.
- Click the Add All Values button.
- Experiment with different Color Ramps until satisfied.
- Hit OK when done. Your data should look something like this (will look different depending on your colours):
- Repeat this process for the Eon Data Frame Geology_NT layer, but for the Values Field choose EON. Be sure to choose a different Colour Ramp.
- Repeat this process for the Era Data Frame Geology_NT layer, but for the Values Field choose ERA. Be sure to choose a different Colour Ramp.
SAVE YOUR WORK!
Your ArcMap interface should now look very similar to this: