Vector Geoprocessing
description
Transcript of Vector Geoprocessing
@ 2007 Austin Troy
@ 2007 Austin Troy
Geoprocessing
Introduction to GIS
• Geoprocessing is the processing of geographic information.
– Creating new polygon features through buffering (e.g. Buffer)
– Breaking features into smaller features (e.g. Clip, Intersect, Union)
• Three general classes of tools
– Aggregating features into larger features (e.g. Dissolve,Merge)
@ 2007 Austin Troy
Introduction to GIS
Geoprocessing
Slide courtesy of Leslie Morrissey
@ 2007 Austin Troy
Introduction to GIS
Geoprocessing in ArcGIS• Perform geoprocessing in ArcGIS
– Create and run a script
– Run tools at a command line.
– Run a tool using its dialog box.
– Build and run a model
@ 2007 Austin Troy
Introduction to GIS
Geoprocessing in ArcGIS• Perform geoprocessing in ArcGIS
– Create and run a script
– Run tools at a command line.
– Build and run a model
– Run a tool using its dialog box.
@ 2007 Austin Troy
Tools: GeoprocessingTools for breaking down the size of map
features: Union, Intersect, Identity, Clip
Tools for increasing the size of map features:Dissolve and Merge (indirectly)
Arc/Info and Arc Toolbox include various other geoprocessing overlay operations, such as Update and Dissolve Regions
Introduction to GIS
@ 2007 Austin Troy
UnionCombines features of two or several themes
Keeps all line workBreaks down features, and creates new
polygonsKeeps all attributes
Introduction to GIS
Image source: ESRI Arc Info electronic help
@ 2007 Austin Troy
Tools: Union
Introduction to GIS
Polygons only
A list of Polygons
@ 2007 Austin Troy
Find the Geoprocessing Tools
Introduction to GIS
@ 2007 Austin Troy
IntersectYields areas that are common to both
layersPreserves line work within common extent Usually creates many new, smaller polygonsPreserves all attributes from both
Introduction to GIS
@ 2007 Austin Troy
Tools: Intersect
Introduction to GIS
Two layers
@ 2007 Austin Troy
Union vs. IntersectionUnion is the union of two overlapping set of
features and intersection is the intersection
Introduction to GIS
Layer 1 + Layer 2
Intersect: “1 AND 2”
“1 OR 2”Union:
Layer 2Layer 1 +
@ 2007 Austin Troy
Union vs. Intersection: ExampleHere’s an example. Say we have deer
wintering areas in one layer and conserved lands in another.
Introduction to GIS
@ 2007 Austin Troy
Union vs. Intersection: ExampleUnion gives us land that is EITHER
conserved OR that is a deer wintering areas
Introduction to GIS
@ 2007 Austin Troy
Union vs. Intersection: ExampleIntersect gives us land that is BOTH, and preserves
all polygon boundaries within that common extent
Introduction to GIS
@ 2007 Austin Troy
IdentityIdentity performs an intersection but doesn’t
retain ALL featuresKeeps all “input” layer featuresKeeps/creates only overlapping “identity” features
and their attributes
Introduction to GIS
Kept, as with union
Common (intersecting) areas
Not kept, as with intersect
@ 2007 Austin Troy
ClipThis uses one theme to “clip,” or serve
as the outer boundary of another themeBreaks down features into smaller unitsPreserve the input theme’s attributes
Introduction to GIS
Point, line, or polygon
Polygon only
@ 2007 Austin Troy
Tools: Clip
Introduction to GIS
Point, line,
polygon
Polygon
@ 2007 Austin Troy
Clipping highways for Merced
Introduction to GIS
Note that the “use selected features only” option was used
@ 2007 Austin Troy
Clipping roads
Introduction to GIS
@ 2007 Austin Troy
DissolveTool for aggregating polygons—making
them bigger. Single layer operation
Introduction to GIS
@ 2007 Austin Troy
Tools: Dissolve
Introduction to GIS
@ 2007 Austin Troy
Dissolve: ExampleDissolve zip codes (small) into counties
(large)
Introduction to GIS
@ 2007 Austin Troy
Dissolve: ExampleChoose the dissolve field: e.g. Dissolve
based on the County field
Introduction to GIS
@ 2007 Austin Troy
Dissolve : Example
Introduction to GIS
• Summarize the resulting field values. For instance, you could sum population for each county, or average size of ZIP code zones for each county
@ 2007 Austin Troy
Dissolve : ExampleNow we have
created a county map, and for each county we have an attribute containing the sum of population of the constituent zip codes
Introduction to GIS
@ 2007 Austin Troy
MergeAllows you to “join” two adjacent or non-
adjacent themes into the same layerLike “tiling”Best when attributes match
Introduction to GIS
@ 2007 Austin Troy
Tool: Merge
Introduction to GIS
@ 2007 Austin Troy
MergeOften when you merge you will want to
follow up by dissolving.
Introduction to GIS
@ 2007 Austin Troy
Tools: BufferingBuffering is when you draw a polygon
around a feature (point, line or polygon)
Introduction to GIS
@ 2007 Austin Troy
Tools: Buffering
Introduction to GIS
Based on distance
Based on attribute
@ 2007 Austin Troy
Tools:Variable Width Buffering
Introduction to GIS
@ 2007 Austin Troy
Combining Geoprocessing Tools Involve multiple tasks performed in sequence,
such as those that clip, buffer, intersect, union, then select datasets.
Introduction to GIS
– Create and run a script
– Build and run a model
– Step by step
@ 2007 Austin Troy
Combining Buffering and Geoprocessing: Example
Question: How to find areas that are near deer wintering areas and water bodies but far from traffic?
Geospatial DataPolygon layer for deer wintering areas Polygon layer for Water bodiesRoads layer: line features
Introduction to GIS
@ 2007 Austin Troy
Combining Buffering and Geoprocessing: Example
Question: How to find areas that are near deer wintering areas and water bodies but far from traffic?
Introduction to GIS
– Areas that are near deer wintering areas AND water bodies:– Combining the layers:
Intersect
– “Near” or “Far from”: Buffering
Union– Selecting: Query for areas that are not within a traffic buffer
@ 2007 Austin Troy
Combining Buffering and Geoprocessing: Example
Buffering: Made fixed buffers around deer wintering areas and water bodies, and a variable buffer around roads, based on traffic
Introduction to GIS
@ 2007 Austin Troy
Combining Buffering and Geoprocessing: Example
Intersecting: The intersection of deer wintering buffers and water buffers (the area in the red)
Introduction to GIS
@ 2007 Austin Troy
Combining Buffering and Geoprocessing: Example
The union of that intersection with the traffic buffer:
Introduction to GIS
@ 2007 Austin Troy
Combining Buffering and Geoprocessing: Example
Selecting: Query for polygons that are not within (far from) a traffic buffer
Introduction to GIS
@ 2007 Austin Troy
Combining Buffering and Geoprocessing: ExampleCreate a new
layer by exporting the selected features (polygons)
Introduction to GIS
@ 2007 Austin Troy
Geoprocessing Summary
Introduction to GIS
Union Intersect Identity Clip Dissolve Merge Buffer