Professional Documents
Culture Documents
Doc
Page 1 of 14
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
Intermediate_GIS_Skills_With_Arcgis_931.Doc
Page 2 of 14
necessary to actually unzip the file for use. This part of the tutorial assumes that you are using Windows built in Compressed File support. 1. Browse into the Folder where you saved the Intermediate_GIS_Skills.zip file. 2. Right-Click on the File and Select Extract All 3. Click Next to arrive at the window shown at the right. 4. Click Next to Extract the File. 5. When finished, browse to the C:\temp\Intermediate_GIS_Skills\ and double-click on the Intermediate_GIS_Skills.mxd Map Document file to open it.
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
Intermediate_GIS_Skills_With_Arcgis_931.Doc
Page 3 of 14
2. Take a few seconds to examine the data available in this dataset. This data describes the demographic characteristics of every Census Block Group in our area of interest. 3. Click the Options Button at the Bottom of the Attribute Table and Select Add Field... 4. Add a Field with Name = AREA, and Type = Float. 5. Click OK. 6. Scroll to the far right of the Attribute Table to view the newly added AREA Field. 7. Right-Click on the Area Field Header and Select Calculate Geometry Click Yes when warned about Calculating Outside and Edit Session. 8. Change the Units to Square Miles US [sq mi]. 9. Click OK. 10. Note that the AREA Field should now be populated with the new values. 11. Close the Attribute Table
13. Click on the Search Tab, at the bottom of the ArcToolbox Panel. 14. Enter union as your search term and click Search. 15. Double-Click on the Union Tool, from the Analysis Tools Toolbox. 16. Select the CT_Major_Basins and CT_Block_Groups Layers as the Input Features.
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
Intermediate_GIS_Skills_With_Arcgis_931.Doc
Page 4 of 14
17. Click on the Show Help>> Button at the bottom of the Dialog Box and note that the Help System is Context-Sensitive. 18. Save the Output Feature Class to your C:\temp\Intermediate_GIS_Skill s\CT_Watershed_Data.gdb and name it Union 19. Leave the remaining options at their default settings. 20. Click OK to Apply the Union Tool. 21. Click Close once the process has completed. 22. You should be left with a new Union Layer, at the top of your Table of Contents.
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
Intermediate_GIS_Skills_With_Arcgis_931.Doc
Page 5 of 14
30. Scroll to the right of the Attribute Table to find the newly added SUBAREA Field. 31. Right-Click on the SUBAREA field header and Select Calculate Geometry 32. Change the Units to Square Miles US [sq mi]. 33. Click OK to apply the calculation. Now we will calculate the proportion of the child area to parent area, which will be used as a weight to apply to the demographics we are interested in. First, we must exclude those polygons that have an AREA=0 (these are coastal slivers and are not important to the results of our analysis). 34. Click on the Options Button and Select Select by Attributes 35. In the Query Argument panel, at the bottom of the Select by Attributes Dialog Box, enter the query: "AREA" <>0 36. 37. This will select only those records that do not have an AREA = 0. 38. Click on the Verify Button to check your SQL Query Syntax. 39. Click Apply. 40. Click Close. 41. Right-Click on the WEIGHT field header and Select Field Calculator 42. Use the Field Calculator to build the following argument: [SUBAREA] / [AREA] 43. Click OK to apply the calculation and note that, because you have an active select, the calculation is only applied to the selected subset of records, thus avoiding a divide by 0 error. 44. Finally, Scroll to the far right of the Attribute Table, Right-Click on the WTPOP field header and select Field Calculator
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
Intermediate_GIS_Skills_With_Arcgis_931.Doc 45. Use the Field Calculator to build the following argument: [POP2004] * [WEIGHT]
Page 6 of 14
47. Save
your work.
Summary Statistics
Now that we have a set of Census Boundary files that correspond to the watershed, and estimates of the population of those new boundary units, we need to summarize those population estimates for each of our watershed units. 48. On the Attribute Table Click the Options Button and select Clear Selection. 49. Close the Attribute Table. 50. Return to the ArcToolbox Search Tab, enter summary as the search term and click Search. 51. Double-Click on the Summary Statistics Tool. 52. Select the Union Layer as the Input Table. 53. Browse to the C:\temp\Intermediate_GIS_Skills\CT_ Watershed_Data.gdb and save the Output Table as Population_Summary 54. Select WTPOP as the Statistics Field, and select SUM as the Statistic Type.
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
Intermediate_GIS_Skills_With_Arcgis_931.Doc 55. Select MAJOR as the Case field. 56. Click OK. 57. Click Close when the tool completes. 58. Click on the Source Tab, at the Bottom of the Table of Contents.
Page 7 of 14
59. Right-Click on the Population _Summary Table and Open it to observe the population counts for the watersheds. 60. Close Attribute Table. 61. Save your work.
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
Intermediate_GIS_Skills_With_Arcgis_931.Doc
Page 8 of 14
the
FNODE This is an identifying number for the point FROM WHICH the street segment begins. TNODE This is an identifying number for the point TO WHICH the street segment extends. FRADDL & FRADDR These are the values of the address range for the given street segment at the FNODE for the LEFT & RIGHT side of the street, respectively. TOADDL & TOADDR - These are the values of the address range for the given street segment at the TNODE for the LEFT & RIGHT side of the street, respectively.
Together, the FRADDL, FRADDR, TOADDL & TOADDR values provide the numeric range of addresses for both sides of a given street segment. This information is used to calculate the percent along the street segment that a given address lays. 2. Close the CT_Streets table.
Intermediate_GIS_Skills_With_Arcgis_931.Doc
Page 9 of 14
attributes to create an explicitly spatial dataset from a dataset with implicit spatial data (street addresses). Note also that the format of the addresses in the table differs from that in the reference street data. This format, where the full street address is concatenated into a single field is how ArcGIS prefers address data. 5. Close the CT_TRI_Facilities table.
7. In the Catalog Tree, at the left of the ArcCatalog application, Browse to the C:\temp\Intermediate_ GIS_Skills\CT_Waters hed_Data.gdb database and find the CT_Address_Locator file. 8. Right-Click on the CT_Address_Locator and open its Properties. 9. Note the mapping ot the attributes from the CT_Streets reference dataset to the necessary geocoding fields. 10. Note, also, that many of the setting can be changed in this dialogue. 11. Click Cancel to close the Address Locator Dialog. 12. Minimize ArcCatalog and return to ArcMap.
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
Intermediate_GIS_Skills_With_Arcgis_931.Doc
Page 10 of 14
Intermediate_GIS_Skills_With_Arcgis_931.Doc
Page 11 of 14
5. Repeat until you have matched as many records as possible. 6. Click on the Close button.
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
Intermediate_GIS_Skills_With_Arcgis_931.Doc
Page 12 of 14
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
Intermediate_GIS_Skills_With_Arcgis_931.Doc 4. Select the CT_Major_Rivers Layer as the Inpurt Feature Source Data. 5. Change the Output Distance Raster to C:\temp\Intermediate_GIS_S kills\Data\Dist2River, saving the output to the C:\temp\Intermediate_GIS_Sk ills\Data\ folder created when you unzipped the tutorial data. 6. Click on the Environments button. 7. Click on General Setting to expand the item, and set the Extent to Same as CT_Block_Groups 8. Click OK. 9. Click OK, again. 10. Turn the visibility of the resulting layer on, if it is not enabled by default. Note that you have created a new raster layer, whose pixels have the value of the distance to the nearest feature in the ST_Major_Rivers layer.
Page 13 of 14
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
Page 14 of 14
5. Change the Output Point Features to C:\temp\Intermediate_GIS_Skills\CT_Watershed_Data.gdb\CT_TRI_Facilities_Clean_Geocodes_ with_dist2river 6. Check the Interpolate values option. 7. Click OK. 8. Dismiss the Datum Warning. 9. Right-click on the new CT_TRI_Facilities_Clean_Geocodes_with_dist2river layer and open its attribute table. 10. Scroll to the far right of the table and note that the RASTERVALU field is populated with the interpolated distance value for the raster cell that each point falls inside.
ArcMap supports long filenames for MXD Document, table and shapefile names. Use this to your advantage by giving these files very specifically descriptive names. Coverage and raster filenames are limited to 13 characters.
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707