In this tutorial you will georeference an analogue Geohazard map over Laurel. Thus, the output of this tutorial is a georeferenced map that can be used for further digitizing. However, the objective of this tutorial is only to introduce you to the steps of Georeferencing. Therefore, the exercise won’t include more than Georeferencing.
Getting started
1. Open ArcMap, select a new empty map. You will now save the map file. Select File > Save as… from the menu bar. Browse to the folder C:\CLUP_EXERCISE_DATA\ and type ‘Georeferencing_v1.mxd’. Click Save/OK.
2. Add the image file, GeohazardmapLaurel.jpg to ArcMap. . Click on the add data button
and browse to C:\CLUP_EXERCISE_DATA\03_EN\ and select the file. Click OK. (The image is added to the workspace, see below.)

3. In the menu bar select View > Toolbar > Georeferencing to get the Georeferencing tool bar. The Georeferencing tool bar will appear on your screen. (See image below.) You can drag and drop the tool bar to a suitable place within the ArcMap window.

In our image GeohazardmapLaurel.jpg we have a grid that we will use to select control points (see image below).
Image with four (4) control points

Table with our control points’ coordinates
Adding Control points
4. Click on the Add control points button in the Georeferencing tool bar (see image below).

5. Zoom extensively into control point number 1 (upper left point, refer to the image with our control points above). Place the cursor as accurately as possible on the point (see example below). Click the left mouse button once.

6. Move the cursor a short distance in any direction, then right-click. You see a line between a green point and a red point and a menu with two alternatives appear where the cursor is. Select Input X and Y… The Enter Coordinates window will appear, see below.
step6
7. Enter the coordinates for the first control point (refer to table above). Then click OK.
8. Repeat step 4-7 for the three remaining control points.
9. Now you will verify that you entered the correct coordinates. To do this, click on the view link table button on the Georeferencing toolbar (see image below).

10. The Link Table window appears (see image below). Verify that you entered the correct coordinates. If you have made a mistake it’s easy to correct the coordinates by clicking in the coordinate columns (X Map or Y Map). You can also delete a control point by selecting the appropriate row in the Link Table window and pressing either Delete key on your keyboard or the Delete button, see second image below. If you do so, you have to repeat step 5-7 for the point that you’ve deleted.


11. Check the Total RMS Error, which is found right above the OK button in the Link Table window. If this value is much higher than --- you have done something wrong with one or more control points. The point(s) with a high value in the Residuals column must be deleted and then re-added following step 4-7 again. If the Total RMS Error is acceptable click on OK to close the link table.
Rectification
12. Select Georeferencing > Rectify… (see image below).

13. The Save As window appears. Don’t change any of the default settings (if they are set as in the picture below). Click Save to start the rectification.

14. Select Georeferencing > Update Display to view your results. The Georeferencing procedure is now finished.

Getting started

Creating New Shapefile

When the Properties for Spatial Reference window first opened, three alternatives were given: Select; Import; New. A smooth way to set the coordinate systems is to use the Import alternative. You will browse to an already existing shape-file and copy its spatial properties to the new shapefile. In the best case scenario a CLUP dataset collection will only consist of dataset in the same coordinate system and the Import alternative will be very easy. In other cases you must of course be aware of and choose a shapefile with the correct spatial settings.
Adding Field to the Shapefile

You are done with this exercise.
In this exercise we will build up an attribute table for a planning subject and make necessary arrangements so the data can be linked to the features of the subject on the map in the GIS software.
ARRANGING THE DATA
Keywords: Excel, dBASE
Software: Excel, ArcGIS 8/9.x
Preconditions: Folder directories for the CLUP has been created previously; see 3.04.02 Data Preparation for more information. The data to be encoded has been gathered from the field. Spatial layers needed have been prepared beforehand.
The building up of the attribute data will be done in Excel.
The ‘Instructions’ sheet in Quick Look gives you information what to consider at data gathering and where to find the templates you need for the specific table.
From these instructions this table IS01 is defined as a Key table meaning that all LGU’s should prepare it for analysis purposes in the CLUP. However, some of the columns (“A”) might have a light yellow colored background (meaning the data is “Optional”) as opposed to the light green colored columns (it is a “Required” data). In the example below which describes segments in a road network, the data for ‘width’ (of the road) column may not be required if it is very hard to get. Each column has corresponding codes (“B”) for the Field Names.
The data to be encoded for the respective road segment is (hopefully) prepared by the caretaker of the municipal road management (the Engineering Department). He/she is the custodian of the attribute data and in this case he/she has managed to get the data. On the other hand, if in case the road has no individual name, that column is blank. So the populated dataset to start from will look something like this:

The data to be encoded for the respective road segment is (hopefully) prepared by the caretaker of the municipal road management (the Engineering Department). He/she is the custodian of the attribute data and in this case he/she has managed to get the data. On the other hand, if in case the road has no individual name, that column is blank. So the populated dataset to start from will look something like this:

For example, you can see that the road segment with ID 101 is a municipal road, has a gravel surface and is in a poor condition.
The next step is to convert the file to dBase format. Unfortunately dBase is an old MS Dos format which means that the dataset must be very ‘clean and appropriate’ to be used.
In the example below the data has been encoded already digitally so there is an opportunity to start from that. If the data is still in a paper format, it is recommended to use the GIS Table to encode the data and save it in dBase format. (How to will be explained later).
Highlight and copy the cells that should be found in the dBase file:

Open a new Excel file and paste in cell A1. Save the file with a filename in the specific CLUP GIS folder as recommended in the Quick Look.
Before saving the file in dBase format, some pointers are needed to be remembered:

The field name of each column must be in a single cell dBase format. Highlight the column head and do procedures A, B and C to format the field name:

Only one sheet is allowed in dBase. Remove sheet 2 by right clicking on the flip and choosing delete. Do the same procedure with sheet 3:

Highlight the cells with the information, then from the File menu select Save As…, navigate to the CLUP directory, (1) locate the specific sector you are working on and into the GIS folder. (2) In the Save as type select dBase4 format and (3) type the name of the file preferably the same as the Excel file:

Click Save:

A Dialogue box will appear, informing you to save only the active sheet.
Click OK:

Another Dialogue box will appear asking if you want to keep the workbook in its existing format.
Click exit (1) and Yes (2)

A Dialog box will appear asking if you want to save changes you made to the file.
Click YES.

Again the Dialog box informing you that the only one to be saved is the active sheet will appear.
Click OK again.

Then a another Dialog box informing you that the file may contain features that are not compatible with DBF 4 (dBASE IV) and asking if you want to keep the workbook in that format.
Just click YES.
Please remember to have Excel closed when you work with ArcView.
If you want to revise a .dbf file you should close ArcView before you open Excel.
Now it is time to join the attribute data with the shape file you have made for the road:
Open ArcView and open the project you were working on before. Right click on the road layer and select ‘Join…’:


Let’s see how the table looks like by opening the Attribute Table.

The columns from the dbf table have been integrated into the road segment table:

To make it easier to read we need to hide some columns and give proper alias. Right click on the file name and select ‘Properties…’:

Select Field. Select name by name (A), un tic if it should not be visible (B), if it will be kept visible type an alias in the box (C) and click OK (D):

Introduction
|
1. Open the file BI04.xls located at C:\CLUP_TRAINING_DATA\00_BI\02_Demography\Tables\.
Notice the three tabs located at the bottom of your worksheet. They are:

Your worksheet heading should look similar to the image below.

2. Next, open the file BrgyPop.xls located at C:\CLUP_TRAINING_DATA\00_BI\02_Demography\Tables\.
3. From this worksheet, highlight the data entries of field BRGY_ID, which is Barangay ID. Click Edit from the menu and then select Copy from dropdown menu.
(See image below)

4. Switch back to workbook BI04 by clicking the button, located at the bottom of your worksheet.
(See adjacent image)
5. Be sure to place the cursor in the second row of column B_ID, as shown in the image. Click Edit from the menu bar, then select Paste or press Enter.
6. Repeat Steps 3 and 4 to copy and paste the data entries of the following:
In the case of the field DENSITY in worksheet BrgyPop.xls, wherein the values are generated by formula, perform the following tasks otherwise it will display a different value in the target worksheet.

6.2 Repeat Step 4. Place the cursor in the second row of column B_POPDEN, as shown in the image, then right click. Select Paste Special… from dropdown menu.

6.3 A Paste Special window will appear. Select the radio button of “Values”. Then, click OK button.

7. When you are done, save it to dbf format by highlighting the worksheet, as shown in the image. Click File from the menu then select Save As…

8. From Save As window, browse to the folder in Save in: list menu where you want to place the file, then type appropriate filename in the File name: list menu.
(e.g. BrgyPop_Dense) Select DBF 4 (dBASE IV) in the Save as type: list menu. (See image below)
9. Exit Excel.
10. Open ArcMap. A pop up window with three options will appear. They are:
By default, A new empty map is selected. Click OK.
11. Select File from the menu, then choose Save As. . . from drop down menu.
12. From Save As window, click the Save in: list menu to browse to the folder where you want to place the file. Type appropriate file name (e.g. BrgyPop_Density) in File name: list menu. Then select ArcMap Documents in the Save as type: list menu.

13. Next, click File from the menu bar, then select Add Data in dropdown menu to add the layer bndbgy_pgon located at C:\Training\PopDensity\Shapefiles.

14. From Add Data window, click Look in: list menu then browse to the folder where the file is located. Click the layer to select, then click Add button to add the layer in your workspace.

15. In the Table of Contents, click to highlight the layer. Right click and select Label Features.


16. In Convert Labels to Annotation window, just select In the map option.

17. Repeat Steps 13 & 14 to add a dbf file (BrgyPop_Dense.dbf) in the Table of Contents located in C:\Training\PopDensity\Tables.
18. In Table of Contents, click the dbf file to select, then right click. Choose Open in the pop up menu to open the table in Arcmap.
(See image)

19. Repeat step 18 to open the attribute table of the layer file (bndbgy_pgon). This time select Open Attribute Table in pop up menu, as shown in the image,
By comparing the two tables, they have an identical column in terms of data entries which are unique to both of them. They are BRGY_ID and B_ID fields respectively which are Barangay ID. (See image below)

20. Close both the tables. In the Table of Contents, click the bndbgy_pgon to select. Right click and select Joins and Relates then Join. . . respectively.

21. A Join Data window appears. Select Join attributes from a table in the first list menu. For the other numbered list menus (1-3), select the ff:
Click OK.

You will notice that nothing happens after you click the OK button. But when you open the attribute table of the layer, you see a lot of strangely named columns which is difficult to interpret due to the joining process.
22. The next step is to rename the layer. In the Table of Contents, click the layer to select, then right click. Choose Properties in the dropdown menu.
23. In Layer Properties window, select General tab. Type to rename the layer
(e.g. Population Density By Barangay) under Layer Name: box, as shown in the image below.

Don’t click Apply or OK yet!
24. In the same window, select Fields tab. You will now choose which fields will be visible and assign a proper alias to them, and which fields should be hidden, by simply clicking the checked box to uncheck it.
The following fields that should be selected and assigned proper alias are:
After cleaning and improving the joined table, the result should like this:

25. Close or minimize the attribute table.
The next step is to change the symbol of the layer “Population Density By Barangay” for a better presentation.
26. Right click the layer in the Table of Contents, then select Properties in dropdown menu.
27. From Layer Properties window, select Symbology tab. Then, do the following selection as shown in the image below:
7.3.5 Step 27
28. A Classification window will appear. Click to mark a check under “Show Mean”.
Notice the dashed gray line that will appear which is the “Mean”. Click OK.
(Refer to image below)

29. Finally, click Apply and OK button when the Layer Properties window appears.

[listIf your workspace looks similar to the image below, you have done it successfully.
Congratulations!
Don’t forget to save your effort.