Lesson 6: The Science of Mapthematics
Raster-based GIS Analysis Methods

Dr. Kam Tin Seong
Assoc. Professor of Information Systems

School of Computing and Information Systems,
Singapore Management University

2022-08-12

Content

  • Introduction to Raster GIS

    • The basic concept of raster GIS data model

    • Raster database

    • Characteristics of raster

    • Raster resolution

  • Map Algebra Methods

    • Local functions

    • Focal functions

    • Neighbourhood functions

    • Zonal functions

Raster GIS Data

  • All raster formats are basically the same

    • Cells organized in a matrix of rows and columns
  • Content is more important than format: data or picture?

Map Algebra

  • Map algebra is a simple and an elegant set based algebra for manipulating geographic data, proposed by Dr. Dana Tomlin in the early 1980s.

  • It is a set of primitive operations in a GIS which allows one or more raster layers (“maps”) of similar dimensions to produce a new raster layer (map) using algebraic operations such as addition, subtraction etc.

Map Algebra Functions

  • Local function – characterising individual locations

  • Neighbourhood function – characterising locations within neighbourhood

  • Zonal function – characterising location within a zone

Local function

  • Local functions use only the data in a single cell to calculate an output value.

  • Potential operators fall into five categories:

    • trigonometric (i.e. sine, cosine, tangent, arcsine)

    • transformation (i.e. sqrt, exp, log)

    • relational operations (>, <, =)

    • statistical (i.e. mean, median, mode)

    • arithmetic (i.e. absolute value of x)

Local function - trigonometric

Local function - relational operations

Local function – transformation

Local function - arithmetic

  • Local function involves two raster layers

Local function - statistical

  • Local function involved more than two raster layers.

Neighbourhood Functions

  • These are also called focal functions.

  • Local neighbourhood functions examine the target cell and immediate neighbours.

  • A value is returned based on their combined evaluation.

  • Neighbourhood scan be defined by rectangles, circles, wedges, doughnut shapes (annulus) etc.

Neighbourhood Functions

A doughnut shape can be drawn around a focal cell, and the values of the surrounding shape (referred to an annulus neighbourhood) are used to reclassify the focal cell.

Neighbourhood Functions: more examples

Zonal Functions

  • A zonal operation is employed on groups of cells of similar value or like features, not surprisingly called zones.

  • These zones could be conceptualized as raster versions of polygons. Zonal rasters are often created by reclassifying an input raster into just a few categories.

  • Zonal operations may be applied to a single raster or two overlaying rasters.

  • Given a single input raster, zonal operations measure the geometry of each zone in the raster, such as area, perimeter, thickness, and centroid.

Global Functions

  • Global operations are similar to zonal operations whereby the entire raster dataset’s extent represents a single zone.

  • Typical global operations include determining basic statistical values for the raster as a whole.

  • For example, the minimum, maximum, average, range, and so forth can be quickly calculated over the entire extent of the input raster and subsequently be output to a raster in which every cell contains that calculated value.

Distance Functions: Euclidean Distance

  • The Euclidean distance functions describe each cell’s relationship to a source or a set of sources.

  • The Euclidean distance output raster contains the measured distance from every cell to the nearest source.

Distance Functions: Euclidean Distance

  • The distances are measured as the crow flies (Euclidean distance) in the projection units of the raster, such as feet or meters and are computed from cell centre to cell centre.

Use Cells and Rings to Calculate Simple Proximity

Simple proximity is generated by summing a series of orthogonal and diagonal steps emanating from a starting location.

Effective Proximity

  • Effective proximity is generated by summing a series of steps that reflect the characteristics and conditions of moving through geographic space.

Terrain Analysis

  • Terrain models

  • Slope and Aspect

  • Hillshading

  • Terrain Profile

  • Visibility Analysis

Terrain Mapping

  • Topography map

  • Contour map

Digital Elevation Model (DEM)

  • A digital representation of the continuous variation of relief over space.

Slope

  • Slope identifies the steepest downhill slope for a location on a surface.

Mathematics of slope

Aspect

  • Aspect is the direction that a slope faces. It identifies the steepest downslope direction at a location on a surface.

  • Usage of aspect:

    • Find all west-facing slopes on a mountain as part of a search for the best slopes for building resort residential units.

    • Calculate the solar illumination for each location in a region as part of a study to determine the diversity of life at each.

Analytical Hillshading

  • Casts shadows with an imaginary light source.

  • Azimuth is the compass direction of the light source.

  • Altitude is the angle of the light source above the horizon.

Analysing Visibility

A line of sight is a line between two points that shows the parts the surface along the line that are visible to or hidden from an observer.

Viewsheds

Viewsheds are regions of visibility observable from one or more observation points.

Reference