GEOG 303: Introductory GIS

Rough lecture notes

Week 3


GIS in Quatar Video on Monday

 

Display

The following functionality can be implemented in a grid GIS for displaying data:
 
View grid layer
  • colored/shaded grid
  • zoom in, zoom out
  • pan (move point of view)
Query/browse
  • regions
  • individual cells
3-D view
  • perspective or orthogonal view
  • panoramic view
  • vertical profile
  • drape data on surface
Contour
  • from point heights
  • from elevation surface
Map layouts
  • legend
  • north arrow and scale bar
  • title
Histograms, tables, graphs, charts, etc.

Reclassify and measure

The following functionality can be implemented in a grid GIS for reclassifying and measuring data:

Reclassify - assign new values to:
  • individual cells
  • regions
  • categories of old values at equal intervals (slicing)
  • groups of contiguous cells (clumping)
Measurement
  • distance
    • between two cells
    • along a set of cells with specified values (ie. network of roads)
  • size
    • area of region
    • perimeter
    • volume
  • shape of region
  • direction
  • spatial arrangement (pattern)
.

Local neighbourhood operations

Local neighbourhood operations examine the values of the (usually) adjacent neighbouring cells.  The diagonal cells in a grid GIS may be included or excluded in the determination of the "neighbourhood".

Essentially, a roving (usually 3x3 cell) window is used to obtain a new value for each cell, resulting in a new layer.  The cell values within the window are used to provide:

    1.  Statistical summary of the neighbourhood


    2.  Slope and aspect

    3.  Filtering

Vector data
A vector spatial data model is the "natural" data model where the coordinate space is continuous rather than being quantised as with the raster model. The vector model allows all positions, lengths, and dimensions to be defined precisely. 

The fundamental primitive is the line (or point as some people prefer) from which three basic spatial primitives are constructed: 

points
lines
polygons
0-d lines
a.k.a. arcs, chains, strings, edges, links
a.k.a. areas, regions, closed loops, rings

The endpoints of a line are sometimes referred to as nodes, whereas the intermediate points (making up the line segments within a line) are distinguished as vertices

Note that even though the above example shows a line being made up of line segments, it is possible to use mathematical parametric equations (splines) to store the line more accurately.

Vector models

Two approaches for vector models:
  • non-topological (also known as spaghetti)
  • topological
Spaghetti
 
  • objects are stored as independent entities
  • no relationships are defined among the spatial primitives (points, lines and areas)
  • only geometry is stored
  • storage of (X,Y) coordinates is done separately for points, lines, and polygons

  • eg. a line bounding two polygons would be stored twice, once for each polygon

Topological
 
  • relationships between objects are stored
  • reduces redundancy and improves integrity of database
  • can record, for example, from/to nodes and left/right polygons for each line; this relates the nodes and polygons to the lines
  • the area outside the mapped area is also treated as a polygon and is referred to as the world or envelope polygon (denoted with a zero (0) value
Topology and geometry are the two components of spatial data. The geometry can change without affecting topology, and likewise the topology can change without affecting the geometry. Some operations require geometry only, others require topology only, and still others require both geometry and topology.

Vector functionality

Because vector data consist of three different data primitives (points, lines, polygons) instead of one as for grid (the grid cell) and because all the components (location, topology, attributes) need to be maintained, vector operations are more complex than raster operations in general. Both the spatial data and the attribute data must be handled. Further the link between spatial and attribute data must be maintained. 

Vector operations include: 
 
Display and query
  • of spatial and attribute data, both individually and in combination
Data generalisation and abstraction
  • building desired points, lines, areas and relationships from input data
Data manipulation
  • manipulate data coordinates to provide georeferencing, remove distortion, etc.
Measurement
  • measure distance, shape, volume, etc.
Topological overlay
  • overlay points, lines and polygons
Buffering
  • buffer points, lines or polygons to produce new polygons

Data generalisation and abstraction

Generalisation and abstraction may involve:
  • matching data across map sheet edges
  • thinning out coordinates (vertices) to simplify lines and polygon boundaries
  • calculation of centroids and label points in polygons
  • automatic contouring
  • proximal mapping - finding areas of proximity
  • vector/raster conversion
Data generalisation and abstraction also may involve:
  • reclassification of points, lines and areas
  • dissolving polygons and dropping lines between them - note that the attributes of such polygons must be merged

The spatial overlay of two coverages results in a new coverage which is subjected to planar enforcement.  In an overlay operation, both the spatial and the attribute data must be updated to reflect the new geometry/topology/attributes.

A number of different types of spatial overlay exist:

  • point-in-polygon
  • line-on-polygon
  • polygon overlay (polygon-on-polygon

 


Week 4