Spatial Analysis [2]
Spatial Analysis [2]
Dr. Ragab Khalil
Department of Landscape Architecture Faculty of Environmental Design King AbdulAziz University Room 103
LA561 Computer Applications in LA LA561 Computer Applications in LA
(GIS)(GIS)Dr. Ragab Khalil KAAU - FED – LA561: GIS 2/47
Overview Overview
• Topological Overlay
• Topological Overlay Types
• Buffering
• Model Builder
Topological Overlay Topological Overlay
• Topological overlay allows us to ask questions like:
"Where are locations that are on stable soils,
with a slope in the range of 5-10%,
that were within 15 km from the main road,
on low productivity sites, and
what is their percentage of area with respect to the entire zone?"
Dr. Ragab Khalil KAAU - FED – LA561: GIS 4/47
Topological Overlay Topological Overlay
•
Topological overlay is different from the Select By Location operations described in the last lesson.•
In the Select By Locationoperations,ArcGIS only looks at the spatial overlap of the features of two layers, and
Creates a new selected set in one of those layers;
No new data sets are produced; no attribute updates are made.
Dr. Ragab Khalil KAAU - FED – LA561: GIS 5/47
Topological Overlay Topological Overlay
•
In Topological overlay,new layers are created whose geometry and/or attribute structure are altered.
allows us to find overlapping features, as well as to quantify the area or length of overlap.
Dr. Ragab Khalil KAAU - FED – LA561: GIS 6/47
Topological overlay:
Topological overlay:
Overview Overview
•
Uses arc-node topology data model for layer- to-layer relationships•
Relationships of containment•
Various analytical functions•
Quantify length/area of overlap•
All functions are accessed with ArcToolbox toolsDr. Ragab Khalil KAAU - FED – LA561: GIS 7/47
Topological overlay:
Topological overlay:
Arc/node Arc/node topology data model topology data model
•
Complex spatial data structure1 2
ð ð
2
2
3 1
1 3
4 5
#
#
2
#
#
#
#
#
3
4
5 6 8 7 ð4
5
3 ð
Dr. Ragab Khalil KAAU - FED – LA561: GIS 8/47
Topological overlay:
Topological overlay:
Overview Overview
•
Always uses polygon as the overlay layer•
Output is the same as the inputTopological overlay
Topological overlay
: How it works : How it works
•
Features come from separate layers•
No explicit spatial relationship between Streams & StandsDr. Ragab Khalil KAAU - FED – LA561: GIS 10/47
Topological overlay:
Topological overlay:
How it works How it works
•
New nodes are created•
Topology is rebuilt•
Spatial relationship is made explicitDr. Ragab Khalil KAAU - FED – LA561: GIS 11/47
Topological overlay:
Topological overlay:
How it works How it works
•
Lines are split at polygon boundaries•
Lines take on attributes of overlapping polygonsDr. Ragab Khalil KAAU - FED – LA561: GIS 12/47
Topological overlay:
Topological overlay:
How it works How it works
•
Lines are split at polygon boundaries•
Lines take on attributes of overlapping polygonsAlfisol
Dr. Ragab Khalil KAAU - FED – LA561: GIS 13/47
ArcToolbox Extension ArcToolbox Extension
• ArcGIS module for geoprocessing
• Part of “core” ArcGIS
• Contains controls for several different topological overlay types
• Does NOT
automatically update geometry fields for shapefiles
Dr. Ragab Khalil KAAU - FED – LA561: GIS 14/47
Overview Overview
•
Topological Overlay•
Topological Overlay Types•
Buffering•
Model BuilderTopological overlay: Types Topological overlay: Types
• Dissolve
• Union
• Clip
• Identity
• Intersect
• Update
• Erase
Dr. Ragab Khalil KAAU - FED – LA561: GIS 16/47
Topological overlay:
Topological overlay:
Dissolve Dissolve
•
Removes boundaries between polygons or nodes between arcs•
Features with same attributes are dissolvedDr. Ragab Khalil KAAU - FED – LA561: GIS 17/47
Topological overlay:
Topological overlay:
Dissolve Dissolve
Dr. Ragab Khalil KAAU - FED – LA561: GIS 18/47
Topological overlay: Union Topological overlay: Union
•
All input features from both layers remain•
Attribute values are assigned by containment•
Attribute inheritance•
Polygon & polygon onlynull value = ""
null value = 0
Dr. Ragab Khalil KAAU - FED – LA561: GIS 19/47
Topological overlay: Union Topological overlay: Union
•
Start with two polygon layersDr. Ragab Khalil KAAU - FED – LA561: GIS 20/47
Topological overlay: Union Topological overlay: Union
•
Geometry of both inputs is retained•
Tabular structure is maintainedTopological overlay: Union Topological overlay: Union
•
ArcToolboxinterface
Dr. Ragab Khalil KAAU - FED – LA561: GIS 22/47
Topological overlay:
Topological overlay:
Identity Identity
• All features from input layer persist
• Attributes from both layers exist where there is overlap
• Order of input and overlay matters
• polygon on polygon, line, or point
1
Dr. Ragab Khalil KAAU - FED – LA561: GIS 23/47
Topological overlay:
Topological overlay:
Identity Identity
•
ArcToolbox interfaceDr. Ragab Khalil KAAU - FED – LA561: GIS 24/47
Topological overlay:
Topological overlay:
Identity Identity
•
Identity creates new layer and tableDr. Ragab Khalil KAAU - FED – LA561: GIS 25/47
Topological overlay:
Topological overlay:
Intersect Intersect
•
Only features from overlap area exist in output•
Attributes from both layers exist•
Order of input and overlay does not matter•
Polygon on polygon, line, or pointDr. Ragab Khalil KAAU - FED – LA561: GIS 26/47
Topological overlay:
Topological overlay:
Intersect Intersect
•
ArcToolbox interfaceTopological overlay:
Topological overlay:
Intersect Intersect
•
New layer is created•
Both input attributes remain in outputDr. Ragab Khalil KAAU - FED – LA561: GIS 28/47
Topological overlay:
Topological overlay:
Intersect Intersect
•
Because geometry fields are not automatically updated when shapefiles are overlain, must use other methods of calculating/updating geometry valuesDr. Ragab Khalil KAAU - FED – LA561: GIS 29/47
Topological overlay:
Topological overlay:
Update Update
•
All features exist in output•
“Underlapping” features from input are erased•
Attributes only from input layer exist in output•
Order of input and overlay matters•
Polygon on polygon onlyDr. Ragab Khalil KAAU - FED – LA561: GIS 30/47
Topological overlay:
Topological overlay:
Update Update
•
ArcToolbox interfaceDr. Ragab Khalil KAAU - FED – LA561: GIS 31/47
Topological overlay:
Topological overlay:
Update Update
• Feature geometry is updated
• Only input attributes are retained
Dr. Ragab Khalil KAAU - FED – LA561: GIS 32/47
Topological overlay: Clip Topological overlay: Clip
•
“Cookie cutter”•
Only input layer features and attributes exist in output•
Polygon on polygon, line, or pointTopological overlay: Clip Topological overlay: Clip
•
ArcToolbox interfaceDr. Ragab Khalil KAAU - FED – LA561: GIS 34/47
Topological overlay: Clip Topological overlay: Clip
•
Geometries are maintained within the outline of the clipperDr. Ragab Khalil KAAU - FED – LA561: GIS 35/47
Topological overlay: Erase Topological overlay: Erase
• “Cookie cutter”
• Only input layer features and attributes exist in output
• Order of input and overlay matters
• Polygon on polygon, line, or point
Dr. Ragab Khalil KAAU - FED – LA561: GIS 36/47
Topological overlay: Erase Topological overlay: Erase
• ArcToolbox interface
Dr. Ragab Khalil KAAU - FED – LA561: GIS 37/47
Topological overlay: Erase Topological overlay: Erase
•Removes area of overlap
•Only input attributes are retained
Dr. Ragab Khalil KAAU - FED – LA561: GIS 38/47
Overview Overview
•
Topological Overlay•
Topological Overlay Types•
Buffering•
Model BuilderBuffering Buffering
•
Distance or proximity analysis•
Constant or variable width from input featuresDr. Ragab Khalil KAAU - FED – LA561: GIS 40/47
Buffering Buffering
•
ArcToolbox interfaceDr. Ragab Khalil KAAU - FED – LA561: GIS 41/47
Buffering Buffering
•
Can create a new feature class or coverageDr. Ragab Khalil KAAU - FED – LA561: GIS 42/47
Overview Overview
•
Topological Overlay•
Topological Overlay Types•
Buffering•
Model BuilderDr. Ragab Khalil KAAU - FED – LA561: GIS 43/47
Model Builder Model Builder
•
Graphical interface to process modeling in GIS•
“Self documenting”/Exposed•
File-based, stored with map document, or stored with geodatabase•
Can be shared•
Built-ins, VBA, scripted tools (perl, Python, Java, etc)Dr. Ragab Khalil KAAU - FED – LA561: GIS 44/47
Model Builder Model Builder
•
Available within ArcToolboxModel Builder Model Builder
•
Graphical interface to process modeling in GISDr. Ragab Khalil KAAU - FED – LA561: GIS 46/47
Model Builder Model Builder
•
Tools•
Data outputs•
Data inputsDr. Ragab Khalil KAAU - FED – LA561: GIS 47/47
Model Builder Model Builder
•
Model results can be added to data frame