CIVE7342 Lab4 Preparing Geodatabase
CIVE7342 Lab4 Preparing Geodatabase
Lab 4: Prepare GIS data for maps of kids with elevated levels of lead
Lead poisoning can cause lifelong learning and behavior problems. Although highly toxic lead-
based paint was banned in 1978, according to the Centers for Disease Control and Prevention
(CDC, https://www.cdc.gov/lead-prevention/prevention/paint.html), approximately 29 million
housing units have lead-based paint hazards including deteriorated paint and lead-contaminated
house dust, and about 2.6 millions of these are home to young children. Suppose that a lead hazard
prevention program needs your help to prepare data for two maps for local pediatricians showing
how elevated levels of lead and poor housing conditions may be affecting children. In this lab, raw
data written in text or excel formats will be provided. You will convert the data to the geodatabases
in ArcGIS Pro for use in mapping cases of elevated levels of lead poisoning.
Get set up
Create an ArcGIS project for lab4.
• Start ArcGIS Pro, click “Map” under “New Project”. Create a new project and name it with
Lab4_YourFirstName_YourLastName.
• Download Lab4.zip from Canvas, extract the two data folders to your lab4 project directory.
1
CIVE 7342: Engineering GIS
There may be multiple attributes that can be used to join the tables. Here is an example of using
the geographic identifiers to join the tables:
• Select Tracts in Contents, then Data / Joins / Add Join. Input Table: Tracts, Input Join Field:
GEOID10, Join Table: Cases, Join Field: Tract10. Check “Keep all input records”. Validate
Join / OK.
2
CIVE 7342: Engineering GIS
*Note: If the join had no matches, one possible reason is that the fields used to join tables
have different data types (go to Fields / Data Type to check for that). Here are two means
to change the data type of an existing field in ArcGIS Pro: https://support.esri.com/en-
us/knowledge-base/how-to-change-the-data-type-of-an-existing-field-in-arc-000023089
• Repeat the above step to join the Complaints and the Median_Year_Built to the Tracts.
When validating these joins, if you see “WARNING 002988: The Name Contains Invalid
Characters”, it may indicate that there are multiple OBJECTID fields after the previous
join, i.e., there are two OBJECTIDs in Tracts after the first join, after the second join, there
are three OBJECTIDs, etc.; You can ignore the warning or delete the duplicated fields.
• Export the Tracts (with the newly joined tables) to your geodatabase as
Tracts_Cases_Complaints. This will permanently join the tables and they will now be part
of the new feature class’s attribute table. Data / Export Features
• Delete redundant attributes of the Tracts_Cases_Complaints table.
• Observe the changes in the variable values and the total record numbers in Cases,
Complaints, and the joined table. Hint: Any records from Complaints that are from outside
the county will be dropped, and any tracts within the county that don’t have complaints
will have null values for those tracts.
• In Tracts_Cases_Complaints, change the <Null> values of Complaints to 0. Here is an
example of how to change values: https://pro.arcgis.com/en/pro-
app/latest/help/data/tables/find-and-replace.htm
3
CIVE 7342: Engineering GIS
What to turn in