Professional Documents
Culture Documents
doc
Page 1 of 26
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
122414998.doc 2. Under the Quick Links Section on the right, Click on the Download Gis Workshop Materials link. 3. Find the Data Link for the ArcGIS 9.2 Introduction To GIS Mapping And ESRIs Arcgis Software and RightClick on the Link. 4. In Firefox, Select Save Link As, in Internet Explorer, Select Save Target As 5. Depending on your browser and setup, you may be offered a Browse Window, to select the folder into which you want the downloaded file placed. If so, Browse to a Folder on your hard drive that you have write permission for. For this tutorial, we will assume that you are using the C:\temp folder of the machine you are working on.
Page 2 of 26
6. Clicking on the Create New Folder Button, Create a New Folder, using your initials as the name of the folder, so that you end up with a full path something like: C:\temp\your_initials\ 7. Save the Downloaded File to this New Folder.
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
122414998.doc You should now see a number of different files, some of which have the same filename, but with different extensions (Windows doesnt always show file extensions for known filetypes, such as dbf, or shp, in some cases). 2. If necessary, Click on the Name Field Header in the Explorer Window to Sort the files By Name. What is critical to recognize about the contents of this folder is that all of the files with the same filename are actually part of a single shapefile. The shapefile is ESRI proprietary vector data format. The fact that it is called a shapefile can cause some confusion, since it is actually a collection of files.
Page 3 of 26
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
Page 4 of 26
Standard Toolbar
You should now see something like what is shown above (dont worry about the little red exclamation marks, yet). Take a few seconds to familiarize yourself with the ArcMap interface. The Main Menu should be familiar to anyone who uses Microsoft Windows software. It is where you perform basic file and document editing functions. The Table of Contents is the area where your data layers will be listed and where you can interact with and alter the properties of individual layers. The Add Data Button is located on the Standard Toolbar and opens a dialog box that allows new layers to be added to the Table of Contents and Map Document. It should not be confused with the Open Document button, which is located on the same toolbar, but is not unique to ArcMap. The Map Display is the area where your map data will be displayed. The Tools Toolbar contains a series of tools that operate on the data displayed in the Map Document Window. The View Toolbar changes between the Data View and Layout View of the Map Document.
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
122414998.doc
Page 5 of 26
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
122414998.doc
Page 6 of 26
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
122414998.doc
Page 7 of 26
1.
Check the Checkboxes next to the Two Layers (municipalproperty and DEPProperty) that are Unchecked.
Note that the checkboxes determine whether the layer is visible, or not.
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
122414998.doc
Page 8 of 26
2. Drag a Box across the Central Part of the Map Display Panel to Zoom Into the Data View. 3. Click on the Back To Previous Extent Button to Return to the Previous Map Display View. 4. Click on the Fixed Zoom Out intervals. 5. Select the Pan Tool Button to Zoom Out of your Map Display at fixed
from the Tools Toolbar and use it to Move your Map Display.
6. Click on the Full Extent Button to Zoom Out to the extent of the Layer in your Map Document with the largest extent. 7. Right-Click on the Area_of_Interest_polygon_polygon Layer and Select Zoom To Layer from the Context Menu. 8. Finally, on the Main Menu, Go To View>Bookmarks>Create to Create a Bookmark, called Main View, of the current extent of your Map Display.
2. Double-Click on the USGS_Geographic_Names.xls File. ArcMap treats XLS Files as if they were folders, within which, spreadsheets are contained. If you try to open an .xls file in ArcMap, you will get an error. Instead, you must browse into the file and select the worksheet you wish to add to your Map Document. 3. Select the USGS_Geographic_Names$ worksheet and Click Add to Add it to your Map Document. Note that the Source Tab in the Table of Contents is now active, and this new data layer is visible there, but there has been no change in the Map Display window. This is because the data you have added is a table, rather than a shapefile and it does not yet have an explicit geographic display.
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
Page 9 of 26
Note that there are a number of attribute fields for the features in this table. Most importantly, there are numeric fields with Latitude & Longitude Coordinates in Decimal Degrees that we can use to display this data. 5. Close the USGS_Geographic_Names$ Table. 6. Right-Click on the USGS_Geographic_Names$ Table in the Table Of Contents Panel and Select Display Xy Coordinates. 7. Under Coordinate System Of Input Coordinates, Click on the Edit Button. 8. In the resulting Spatial Reference Properties Dialog, Click on the Select Button. 9. Browse to Geographic Coordinate Systems>North America>North American Datum 1983.prj, Select it and Click Add. 10. Click Ok Twice to Display the Coordinates. You will be warned that the resulting layer does not contain Object-IDs and you will be restricted in what you can do with it. 11. Click Ok, since we will remedy this problem, next. 12. Right-Click on the USGS_Geographic_Names$ Events Layer and Go To Data>Export Data. 13. In the resulting Export Data Dialog, Change the Use The Same Coordinate System As: to The Data Frame. This is a shortcut to projecting your data to the same projection as the rest of the data in this Map Document. 14. Browse to your C:\temp\your_initials\01Introduction to ArcGIS\Data\Shapefile Folder and Save the New Shapefile as USGS_Geographic_Names.shp. Click Save. 15. Click Ok to Export the Data. 16. When prompted whether you want to add the exported data as a layer, Click Yes. 17. Right-Click on the original Usgs_Geographic_Names$ Events Layer and Select Remove. 18. Remove the USGS_Geographic_Names$ Table, also. 19. Click on the Display Tab, at the bottom of the Table Of Contents Panel.
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
122414998.doc
Page 10 of 26
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
122414998.doc
Page 11 of 26
2. Click on the Search Tab, at the bottom of the ArcToolBox Panel, and Enter define as your Search Term. 3. Define Projection Tool should be one of the returned results. Double-Click on Define Projection to open the ArcToolbox Tools Dialog. 4. Select the tgr09009blk00 layer from the Input Dataset Drop-Down Menu.
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
122414998.doc
Page 12 of 26
6. Click on the Select Button and Browse to Geographic Coordinate Systems>North America>North American Datum 1983.prj. Select and Add this as the Spatial Reference. 7. Click OK again to Apply the Spatial Reference to the ArcToolbox Dialog. 8. Click OK to Define the Coordinate System for this file. 9. You may need to Refresh your Data View in order to see the results, using the Refresh View Button, on the View Toolbar at the bottom left corner of the Data View. 10. Click on the Display Tab at the bottom of the Table of Contents. You should now see something like what is pictured at the left. The
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
122414998.doc
Page 13 of 26
4. 4.
5. Right-Click on the tgr09009blk00 Layer and Select Joins And Relates>Join. 6. In the resulting Join Data Dialog Box, Populate the Options as shown on the left. Join attributes from a table Join Field 1=STFID Join Layer=tgr09000sf1blk Join Field 2=STFID
7. Click OK to Apply the Join. 8. Right-Click on the tgr9009blk Layer and Open the Attribute Table. 9. Scroll across the Attribute Table and Make Sure that the two datasets have been joined.
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
122414998.doc
Page 14 of 26
Note that the Field Names have now changed and are prefixed with the name of the dataset that they come from. ArcMap has used the STFID in each of the datasets to join the attribute records to the appropriate Census block unit.
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
122414998.doc 5. Close the Select by Location Dialog Box and note that your selection will remain active. 6. Right-Click on the tgr09009blk00 Layer and Select Data>Export
Page 15 of 26
Data. Notice that the Export Drop-Down list has defaulted to Selected features. It is the default action in ArcMap that anything you do to a layer, when you have an active selection, only applies to the selection. 7. Check the checkbox that allows you to use the same Coordinate System as the Data Frame. Remember that we defined the Coordinate System as GCS North American Datum 1983? That was because the layer was created using Lat/Lon coordinates. Lat/Lon coordinates locate features on the surface of the (roughly) spherical Earth, and are angular measurements. ArcGIS needs a linear unit to perform many of the mathematical calculations you may want to apply to the data, such as calculating area, distances, etc. By using the coordinate system of the Data Frame (which is State Plane) to export the dataset, we can avoid the added step of projecting the data to a projection with a linear measurement. 8. Browse to the C:\temp\your_initials\Urban_Forestry_Workshop\Data\Shapefiles Folder and Save the Output shapefile as AOI_Census_Blocks_SF1.shp. 9. Click OK to Export the Data. 10. You will be prompted to add the new layer to the current Map Document. Click Yes. 11. Right-Click on the new AOI_Census_Blocks_SF1 Layer and Open the Attribute Table. Note that all of the attributes from the joined dataset have transferred, but that the fieldnames are no longer prefixed. 12. Close the Attribute Table. 13. Right-Click on the original tgr09009blk00 Layer and Select Remove from the Context Menu. 14. Right-Click on the Area_of_Interest_polygon_polygon Layer and select Zoom to Layer.
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
122414998.doc 4. Click Ok. 5. Again, Click on the Options Button and Select Add Field. 6. 6. 6. 6. 6. 6. 6. 6. 6. 6. 6. 6. 6. 6. 6. 6. 6. 6. Name the New Field AREA, and Use the Type: Float. Click Ok. 7. Scroll to the far right of the Attribute Table, Right-Click on the Field Header for AREA and Select Calculate Geometry... 8. Click Yes when warned about calculating outside an edit session. 9. Change the Property Drop-Down Menu to Area. 10. Change the Units Drop-Down to Square Miles US [sq mi]. 11. Click Ok 12. Right-Click on the Field Header for UNDER18 and Select Field Calculator 13. Click Yes when warned about calculating outside an edit session.
Page 16 of 26
14. Scroll Down the Fields List and Click on the AGE_UNDER5 to Insert it in the Calculator Argument. 15. Click on the Addition (+) Button to Insert the Addition Operator in the Calculator Argument. 16. Scroll Down the Fields List and Click on the AGE_5_17 to Insert it in the Calculator Argument. 17. Make Sure your Calculator Argument reads as: 18. Click Ok to Apply the Calculation. 19. Close the Attribute Table. 20. Click on the Display Tab of the Table Of Contents Panel. Note that you have now created and calculated the values for two different attributes of your data. One variable, UNDER18, was calculated from other variables in the dataset. The other, AREA, was created using the Calculate Geometry Tool, which is a new feature in ArcMap 9.2. [AGE_UNDER5] + [AGE_5_17]
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
122414998.doc
Page 17 of 26
Labeling Features
1. Right-Click on the Schools Layer and Open the Properties. 2. Click on the Labels Tab. 3. Check the Label Features In This Layer Checkbox. 4. Change the Text Symbol to Bold. Click Apply.
Adjusting Symbology
1. Click on the Symbology Tab of the Schools Layer Properties Dialog. 2. Click on the Symbol Button to Open the Symbol Selector. 3. Scroll Down and Select the School2 Symbol. 4. Click Ok twice to Apply the Changes and Close the Properties Dialog. 5. In the Table Of Contents Panel, Click on the Symbol under the Railroad Layer. This is an alternative way to open the Symbol Selector directly. 6. Change the Color of the Symbol for the Railroads Layer. 7. Click Ok to Apply the Changes.
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
122414998.doc 5. Under Classification, Set the number of Classes to 10 6. Click on the Classify Button. 7. On the resulting
Page 18 of 26
Classification Dialog, Click on the Exclusion Button. 8. Enter UNDER18 = 0 as the Argument in the Data Exclusion Properties Dialog. 9. Click Ok twice to Return to the Properties Dialog Box. 10. Select an appropriate Color Ramp from the Drop-Down Menu. 11. Click on the Label Field Header and Select Format Labels. Under Rounding, Set the Number Of Decimal Places to 1. Click Ok. 12. Click Ok to Close the Properties Dialog for the AOI_Census_Blocks_SF1 Layer and Apply the Symbology.
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
122414998.doc municipalproperty and DEPProperty Layers to Select them. 2. Right-Click on one of the Layers and Select Group. 3. Click-And-Drag the New Group Layer above the AOI_Census_Blocks_SF1 Layer.
Page 19 of 26
4. Turn On the Visibility of the DEPProperty and municipalproperty Layers by Clicking on their Visibility Checkboxes. 5. Click on the Symbol for the CT_Towns Layer and Change its Symbol Color to Light Grey.
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
122414998.doc
Page 20 of 26
Note that you are now presented with the Layout Toolbar. This toolbar is only available in Layout View. Some of the Tools on this toolbar work in a way that is similar to the Tools Toolbar, but with one critical difference these tools act on the page rather than the data. 2. Click on the Layout Zoom Tool and Drag a Box across the top half of the Layout Display. Layout 3. Click on the Page Extent Button to Return to the Full View of the page. Zoom Note that these tools did not change the scale or extent of the data. Layout Pan Page Extent
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
122414998.doc
Page 21 of 26
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
122414998.doc
Page 22 of 26
Map Title
1. On the Main Menu, Go To Insert>Title. A Highlighted Text Box will be inserted into the Map Layout. 2. Double-Click on the Text Box to Open its Properties. 3. Change the Text to Under 18 Population Density of New Haven, CT using carriage returns to Insert line breaks. 4. Leave all other Settings at their Default, but note that there are many options for altering the title text. 5. Click OK. 6. Use the Select Elements Tool to Move the Map Title to an appropriate position above the Data Frame.
North Arrow
1. On the Main Menu, Go To Insert>North Arrow. 2. In the North Arrow Selector, Select the first North Arrow in the list. 3. Click Ok. A highlighted North Arrow will be inserted into your Map Layout (probably at the worst possible place). 4. Use the Select Elements Tool to Move the North Arrow to a more appropriate part of the map. 5. If necessary, or desired, you can Use the Blue Resize Handles to Change the Dimensions of the North Arrow. 6. Since the North Arrow is an Object, you can Access its Properties by Right-Clicking and Selecting Properties.
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
122414998.doc
Page 23 of 26
Legend
1. On the Main Menu, Go To Insert>Legend to Open the Legend Wizard. 2. Highlight and Remove all layers but the AOI_Census_Blocks_SF1 Layer from the Legend Items List Using the < Button. 3. Click Next twice. 4. Select a 1pt Frame. 5. Select a White Background. 6. Click Next. 7. Change the Area Patch to the Urbanized Area shape. 8. Click Next. 9. Accept the default settings for the final window and Click Finish. 10. Using the Select Elements Tool, Move the Legend to the lower right corner of the map layout.
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
122414998.doc
Page 24 of 26
12. In the Table Of Contents Panel, Click once on the AOI_Census_Blocks_SF1 Layer Name, Wait, then Click Again to Highlight the Text. 13. Change the Name of the layer to Census 2000 14. Highlight the UNDER18 / AREA Text beneath the Layer Name and Change it to Under 18 per Sq Mi. Note that the text changes with the alteration of the Table of Contents Panel.
Neatline
Finally, we will insert a neatline around all of the Map Elements as a way to finish the map, but also to control the clipping that will occur when we export to JPEG. 1. On the Main Menu, Go To Insert>Neatline to Open the Neatline Wizard. 2. Select a 4pt Border. 3. Select a Hollow Background. 4. Make Sure that the Place Around All Elements Radio Button is Checked. 5. Click Ok.
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
122414998.doc
Page 25 of 26
Exporting to JPEG
1. Save your work by Clicking the Save Button.
2. On the Main Menu, Go To File>Export Map. 3. Browse to the C:\temp\your_initials\01-Introduction to ArcGIS\ Folder. 4. Change the Save as Type: Drop-Down to JPEG (*.jpg). 5. Set the Resolution to 150 dpi. 6. Check the box to Clip Output to Graphic Extent. 7. Click on the Format Tab, under Options. 8. Make sure that the Color Mode is set to 24-bit True Color. 9. Click Save. 10. Browse to the C:\temp\your_initials\01-Introduction to ArcGIS\ Folder and double-click on the Intro_to_ArcGIS.jpg to Open it.
Exporting to PDF
1. On the Main Menu, Go To File>Export Map. 2. Do Not Check the Clip to Graphics Extent box. 3. Change the Save as Type Drop-Down to PDF (*.pdf). 4. Click Save. 5. Browse to the C:\temp\your_initials\01-Introduction to ArcGIS\ Folder and double-click on the Intro_to_ArcGIS.pdf to Open it.
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
122414998.doc
Page 26 of 26
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707