Topic 2 GIS Data Operations and Analysis
Topic 2 GIS Data Operations and Analysis
• Manipulation of spatial
data into various forms to
be able to extract
additional and meaningful
information to understand
the real-world.
SPATIAL ANALYSIS
• It is easy to feel that a pattern is
present in a map.
• Spatial analysis allows us to test
that visual insight in a more
systematic way.
Example
Dr. John Snow
Father of Epidemiology
Geospatial Revolution
Episode 4, Chapter 3
3 Fundamental Questions Regarding
Spatial Relationships
How can
How can we use
variations in
How can two (or what we have
geographic
more) spatial learned from an
properties over a
distributions be analysis(es) to
single area or
compared with predict future
data set be
each other? spatial
described and/or
distributions?
analyzed?
ROLE OF GIS IN SPATIAL ANALYSIS
• Data Acquisition
Elements of a GIS
Five Functional • Preprocessing
• Database Management
• Manipulation/Analysis
• Final Product Output
PROCESS, PATTERN, AND ANALYSIS
• Spatial analysis is
aimed at:
• Identifying and
describing the pattern
• Identifying and
understanding the
process
Description Explanation Exploration Prediction Judgment
OUTPUT OUTPUT
LAYER LAYER
SPATIAL DATA ANALYSIS IN GIS
INPUT LAYER
Spatial Operation
OUTPUT LAYER
Common GIS Analysis Functions
• Query (e.g., identify, select)
• Recoding (reclassify)
• Proximity analysis (buffering, distance)
• Terrain analysis (e.g., slope, aspect, viewsheds)
• Neighborhood analysis (e.g., average, variety)
• Arithmetic operations
• Overlay analysis (logical and arithmetic)
• Network analysis (e.g., routing, allocation)
• Spatial modeling (simulation, projection)
II. VECTOR OPERATIONS
CHARACTERISTICS OF SPATIAL DATA
Arithmetic, logarithmic,
trigonometric, and power
functions for
local operations
LOCAL OPERATIONS (SINGLE RASTER)
• E.g.: Slope_d = 57.296 x arctan (Slope_p/100)
A local operation can convert a slope raster from percent (a) to degrees (b).
LOCAL OPERATIONS (MULTIPLE RASTERS)
• Compositing, overlaying, or superimposing maps (Tomlin
1990)
• Map algebra, a term that refers to algebraic operations
with raster map layers. (Tomlin 1990, Pullar 2001)
• Besides mathematical functions that can be used on
individual rasters, other measures that are based on the
cell values or their frequencies in the input rasters can also
be derived and stored on the output raster of a local
operation with multiple rasters.
LOCAL OPERATIONS (MULTIPLE RASTERS)
Water 11 0 2
Settlement 12 0 1
Agricultural 13 0 3
Land
RECLASSIFICATION (A LOCAL OPERATION)
NEIGHBORHOOD OPERATIONS
• A neighborhood operation involves a
focal cell and a set of its surrounding
cells. The surrounding cells are chosen
for their distance and/or directional
relationship to the focal cell.
NEIGHBORHOOD OPERATIONS
Four common
neighborhood types:
rectangle (a), circle
(b), annulus (c), and
wedge (d). The cell
marked with an x is
the focal cell.
NEIGHBORHOOD OPERATIONS
The cell values in (b) are
the neighborhood
majority statistics of the
shaded cells in (a) using
a 3 x 3 neighborhood.
For example, the upper left
cell in the output
raster has a cell value of
2 because there are five
2s and four 1s in its
neighborhood.
NEIGHBORHOOD OPERATIONS
Based on the source cells denoted as 1 and 2, (a) shows the physical distance measures
in cell units from each cell to the closest source cell; (b) shows the allocation of each cell
to the closest source cell; and (c) shows the direction in degrees from each cell to the
closest source cell. The cell in a dark shade (row 3, column 3) has the same distance to
both source cells. Therefore, the cell can be allocated to either source cell. The direction
of 2430 is to the source cell 1.
DISTANCE MEASURES
• Continuous distance
measures from a
stream network.
• (Euclidean Distance
tool)
APPLICATIONS OF BUFFERING
• Epidemiology
• Disease clusters around certain
features (e.g. asthma surrounding
incinerators)
• Crime
• To examine if car crime is more
prominent in certain areas (e.g.
close to major roads, street
corners, car parks)
APPLICATIONS OF BUFFERING
• Density
– Spread point values over a
surface
– When added together, the
values (e.g. population) of all
the cells equal to the sum of
the original point layer.
OTHER RASTER DATA OPERATIONS
• For raster data management
• includes Clip and Mosaic.
• For raster data extraction
• includes use of a data set, a graphic object, or a query
expression to create a new raster by extracting data from an
existing raster.
• For raster data generalization
• includes Aggregate and RegionGroup.
CLIPPING
An analysis mask (b) is used to clip an input raster (a). The output raster is (c),
which has the same area extent as the analysis mask.
EXTRACTION
A circle, shown in white, is
used to extract cell values
from the input
raster (a). The output (b)
has the same area extent
as the input raster
but has no data outside
the circular area.
AGGREGATE
An Aggregate operation creates a lower-resolution raster (b) from the input (a). The
operation uses the mean statistic and a factor of 2 (i.e., a cell in b covers 2 x2 cells in a).
For example, the cell value of 4 in (b) is the mean of {2, 2, 5, 7} in (a).
REGION GROUP
Each cell in the output (b) has a unique number that identifies the connected region
to which it belongs in the input (a). For example, the connected region that has the
same cell value of 3 in (a) has a unique number of 4 in (b).
(3) SURFACE ANALYSIS
• Users can build and analyze complex surfaces to identify
patterns or features within the data.
• Many patterns that are not readily apparent in the original
data can be derived from the existing surface.
• Shaded relief
• Contours
• Angle of slope
• Aspect
• Hillshade
• Viewshed
• Curvature
• Cut/Fill.
(3) SURFACE ANALYSIS
• Topographic datasets be utilized to
generate a number of products
such as:
• Digital Elevation Models
• Slope/Aspect Polygons
• Terrain profiles
• Inter-visibility models
PRODUCTS FROM DEM slope
aspect
drainage basins
(3) SURFACE ANALYSIS TOOLS
a. Contour
b. Slope
c. Aspect
(3) SURFACE ANALYSIS TOOLS
a. Contour
b. Slope
c. Aspect
(3) SURFACE ANALYSIS TOOLS
a. Contour
b. Slope
c. Aspect
ADDED INFORMATION
DATA SOURCE
DATA SOURCE
DATA SOURCE
REFERENCES
• 1. LIDAR GIS TRAINING AND FLOOD DISASTER MANAGEMENT FOR LOCAL GOVERNMENT PRESENTATION,
• GIS GEOGRAPHY (HTTPS://GISGEOGRAPHY.COM/SPATIAL-DATA-TYPES-VECTOR-RASTER/)
• 2. HTTPS://GIS.STACKEXCHANGE.COM/QUESTIONS/57142/WHAT-IS-THE-DIFFERENCE-BETWEEN-VECTOR-
AND-RASTER-DATA-MODELS
• 3. RASTER VECTOR PRESENTATION (HTTPS://WWW.SLIDESHARE.NET/REHAMELSAFARINI/RASTER-DATA-AND-
VECTOR-DATA)
• 4. HTTPS://EN.WIKIPEDIA.ORG/WIKI/LIST_OF_GIS_DATA_SOURCES
• 5. PHILIPPINE DATA SOURCE (HTTPS://WWW.PHILGIS.ORG/) (SOFTWARE (HTTPS://WWW.PHILGIS.ORG/GIS-
SOFTWARE)
ACKNOWLEDGEMENT
THANK YOU…