Attribute Extraction
Attribute query extraction You have tracts for an entire state, but want tracts for one county only
Attribute query extraction Select tracts by County FIPS or ANSI ID Cook County = 031
Attribute query extraction Cook County tracts are selected Export to new feature class or shapefile
Export selected features
Add new layer Cook County tracts
Select by Location
Select By Location City of Pittsburgh tracts within municipality
Select by Location Select municipality of Pittsburgh first
Select by Location
Selected Features
Other Proximity Queries
Points Near Polygons Schools near parks
Points Near Polygons View schools in attribute table
Points Near Points Schools are near convenient stores Schools within 300 feet of a convenience store
Polygons Intersecting Lines Neighborhoods that Intersect Streets Transportation planner wants to know what neighborhoods are affected by construction project on major road
Lines Intersecting Polygons Streets or sidewalks that intersect floodplains Public works officials need to know what streets might flood
Polygons Intersecting Polygons Buildings completely within zoning area City planners want to know what buildings are completely within a zoning area
Clipping Features
ArcToolbox
Clip Acts like a “cookie cutter” to create a subset of features. Clip features (Central Business District) Output features (CBD streets) Input features (streets)
Clip vs Select By Location Clean edges Looks good Select by Location Dangling edges Better for geocoding
Clip vs Select by Location Penn Avenue – ranging from street segment 1000-1098
Dissolving Features
ArcToolbox
Dissolve Create regions using U.S. States Use SUB_REGION field to dissolve Sum population
Dissolve Results States dissolved to form regions Population summed for each region
Appending Features
ArcToolbox
Append Appends one or more data sets into an existing data set features must be of the same type input datasets may overlap one another and/or the target dataset TEST option: field definitions of the feature classes must be the same and in the same order for all appended features NO TEST option: Input features schemas do not have to match the target feature classes's schema
Append DuPage and Cook County are combining public works and need a new single street centerline file
Append Append will add DuPage streets to Cook County Streets
Resultant Layer One street layer (Cook County) with all records and field items
Merging Features
ArcToolbox
Merge Combines multiple input datasets of the same data type into a single, new output dataset
Resultant Layer New merged voting district layer
Union Features
ArcToolbox
Union Overlays two polygon layers resulting output layer has combined attribute data of the two inputs contains all the polygons from the inputs, whether or not they overlap
Union Neighborhoods and zip codes
Union Better describes characteristics of a neighborhood. Central business district 15222 vs 15219
Union Attributes tables contain different fields and data
Union Results New polygons with combined data
Intersecting Features
ArcToolbox
Intersect Floodzones and buildings City manager needs to know what buildings intersect flood zones and wants the flood data attached to each intersecting building
Intersect Result Only building polygons that intersect flood zones with combined data fields
Model Builder
Model Builder Workflow processes can be complicated Automates and strings functions together Copyright – Kristen S. Kurland, Carnegie Mellon University
Model Builder Problem: You have census tracts from a state with population data but only want population for neighborhoods in a small region Solution: Use Model Builder functions to clip census tracts and union to aggregate data to neighborhoods Copyright – Kristen S. Kurland, Carnegie Mellon University
Model Builder Example Begin with census tracts for the state of Pennsylvania Copyright – Kristen S. Kurland, Carnegie Mellon University
Model Builder Example Clip only tracts whose centers are located within Pittsburgh neighborhoods Union the census tracts and neighborhoods Copyright – Kristen S. Kurland, Carnegie Mellon University
Model Builder Example Run the model… Copyright – Kristen S. Kurland, Carnegie Mellon University
Model Builder Example Display and query the results Copyright – Kristen S. Kurland, Carnegie Mellon University