Finding potential sites for a youth center

1.    Create a folder called YouthCenter. On DIA 322 computers, you might want to create this folder in your user Documents folder (e.g. C:\Users\jdoe\Documents\YouthCenter). On the DIA 222 computers, you might want to create this folder on the D: drive under D:\course number\user name\ (e.g. D:\ES212\jdoe\YouthCenter).

2.    Download the data for this exercise then uncompress the file to your newly created YouthCenter directory.


NOTE: This exercise represents a fictitious scenario. It and its data are to be used for educational purposes only.


The city of Waterville's youth center task force has been created to find a suitable location for a new youth center. You are asked to analyze data and provide the city with a map that shows locations that meet their criteria. The criteria are:

1.    Lot must be vacant

2.    Lot must be within 50 meters of a high density youth population census block

3.    Lot must be between 0.5 and 2.0 acres in size


Step 1:        Start ArcMap and open the map document 1

Step 2:        Identify census blocks with high youth population density. 2

Step 3:        Select vacant lots near dense youth population centers. 8

Step 4:        Select vacant lots by size. 11


Step 1:           Start ArcMap and open the map document

Click on the Windows Start menu and select All Programs > ArcGIS > ArcMap.

Open the  Youth_Center.mxd map document.

When the map opens, you will see two layers in the table of contents, but only one layer (Waterville parcels) is displayed.

Step 2:           Identify census blocks with high youth population density

The youth center task force has asked you to locate areas where the youth population is the greatest (a census block is the smallest geographic unit for which the U.S. Census Bureau collects data).

Turn on the Waterville census layer.

By default, the Waterville census feature class is symbolized using a single symbol.

Open the Waterville census layer's attribute table by right-clicking on the layer and selecting Open Attribute Table.


The census data divides the population by age and sex. 

In the Waterville census attribute table, click on the Options button and make sure that Show Field Aliases is checked.

Assigning aliases to field names can be useful when working with shapefile data which restricts field name size and character content.

Next, you will symbolize the Waterville census layer using the Pop5_17 field.  This attribute lists the number of people between the ages of 5 and 17 living in each census block.

Double-click on the Waterville census layer to bring up the Properties window. Select the Symbology tab. Select Quantities then Graduated colors from the Show box on the left.  Use "Pop5_17" for the Value field.

Click OK to close the Layer properties window.


The darkest shaded areas are the ones where the greatest numbers of youth live. Each unit represents a census block.

We would like to use the population data to identify areas of high youth population. However, the map we just created shows census units of different shapes and sizes. This distorts the true distribution of youth. We therefore need to normalize the data to census block surface area.  The Waterville census layer has an attribute called Pop_dens which represents the youth population density (number of youth per unit area m2).

Open Waterville census layer’s Properties window.

In the symbology tab, set the Value field to Pop_dens.

You will change the classification scheme.

Click on the Classify button  .

Select Quantile as the classification method.

Click OK to close the Classification window.

Click OK to Close the Properties window.

Note how different the population density map looks compared to the population count map.

You will create a definition query that will only display the census blocks meeting the city's criteria.

Double-click the Waterville census layer to open its properties window and select the Definition Query tab.

Click on the Query Builder button.

In the Query Builder dialog box, type the following expression in the Expression box:

"Pop_dens" > 0.00016

Click OK to close the Query Builder window.

Click OK to close the layer Properties window.

You now only see a subset of the Waterville census layer. Only those polygons meeting the defined criteria are displayed. Though the underlying data file has not been changed (i.e. no polygons have been deleted from the original data file), the current map document session will treat this layer as though the “invisible” census blocks do not exist. This is a convenient alternative to creating a new data file from a census block subset.

Step 3:           Select vacant lots near dense youth population centers

Turn off Waterville census and turn on Waterville_parcels (if not already turned on) by unchecking and checking (respectively) the checkbox next to each layer in the TOC.

You will now select all polygons from the parcels layer that are within 50 meters of the census blocks having a youth population density greater than 0.00016 people per square meter.

From the pull-down menu, select Selection >> Select By Location.

In the Select By Location dialog box, populate the fields and check the boxes as shown below.

Click OK.

This last process selected all parcels (vacant or not) that are within 50 meters of the high youth population density census blocks.

However, you are only interested in vacant lots. You will therefore select all Waterville parcels designated as vacant lots from the last selection. Vacant lands are symbolized as green polygons in the map.

Since the following selection processes build on top of existing selections, it is important that you do not unselect features using the unselect tool!

From the pull-down menu, select Selection >> Select By Attributes.

In the Select By Attributes dialog box make sure that "Select from current selection" is chosen as the Method type and the Waterville_parcels is the layer we are selecting from.

Select 'Type' then click on Get Unique Values to list all values associated with that attribute.

Scroll through the list of available attribute values. Note the record ‘Vacant Land’. You want to select all polygons that have a type of ‘Vacant Land’.

Type the following in the expression box:

"Type" = 'Vacant Land'

Click OK.

The number of selected features should have diminished. Only the vacant parcels within 50 meters of the nearest high youth census blocks are displayed.

The final criterion that will need to be met is the vacant lot size restriction.

Again, it’s important that you do not unselect the features you have selected so far before proceeding on to the next step.

Step 4:           Select vacant lots by size

The city of Waterville has a limited budget for this project. It therefore needs to restrict land acquisition to parcels less than 2 acres in size. But the youth center needs to be at least 0.5 acres to accommodate both indoor and outdoor facilities.

The Vacant_lands attribute table has a column called AREA which contains area values for each parcel polygon in units of acres.

Open the "Select by Attributes" dialog (see step 3 if you forgot how to access this dialog) and setup the expression such that only features whose area is less than or equal to 2 acres and greater than or equal to 0.5 acres are selected. Don’t forget to select the method “Select from current selection”.

"AREA" >= 0.5 AND "AREA" <= 2


Click OK.


Open the Waterville_parcels’ attribute table.

In the Table window, click on the show selected records button. This will show only the selected parcels.

The number of selected features is displayed at the bottom of the table. You should find 42 vacant parcels that meet all criteria.

You can also see the number of selected features from the TOC pane.

Near the top of the TOC, click on the “List By Selection” button.

This TOC option displays the layers in your map along with the number of selected features.

The final step will be to export the selected vacant lots to a new layer.

In the TOC, return to the default TOC view by clicking on the “List by drawing order” button.

 Right-click on the Waterville_parcels and select Data >> Export Data.

Name the output shapefile Vacant_lots.shp and place it in your working folder. Make sure that you are exporting “Selected features”.

Click OK.

If asked if the exported data should be added to your map, select Yes.

Finally, change the Vacant_lots layer symbology to a saturated red. Since the parcels are small and do not stick out in the map, you may want to change the transparency level of the Waterville census layer to 70% by opening that layer's Properties dialog box, selecting the Display tab and setting the Transparent value to 70%. If you want to display all census polygons, don’t forget to remove the Waterville census’ definition query in its Properties window.


Step 5:           Optional exercise

In step 2, you used a definition query to isolate all census blocks that had a youth population greater than 0.00016 people/m2. You could have used Select by Attribute to select the census blocks meeting the 0.00016 people/m2 criteria, then perform the Select by Location outlined in step 3 using the selected census block polygons.



 Manuel Gimond, last modified on 8/22/2013