Professional Documents
Culture Documents
Collect the zip folder containing the tutorial data (ArcGISBasicTutData.zip) from the
desktop, if you are at the workshop.
Or you can download it from the Library Geodata Server (http://inf oguides.gmu.edu/gis>
click on the first link on the Key Links on your left hand side. You need your GMU E-mail
login information to download Basic ArcGIS exercise data.)
3. Use a zip tool such as WinZip to extract the files (VA County shape file) to your own
folder.
4. Open ArcMap. For most computers this can be done by going to Start->Programs>ArcGIS>ArcMap 10.1
5. Click the Add Da ta button
located on the toolbar.
6. Navigate to your local folder where you extracted the above files using Connect to your Folder.
7. Click the Add data button again and add the VA_CountyPopulation.xls file.
8. Right click on the tl_2010_51_county10.shp layer on the table of contents menu on
9. Click on the General tab of the layer properties dialog box and change the layer
name as VA_County.
Joining Exce l tables to Shape file tables
You are going to move VA County population data to the attribute table of the VA_County
layer based on the common variable with same property.
1.
Right-clic k VA_County layer in the table of contents aga in, point to Joins and
Relates, and clic k Join.
2.
3.
4.
5.
6.
Clic k the dropdown arrow in the first te xt box and clic k Join attributes from a table.
Clic k the dropdown arrow in the next text box, scroll down, and c lick GEOID10.
Clic k the dropdown arrow in the next text box and c lick VACountySeniorPopulation$.
In the ne xt te xt box, c lick JointID.
Click OK to join the table to the la yer.
The n right click the VA County laye r again and se lect Ope n Attribute table.
If you scroll to the end of the table, you will notice the newly joined data available in the shapefile.
Now add another field, called SenPopDen by using the following steps.
1. In the Table Options choose Add Fie ld, T ype SenPopDen as the fie ld na me.
The two new fields should be appeared at the end of the attribute table.
Click the Editor Toolbar button on the Standard toolbar. If the toolbar is not present, Right Click on
the Standard toolbar to make sure it is checked
2.
3. Right-click Senior_Pop and click Field Calculator. The Fie ld Calculator appears.
7. Click Ok. When the dia log box closes, you can see the senior population values for each county in
the table.
Lets now re peat the above steps to ca lculate the senior population percentage
1. Right-click SenPopDe n and click Fie ld Calc ulator. The Field Calculator appears.
(Make sure you click on the Clear button to clear the already present formula
before you proceed this)
Senior_Pop needs to represent senior population percentage, which is calculated
using the below formula
[Senior_Pop] / [PCT005001]
Do the same step you did for the above using field calculator
You will see percentage values for each county in the table.
3. Clic k Quantities in the Show box on the left. Graduated c olors are automatica lly highlighte d.
4. Click the Value dropdown arrow and click SenPopDen as the field to use to shade the layers.
5. Clic k the Color Ra mp dropdown arrow a nd choose a color ra mp.
ArcMap chooses a classification scheme and the number of classes for you. You can modify these by
clicking the Classify button on the right in the Layer Properties dia log box. Click on and select
Quantile classification to see how it looks. For now, just use the default classification.
6. Now we see that the percent data is not displayed correctly, to correct this select the Fields in the
Layer Properties window.
7. Then select the Senior Population Percent column and then click on the ellipsis button next to
the number format field on the right panel.
8. Select the percentage format in the left panel of the number format dialog window. Also sele ct the
The number represents a fraction radio button on the right panel.
9. Click on the Numeric Options button. Then change the number of decimal places from 6 to 1.
10. Then click OK twice>click Apply to see the new percentage displayed correctly (hint: you have to
click symbology tab again and click on quantities and graduated colors, and choose the variable,
Senor population percent again to reflect the change..
11. Yo u w ill no t ic e t he ne w ly c re a te d t he ma t ic ma p d is p la ye d a s be low .
2. Then, File>Export Data> Save your map in pdf or bmp format to publish or insert to other
window environment
Labeling the counties (This is an Optional Exercise.)
On the View menu, select Data View
1. Right-Click VA_County in the table of contents and select Properties.
2. In the layer properties dialog box select Labels tab.
3. Check the Label features in this layer check box (in the upper left corner).
4. Select the appropriate field to label in the Label F ield dropdown box. In this example,
select N AME10 to label the counties.
5. Click OK twice and have a look at the labels.
Customizing the labels (This is an Optional Exercise.)
If you feel that your labels look messy, you can improve their appearance by placing only
some of the labels and also creating a halo (a white outline) around labels.
1. Right-Click VA_County in the table of contents and select Properties.
2. In the layer properties dialog box select Labels tab.
3. Click on the Placement Properties button to view the Placement Properties
dialog box.
10
3. Click the Symbology tab. All tracts are currently drawn using the same symbol (the same solid fill
color)
4. Select Categories on the left pane and then select Unique Values option.
5. Select NAMELSAD10 in the Value fie ld drop down box.
6. Then click on Add all va lues button.
11
7. You will see here that there are 134 different rows of data added
8. Select all the County names by holding down the Ctrl key and clicking on the va lue of the rows
with county na mes.
9. After selecting all the county data right click on a selected row and select Group Values option
10. You will see that all county data are collected into one field. Here there are 94 counties data. Click
on the labe l fie ld on the that row and enter Counties as the label
11. Similarly select all the remaining c ity data and group the m in to one row. Then rename the label as
Cities.
12