03-Geocoding & Georeferencing in ArcGIS
03-Geocoding & Georeferencing in ArcGIS
Doc
Page 1 of 10
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
03-Geocoding & Georeferencing In Arcgis.Doc tutorial, we will assume that you are using the C:\temp folder of the machine you are working on. 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.
Page 2 of 10
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
Page 3 of 10
Note the fields included in this reference data set. This streets reference data is topologically integrated, meaning that there is information encoded into the dataset. Fields included for each street segment that are essential to the geocoding process include: 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. 3. Close the Attribute Table.
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
03-Geocoding & Georeferencing In Arcgis.Doc 7. In the first Create New Address Locator Dialog Window, Select US Streets With Zone. 8. Click Ok. 9. In the next dialog window, populate the properties of the Address Locator as shown in the image, and as noted below:
Name: New Haven County Address Locator Check Store Relative Pathnames Reference Data: C:\temp\your_initials\03Geocoding_and_Georeferencing\Geocoding\Data\S hapefile\09009lkA.shp Fields: [ensure the fields are mapped as shown in the image on the right] Matching Options: Spelling Sensitivity: 50 Output Options: Side Offset: 5 Feet Output Fields: Check All
Page 4 of 10
10. Click Ok to Create the Address Locator. 11. Make sure that the New Haven County Address Locator is added to the C:\temp\your_initials\03Geocoding_and_Georeferencing\Geocoding\Data\ Address_Locator Folder.
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
Page 5 of 10
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
03-Geocoding & Georeferencing In Arcgis.Doc 4. Click on the Options Button at the bottom of the attribute table and select Switch Selection. Note that all of your points in the Map View window are now selected, as well as their corresponding records in the attribute table. 5. Close the Attribute Table. 6. Right-Click on the Geocoding_Results_01 Layer in the Table of Contents and Select Data>Export Data.
Page 6 of 10
Since you have an active selection Selected Features will be the default action for this dialog box. 7. Browse to your C:\temp\your_initials\03Geocoding_and_Georeferencing\Geocoding\Data \Shapefile\ Folder and Save the New Shapefile as New_Haven_County_Nursing_Homes_Clean.shp. 8. Click OK to Export the Data. 9. Click Yes when prompted to add the new layer to your map. 10. You can now Turn Off the Visibility of the original Geocoding Result: New_Haven_County_Nursing_Homes_Geocoding_Result_01 Layer, or Remove it altogether. 11. Save your work.
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
Page 7 of 10
4. Right-Click on the New_Haven_County_Nursing_Homes_SF1 Layer and Open the Attribute Table. Note that each of your Nursing Home records now also contains the Census demographic attributes of its corresponding block group. 5. Save your work.
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
Page 8 of 10
2. In the Main Menu, Go To View>Toolbars> and Turn On the Georeferencing Toolbar. If it is floating, you can dock it in the position of your choice.
3. Make sure that the New_Haven_1984.jp2 layer is Selected in the Layer: Drop-down of the Georeferencing Toolbar. 4. Click on the Georeferencing Button and Select Fit To Display to bring your New_Haven_1984.Jp2 Layer into view. 5. Use the Zoom Tool to Zoom into the bottom left corner of the New_Haven_1984.Jp2 Layer.
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
Page 9 of 10
Note that in some cases, the image may be flipped so that you have a vertical mirror image of the map. You can resolve this by clicking on the Georeferencing Button and going to Flip or Rotate>Flip Vertical. You should now be able to see that the scanned image of this 7.5 Topo map contains information about the Projection, Coordinate System, Datum and reference grid that the map contains. This type of information is available on most modern maps created by the USGS and its international equivalents. This information can be used to prepare the reference files to be used for georeferencing so that the most accurate result possible is attained. In this case, reference data (NH_UTM18N_NAD27_1000m_Grid) was created in the UTM Zone 18n Coordinate System, using the NAD 1927 Datum, since this is the geographic reference used in the paper map. Likewise, 1000 meter graticules were used, as in the scanned image, to provide a reference grid comparable to that in the USGS Topo map. Note that there is more than one reference grid on the USGS Topo map, but we have chosen the one in meters. Also note that at each corner of the map image, there are Latitude Longitude Coordinates. These coordinates have been provided in the CSV file NH_Topo_1984_corner_points.csv.
6. Click on the Source Tab at the bottom of the Table of Contents. Find the NH_Topo_1984_Corner_Points.Csv Table, which should be at the bottom of the Table of Contents. 7. Right-Click on the NH_Topo_1984_Corner_Points.Csv and Open the Table. 8. Notice that the Table contains the Lat/Lon Coordinates of the corners of the topo map. Close the Table. 9. Right-Click on the NH_Topo_1984_Corner_Points.Csv Layer and Select Display XY Data. 10. In the Display XY Data dialog box, Click on the Edit Button, under Spatial Reference of Input Coordinates. 11. Click on Select and Browse to Geographic Coordinate Systems>North America>North American Datum 1927.prj. 12. Click Add. 13. Click OK twice. You should now have a set of four points in your Map Document, to use as reference points for georeferencing. 14. If you have not already, Zoom into the lower left corner of the scanned map, so that you can see the corner of the map image and the XY
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707
03-Geocoding & Georeferencing In Arcgis.Doc point you have added to the map layout.
Page 10 of 10
15. Click on the Georeferencing Button and Deactivate the Auto Adjust Feature in the Georeferencing Toolbar. This will prevent some fairly strange flip-flopping, that sometimes happens when adding control point (especially the second one). 16. Activate the Add Control Points Tool on the Georeferencing Toolbar and Add a Control Point by clicking on the scanned map corner first, then click on the corresponding reference point. 17. Use the Pan Tool to pan to the lower right corner of the map, making sure that you can also see the reference point and corner at the same time. You can use the to zoom out until you can Fixed Zoom Out Tool see both. 18. Once again, Activate the Add Control Points Tool on the Georeferencing Toolbar and Add a control point by clicking on the scanned map corner first, then Click on the corresponding reference point. Click Here 2nd 19. Repeat the preceding steps for the remaining two reference points. Alternating between using the Pan Tool and the Fixed Zoom Out Tool to Adjust your view of the map (You could also right-click on the New_Haven_1984.Jp2 Layer in the Table Of Contents and Zoom To Layer). 20. Once all four control points have been added, Click on the Georeferencing Button and Select Update Georeferencing. This will write the spatial coordinates of the scanned map to a file that allows you to add the image to Arcmap documents along with its geographic referencing. 21. Zoom into any area along the edge of the scanned map and observe whether the Blue UTM Tick Marks on the scanned image are overlaid by the NH_UTM18N_NAD27_1000m_Grid. 22. If everything has gone well, they should be VERY CLOSE! 23. Save your work.
The Yale Map Collection At Sterling Memorial Library 130 Wall Street, Room 707