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 overview Workflow processes can be complicated Models automate and string functions together Example You have census tracts for a county and want to create neighborhoods for a city Many steps are needed to create neighborhoods (join, dissolve, etc)
Starting map TIGER census tracts and municipalities
Final map Tracts dissolved to create neighborhoods
Crosswalk table Neighborhood names are not included with the census tracts, so a crosswalk table was created with the name of neighborhood for each census tract Some neighborhoods are made of multiple tracts
Set geoprocessing options Geoprocessing, geoprocessing options
Create a new toolbox Catalog
Create a new model Right-click new Toolbox
Add tool to model Add Join Tool To join crosswalk table to tracts…
Set parameter for Join Tool Joins crosswalk table to census tracts
Model steps Add Join Dissolve Remove join
Finished model