Professional Documents
Culture Documents
Contents
Classification of analytical GIS capabilities
Retrieval, classification & measurement
Overlay functions
Neighbourhood functions
Network analysis
So far, we have discussed the nature of spatial data, notions of data acquisition and
preparation.
Here, it is important to make a distiction b/n analytical models (often referred to as
models) and analysis (or analytical operations).
By analysis we mean only a subset of what is usually implied by the term, but not all
types of analysis (ex. Statitical analysis will not be dealt with).
All knowledge of the world is based on models of some kind, whether they are simple
abstractions or complex equations that describe a physical phenomena.
Spatial data/map itself is a kind of model of some part of the real world.
In this topic, we will focus on analytical functions that can form the building blocks for
application models. Source: Principles of GIS
2
Compiled by Nigatu W. HU-IoT-BEE-July, 2016
SPATIAL DATA ANALYSIS
2. Overlay functions
These allow the combination of two or more spatial data layers treating features at the same location.
4. Connectivity functions
These functions work based on networks/connectivity between features, such as road network.
Source: Principles of GIS
4
Compiled by Nigatu W. HU-IoT-BEE-July, 2016
SPATIAL DATA ANALYSIS
1. Classification, retrieva, and measurement functions
Classification: allows the assignment of features to a class on the basis of attribute values or
attribute ranges (definition of data patterns). On the basis of reflectance characteristics found in
a raster, pixels may be classified as representing different lannd cover types.
Retrieval functions: allow the selective search of data. We might thus retrieve all agricultural
fields in a set of land cover types.
Measurement function: allow the calculation of distances, lengths, or areas.
Generalization: is a function that joins different classes of objects with common characteristics
to a higher lelel (generalized) class. For instance, we might generalize fields where open and
dense forests are found as simply ‘FOREST’.
In geography, the term ‘aggregation’ is often used to indicate the process of generalization ISPIT
Source: Principles of GIS
Compiled by Nigatu W. HU-IoT-BEE-July, 2016
SPATIAL DATA ANALYSIS
Measurement operations
Location:
Stored in a GIS by a single co-ordinate pair (X,Y) for a point
A list of pairs for a line (segment) or polygon boundary
Area calculation:
Area size is associated with polygon
features. Again, it can be stored with
the polygon as an extra attribute
value.
Source: Ellen-Wien Augustijn & Principles of GIS
Compiled by Nigatu W. HU-IoT-BEE-July, 2016 8
SPATIAL DATA ANALYSIS
Measurements-Vector
Another geometric measurement used by the GIS is the minimal bounding box (MBB) computation.
It applies to polygons, and determines the minimal rectangle-with sides parallel to the axes of the
spatial reference systems-that covers the feature.
It is an important support function for the GIS: For instance, if the bounding boxes of two polygons do
not overlap, we know the polygons cannot possibly intersect eachother.
Since polygon intersection is a complicated function, it will help to check the presence of intersection
of polygons. Polygons intersect,
MBB overlap
Polygons do not
intersect, MBB
overlap
Source: Ellen-Wien Augustijn & Principles of GIS
Compiled by Nigatu W. HU-IoT-BEE-July, 2016 9
SPATIAL DATA ANALYSIS
Measurements on Raster data
Measurements on raster data layers are simpler because of the regularity of the cells
The area size of a cell is constant and is determined by the cell resolution.
The so-called anchor point and resolution are the geometric information stored with the
raster data
The anchor point is fixed by convention to be the lower left (sometimes upper left) location
of the raster.
Resolution: 20 x 20 meters
The distance b/n two raster cells is the standard distance function applied to the
locations of their respective mid-points, taking into account the cell resolution.
Cell Resolution=30m
ISPIT
67.08m
Source: Ellen-Wien Augustijn & Principles of GIS Is this right?
Compiled by Nigatu W. HU-IoT-BEE-July, 2016 12
SPATIAL DATA ANALYSIS
Measurements on Raster data
The area size of a selected part of the raster (a group of cells) is calculated as the
number of cells multiplied by the cell area size.
The number of cells is also called the frequency count.
Area=
ISPIT
When exploring a spatial data set, the 1st thing one usually wants is to select certain
features interactively, to restrict the exploration.
Selection
In interactive spatial selection, one defines the selection condition by pointing at or object is
polygon
drawing spatial objects on the screen display, after having indicated the spatial data
layer(s) from which to select features.
The interactively defined objects are called selection objects.
The GIS then selects the features in the indicated data layer(s) that overlap (i. e. intersect,
meet, contain, or are contained in)
Features within the selection objects are selected and highlighted (also in attribute table).
Interactive spatial selection answers questions like ‘’What is at ….?’’
Source: Principles of GIS
Select all the land use areas with a size > 4,000,000 m²
Source: Ellen-Wien Augustijn & Principles of GIS Compiled by Nigatu W. HU-IoT-BEE-July, 2016 17
SPATIAL DATA ANALYSIS
Combining attribute conditions
When multiple criteria have to be used for selection, they can be expressed in a series of
single conditions.
Single conditions can be combined into composite conditions using logical connectives
(operators):
BOOLEAN OPERATORS
AND
OR
Known as
XOR
NOT
ISPIT
Source: Ellen-Wien Augustijn & Principles of GIS Compiled by Nigatu W. HU-IoT-BEE-July, 2016 18
SPATIAL DATA ANALYSIS
Combining attribute conditions
Select all the land use areas with a size > 4,000,000 m² AND land use = 70
Source: Ellen-Wien Augustijn & Principles of GIS Compiled by Nigatu W. HU-IoT-BEE-July, 2016 20
SPATIAL DATA ANALYSIS
Spatial selection using topological relations
Various forms of topological relationships between spatial objects were discussed in earlier
topics.
These relationships can also be useful to select features as well.
The spatial operations are:
Containment relationship (inside): i. e. selecting features that are inside selection
objects. Ex. Polygon can contain-polygon, lines and points.
Intersect relationship (overlap): i. e. selecting features that intersect. ISPIT
Source: Ellen-Wien Augustijn & Principles of GIS Compiled by Nigatu W. HU-IoT-BEE-July, 2016 21
SPATIAL DATA ANALYSIS
Spatial selection using topological relationships
Source: Ellen-Wien Augustijn & Principles of GIS Compiled by Nigatu W. HU-IoT-BEE-July, 2016 22
SPATIAL DATA ANALYSIS
Spatial selection using topological relationships-
Data retrieval involves the selective search of data.
Selection 1: Ward A
Selection 2: Clinics
Source: Ellen-Wien Augustijn & Principles of GIS Compiled by Nigatu W. HU-IoT-BEE-July, 2016 23
SPATIAL DATA ANALYSIS
Classification
Classification is a technique of purposefully removing detail from an input data set, in the
hope of revealing important patterns (of spatial distribution).
In the process, we produce an output data set, so that the input data set can be left intact.
This is done by assigining a characteristic value to each element in the input set, which is
usually a collection of spatial features that can be raster cells or points, lines, or polygons.
If the number of characteristic values is small in comparison to the size of the input set, we
have classified the input set.
Ex1. Household income of a city can be classified into few categories: say, low. Below
average, above average, and high.
Ex2. Classify an elevation map into classes with intervals of 50 m.
Source: Ellen-Wien Augustijn & Principles of GIS Compiled by Nigatu W. HU-IoT-BEE-July, 2016 24
SPATIAL DATA ANALYSIS
Classification
The input data set may have itself been the result of a classification, and in such a case we
call it a reclassification.
(Re) classification will produce a new output data set.
For instance, we may have a soil map that shows different soil type units and we would
like to show the suitability of units for a specific crop.
In this case, it is better to assign to the soil units an attribute of suitability for the crop.
Generally: ISPIT
Classification Reclassification
The number of classes is reduced or increased The original number of classes does
May have geometric editing after the classification not change (ex. Soil type & suitability)
Also called generalization, aggregation, merge No geometric change on vector data
and dissolve operations Different classification systems
Source: Ellen-Wien Augustijn & Principles of GIS Compiled by Nigatu W. HU-IoT-BEE-July, 2016 25
SPATIAL DATA ANALYSIS
Reclassification
Soil unit map Reclassify the soil unit map into a PH map
4 5
2
3 6 Note:
1 No change in the
# of classes
Soil PH map
Source: Ellen-Wien Augustijn & Principles of GIS Compiled by Nigatu W. HU-IoT-BEE-July, 2016 26
SPATIAL DATA ANALYSIS User-controlled classification:
User defined (controlled) classification from 8 land use classes into 4 more
general classes (spatial merging)
In user-controlled classification we indicate the
classification attribute and the classification
method
In this section, we will look at techniiques of combining two spatial data layers and
producing a third from them.
The binary operators that we discus are known as spatial overlay operators.
Standard overlay operators take two input data layers, and assume they are
georeferenced in the same system, and overlap in study area. ISPIT
The principle of spatial overlay is to compare the characteristics of the same location in
both data layers, and to produce a new output value for each location.
• Cookie cutter
• Restricts the spatial extent to the outer boundary of
the second layer
• No other polygons from the second layer play a role.
Source: Ellen-Wien Augustijn & Principles of GIS
Vector overlays are geometrically complicated and may result in poor performance.
Raster operators do not suffer from such disadvantage, as the computations are
performed cell-by-cell, thus they are fsater than vector. ISPIT
Arithmetic operators
Assignment 1
Proximity functions
. makes use of the geometric distance function
. assumes that the phenomenon spreads in all directions, but not necessarily equally easily in all directions
Proximity functions
Typical examples:
Determination of buffer zones along groundwater
exploration wells
Construction of Thiessen polygons
Source: ITC & Principles of GIS
Compiled by Nigatu W. HU-IoT-BEE-July, 2016 38
SPATIAL DATA ANALYSIS
Neighbourhood operations
Thiessen polygons
Example of Thiessen rainfall map
Question to be answered:
Given any location in a study area, to which
target location is it closest ?
www.brombeer.net700 × 525