Professional Documents
Culture Documents
Chapter 7
Chapter 7
Chapter 7
Questions Categories
Function Categories
Answers Categories
• These categories are not mutually
exclusive!
12/4/2018 Middle East Technical University CE-413 5
7.1. Introduction
Answers provided by GIS
Finding new What are the
Presenting Storing and Conditional What are the
patterns in patterns in
existing data Retrieving Query Data
existing data data
A B A B A B
Answer Function Question
Categories Categories Categories
C C C
Prediction of the data at
Predicting new different times and places
information
Modeling or under different
conditions
12/4/2018 Middle East Technical University CE-413 6
7.1. Introduction
• Strategy of using a specific GIS analysis depends on the
answers to be provided
• Success of using a GIS is a function of
– Knowing how to combine the available functions
– On a particular system
– To provide required information
– Using the available data
• Quality of produced information depends on the
intelligent use of a systematic analysis approach
Types of analysis
• Data layers
• Partitioning the coverage (layer)
T1 T2 T3 T4
T5 T6 T7 T8
Mosaicing
• assembling files of adjacent areas into a single file
Coordinate thinning
12/4/2018 Middle East Technical University CE-413 19
7.2. Managing Spatial Data
Format Transformation
– Input data should be put into proper format
(data structure and file format) for the system
– Topology should be built (for vector data)
Conflation
Edge matching
– Seemless map
– Possible manually
– Possible with some softwares
Edge matching
Sliver
Small problem areas A
(sliver)
C
D
A
B
Unsnapped node
Over shoots
Line(Coordinate) thinning
ATTRIBUTE TABLE 1
Polygon Area (ha) Stand
ID Number
157 30 7
158 20 8 Finding the area where there are
159 50 3
160 180 1 trees more than 30 years old
161 30 5
162 60 4
163
164
90
100
2
6
Relational-join
ATTRIBUTE TABLE 2 REPORT
Stand Dominant Age (yrs) Forest Areas
Number Species Older Than 30 years
1 Spruce 60+ Dominant Area
2 Maple 30 Species (ha)
3 Spruce 20 Cedar 130
4 Spruce 60+ Hemlock 30
5 Hemlock 40 Maple 110
6 Cedar 30 Spruce 240
7 Cedar 30
8 Maple 30
– Overlay operations
– Neighbourhood operations
– Connectivity (or network) functions
Retrieval operations
They involve:
– Selective search
– Manipulation
– Output of data
OR
Generalization
Urban Urban
Urban
industry
Measurement
• Spatial measurements
• Measures of shapes, farthest, shortest distances
• In Raster GIS
(called as neighborhood operations)
• 3-D measurements are needed in eng. appl.
Measurement
B B B
4 4.5 5 5.7
3 3.6 4.2 5
1 2 3 4
A C A A
2 2
AB = AC + CB AB = 8 units AB = 5.7 units
AB = 5.7 units
Area = 31 units
Perimeter = 28 units
Overlay operations
Different for raster and vector data models
Easier for raster data models
• Arithmetic overlay
– Summation
– Subtraction
– Division
– Multiplication
• Logical overlay
Finding areas with specific conditions
M Input layer A
Polygon Value
A
A 1
M 3
N Input layer B
Polygon Value
B
B 7
N 12 Polygon Joined Value
P M-N 15
C A-N 13
P D M-B 10
Output layer D E A-N 13
E G
F F M-B 10
C
G A-B 8
A AND B A OR B
A NOT B A XOR B
A A B 6 7 7
A A B 6 7 7
C C B 8 8 7
RECLASSIFY RECLASSIFY
1 1 0 0 1 1
1 1 0 0 1 1
0 0 0 0 0 1
MULTIPLY
1X0 1X1 0X1 0 1 0
1X0 1X1 0X1 0 1 0
Logical AND
0X0 0X0 0X1 0 0 0
A A B 6 7 7
A A B 6 7 7
C C B 8 8 7
RECLASSIFY RECLASSIFY
1 1 0 0 1 1
1 1 0 0 1 1
0 0 0 0 0 1
ADD
1+0 1+1 0+1 1 1 1
1+0 1+1 0+1 1 1 1 Logical OR
0+0 0+0 0+1 0 0 1
Neighborhood Operations
• Evaluation of the characteristics of the area
surrounding a specified location
• Every neighbourhood function requires the
specification of at least three basic parameters
– One or more target locations
– A specification of the neighbourhood aroud each target
– A function to be performed on the elements within
neighbourhood
• All GIS packages provide some neighbourhood
operations
12/4/2018 Middle East Technical University CE-413 58
7. 4. Integrated Analysis of Spatial and Atrribute Data
Neighborhood Operations
• Search
• Line-in polygon and polygon-in-polygon
• Topographic Functions
• Thiessen polygons
• Interpolation
• Contour generation
Search operation
• Most common neighbourhood operation
• May have different names in different GISs
• Search functions are two types
– Ones operating on numerical data
– Ones operating on thematic data
• Operators may define an equation for the search
• Three basic parameters of search
– Targets
– Neighbourhood
– Applied function
Search
7 km
Search
D2
D1
E7
M12
E3
0 D3
M4
City boundary
Point-in-polygon Analysis
the Jordan Algorithm
Simple Case
Problem Case
Complex Case
Topographic functions
• Surface characteristics
• Defined by elevation of each location in the area
• Represented by digital elevation data
• An alternative representation is Triangulated
irregular network (TIN)
• Topography is used to determine slope, aspect,
gradient, ...
3
TIN 2
Tables C
D
4
1 A B
7
E
F
6
7 x7, y7, z7 F 6, 7, 5 F B, E
surface looks at
-d y-
x - slope
x - direction
Thiessen Polygons
Thiessen Polygons
used to analyze
rain gauge data
Interpolation
• Predicting the unknown values using the known ones
in the neighbourhood
• There are different methods
– Polynomial regression
– Fourier Series
– Splines
– Moving averages
– Kriging
• Quality of interpolation depends on the accuracy,
number and distribution of known points as well as
the method
• Best results are obtained with mathematical
functions behaving similar to the phenomenon
Interpolation
Interpolation
Contour generation
Contour generation
Connectivity functions
Connectivity functions
• Contiguity measures
• Proximity
• Network functions
• Spread functions
• Seak or stream functions
• Intervisibility functions
• Illimunation
• Perspective view
Contiguity measures
Contiguity
Adjecency situations
Proximity
+1
Proximity
House hunting case study: distance from Distance from office adjusted for
office calculated using proximity method road network
Network functions
• Network is a set of interconnected linear features
• Used for moving resources from one point to another
• Components of network analysis
– A set of resources (goods)
– Locations of resources(warehouses)
– Objective to deliver resources to destinations
– Constraints (max. Speed)
• Types of network analysis
– Prediction of network loading (sediment, flood)
– Route optimization (emergency: fire, police)
– Resource allocation (zoning for better service)
Spread functions
• Used to evaluate transportation time or cost
• Used to define drainage basins
• Has characteristics of both network and proximity
functions
• Running totals are kept as values of cells or
contours
B
C
DIJKSTRA ALGORITHM 4
3
7
4
D
E
3
3 6
2
J F
1
5 K
The shortest path is through the
nodes A,B;D;J;F and K with
a total cost of 11.
12/4/2018 Middle East Technical University CE-413 89
7. 4. Integrated Analysis of Spatial and Atrribute Data
Spread function
For distance calculation
2.8 2.4 2 2.4 2.8
Target
cell
1 A
2 1 2
1 unit
1.4 its
un
2.4 1 1.4 2.4
4
1.
Distance calculation
12/4/2018 Middle East Technical University CE-413 90
7. 4. Integrated Analysis of Spatial and Atrribute Data
80 70 60 70 2 2 4 8 2 4
1 1
50 40 30 40 2 4 8 8 2 8
1 1
50 0 10 50 1 16 16
1 16 3 1
Flow accumulation
0 2 3
2 4 5
A
4.4
2.8 2 2.8 3.4 5.4
5.8
4.8 4 4.8 4.2 4.8
B
Directions
2 2 2 2
Elevations 2 2 2 2
4 directions
1 2 2 3
100 90 110 120
1 0 3 3
80 70 60 70
50 40 30 40
2 2 4 8
50 0 10 50
2 2 4 8
8 directions
2 4 8 8
1 16 16
Intervisibility functions
(Viewshed modelling or viewshed mapping)
Intervisibility
Illumination
• Portray the effect of shining onto a 3D surface
• Output is termed shaded relief image or shaded
relief model
• Controlling factors
– Nature and position of the illumination source
– Topography and reflectance of the surface
– Position and direction from which the model is viewed
Illumination
– Shaded relief
Perspective view
• A surface portrayed from a viewing position other
vertical
• It is a presentation tool
• Good for showing 3D context of features
• Best examples are flying sequences in films
Perspective view
– Map annotation
– Text labels
– Texture patterns and line styles
– Graphic symbols
• Titles
• Legends
• Scale bars
• North arrows
Title Here
Title Here
5% of height
5% of height
Landscape Portrait
• Font
• Size
• Spacing
• Placement
Ankara
Ankara P
Ankara
a
t
Ankara h
D
o
L a g o o n
Path right w
n
Colour
Texture
Pattern
HUE
Wavelength of light
INTENSITY
Illumination effect or
brightness of colour
SATURATION
Amount of colour
per unit display area
GIS
Data
Model
Cartographic
Output Raster Analysis
(GRID)
Visualization
Modeling Interfaces Figure © ESRI
Stand Alone
GIS
Networked Networked
GIS GIS
(Local) (Global)
Figure © ESRI
Societal
GIS
Enterprise
GIS Data Access/Data Publishing
Departmental
GIS Network/Cooperation
Projects
Data Management
Cartography/Analysis
Figure © ESRI
12/4/2018 Middle East Technical University CE-413 130
7. 6. Output Formatting
Higher
Education
Special
General
Interest Groups
Education
National
Agencies
Local
Government
Agencies
Business
International
Organization The Public Figure © ESRI