You are on page 1of 8

SOFTWARE REVIEW

HYDROLOGICAL PROCESSES
Hydrol. Process. 19, 1123–1130 (2005)
Published online in Wiley InterScience (www.interscience.wiley.com). DOI: 10.1002/hyp.5818

The Terrain Analysis System: a tool for hydro-geomorphic


applications

Reviewer: Introduction
John B. Lindsay*
Much progress has been made in extending the hydro-geomorphic
Department of Geography,
University of Western Ontario, modelling toolbox as a result of developments in the field of dig-
London N6A 5C2, Canada ital terrain analysis, also known as geomorphometry (Wilson and
Gallant, 2000; Pike, 2002). The enhancement of computer tech-
*Correspondence to: nologies and the widespread availability of digital elevation mod-
John B. Lindsay, School of els (DEMs) since the early 1990s have impacted environmental
Environment and Development, modelling greatly (Pike, 2000). Geographical information systems
Mansfield Cooper Building,
University of Manchester, Oxford
(GISs) are now widely applied in hydrology and geomorphol-
Road, Manchester M13 9PL, UK. ogy to automate basin, hillslope, and stream network analyses.
E-mail: Several commercial GIS packages have incorporated more com-
John.Lindsay@manchester.ac.uk mon terrain attributes (e.g. slope, aspect, curvature, and wetness
index) and terrain analysis procedures (e.g. basin and stream net-
work extraction). These software packages are, however, often pro-
hibitively expensive. Furthermore, whilst commercial GIS packages
often contain basic terrain analysis capabilities, very few possess
the flexibility and advanced functionality needed by researchers.
Several terrain analysis packages have been developed for this
purpose, e.g. ANUDEM (Hutchinson, 1989), TARDEM/TauDEM
(Tarboton, 1997), LandSerf (Wood, 1998), TAPES (Moore et al.,
1991; Gallant and Wilson, 1996), LANDLORD (Florinsky et al.,
2002), and DiGeM (Conrad, 2002), some of which are freely avail-
able. Unfortunately, many terrain analysis packages lack the visu-
alization and general spatial analysis capabilities of a GIS, or
have been developed as extensions to existing commercial soft-
ware. Additionally, although many terrain analysis packages pos-
sess the advanced functionality needed by researchers, they are
often difficult to use and, therefore, remain inaccessible to non-
experts.
The Terrain Analysis System (TAS) was designed to meet the
research needs of government and academic scientists while being
simple enough in operation to be used for student instruction. TAS
is a stand-alone GIS that possesses much of the spatial analysis
functionality typically found in GIS packages. However, it is also
capable of advanced modelling of catchment processes. The follow-
ing is a brief description of TAS’s functionality for applications in
hydrology and geomorphology.

Received 21 August 2004


Copyright  2005 John Wiley & Sons, Ltd. 1123 Accepted 08 November 2004
J. B. LINDSAY

2
3
Figure 1. The TAS graphical user interface. Two images, a DEM and a contributing-area image, are displayed with vector basins
and streams overlayed

Functionality found that filling impacts on DEMs more than


Analysis in TAS is organized into five broad cat- any other depression-removal method and, there-
egories: preprocessing, image processing, statisti- fore recommended more widespread use of alter-
cal analysis, GIS analysis, and terrain analysis. natives. Six depression-removal algorithms are
These five categories are reflected in the menu available in TAS, including the Impact Reduction
structure of the program (Figure 1). The terrain Approach described by Lindsay and Creed (2005).
analysis capabilities of TAS are accessed from There are also subprograms for creating triangu-
the Pre-processing and Terrain Analysis menus. lar irregular networks (TINs) and for interpolating
The Pre-processing menu contains several sub- DEMs based on TINs under the Pre-processing
programs used for preparing DEMs for analysis.
menu.
These subprograms include routines for ‘burning-
in’ streams and for removing flats, spikes, and Table I describes each of the subprograms con-
depressions from DEMs. Depression filling is per- tained under the Terrain Analysis menu. Sev-
haps the most widely implemented algorithm for eral of these algorithms have never been imple-
depression removal and is often found in GIS mented elsewhere. Terrain attributes are based on
packages. Nonetheless, Lindsay and Creed (2005) local neighbourhoods, extended neighbourhoods,

Copyright  2005 John Wiley & Sons, Ltd. 1124 Hydrol. Process. 19, 1123–1130 (2005)
SOFTWARE REVIEW

Table I. Subprograms within TAS’s Terrain Analysis menu

Submenu Subprogram name Description

Surface Derivatives Slope Slope gradient (Zevenbergen and Thorne, 1987)


Max downward slope Slope to the lowest neighbour in a 3 × 3 window
(Burrough and McDonnell, 1998)
Aspect Direction of maximum downward gradient
(Zevenbergen and Thorne, 1987)
Plan curvature Along-slope curvature (Zevenbergen and Thorne,
1987)
Profile curvature Downslope curvature (Zevenbergen and Thorne,
1987)
Tangential curvature Curvature in an inclined plane (Mitášová and
Hofierka, 1993)
Local Neighbourhoods Shaded relief Hill shaded image (Horn, 1981)
Flow direction Direction of flow calculated using one of seven flow
algorithms
# of downslope neighbours Number of neighbours in a 3 × 3 window that are
of lower elevation
# of upslope neighbours Number of neighbours in a 3 × 3 window that are
of higher elevation
# of inflowing cells Number of neighbours in a 3 × 3 window that flow
into the centre cell
Max downslope elev. change Maximum elevation drop to a neighbour in a 3 × 3
window
Local elev. percentile Elevation percentile within a user-specified window
Difference from mean elev. Difference from mean elevation in a 5 × 5 window
Standard deviation of elev. Standard deviation of elevations in a 5 × 5 window
Extended Catchment/dispersal area Spatial pattern of contributing area from one of
Neighbourhoods seven algorithms
Watershed Areas draining to digitized/inputted points or
stream links
Downslope flowpath length Downslope distance along flowpath to outlet
Max upslope flowpath length Maximum flowpath distance to ridge
Min upslope flowpath length Minimum flowpath distance to ridge
Average upslope flowpath length Average flowpath distance to ridge
Average upslope elev. Average elevation of contributing area
Average upslope slope Average slope of contributing area
Edge contamination Cells that are connected to an edge cell by a
flowpath
Viewshed Area that can be seen from a point (Franklin and
Ray, 1994)
Visibility index Spatial pattern of the number of visible cells
(Franklin and Ray, 1994)
Relative Landscape Elev. above pit cell Absolute elevation above nearest downslope
Position depression cell
Relative to peaks and pits Elevation relative to nearest upslope peak and
downslope depression cell
Relative to min and max elev. Elevation relative to DEM minimum and maximum
Relative to channel and divide Elevation relative to nearest channel and divide cells
Elev. above target cell Absolute elevation above nearest downslope target
cell

(continued overleaf )

Copyright  2005 John Wiley & Sons, Ltd. 1125 Hydrol. Process. 19, 1123–1130 (2005)
J. B. LINDSAY

Table I. (Continued )

Submenu Subprogram name Description

Compound Terrain Wetness (topographic) index Beven and Kirkby (1979) TOPMODEL index
Attributes
Stream power index Spatial pattern of stream power (Moore et al., 1991)
Sediment transport capacity Spatial pattern of erosion/deposition (Moore et al.,
1991)
Mass accumulation Mass routed throughout a basin with loading and
efficiency terms
Network wetness index Minimum downslope wetness index along flowpaths
(Lane et al., 2004) and/or areas of possible
overland flow reinfiltration
Landform classification Landform classes based on the Pennock et al.
(1987) scheme
Composite relief model Combination of any terrain attribute or image with
a shaded relief image
Depression Analysis Find depressions All cells contained within depressions.
Depth in sink Depression depth for each depression cell (Antonić
et al., 2001)
Stochastic shape analysis Probability of depression occurrence (Lindsay,
2004)
Find depression in contours Depression contours in a vector contour coverage
(Lindsay, 2004).
Stream Network Derive network Stream network derived from contributing area and
Analysis slope images
Strahler stream order Ordered stream network based on the
Strahler/Horton method
Shreve stream magnitude Ordered stream network based on the Shreve
method
Channel link classification Exterior and interior links and source, link, and
outlets nodes
Stream index number Unique identifier assigned to each link in a stream
network
Average link slope Average slope of each link in a stream network
Link length Length of each link in a stream network
Find main channel The main channel in a stream network identified by
examining dominant contributing area at
bifurcations
Convert streams to vector Raster stream network converted to vector format
Basin Morphometry Shape and relief indices Numerous shape and relief indices for basins
Drainage density Total channel length divided by total basin area
Hypsometric analysis Hypsometric plot and the hypsometric integral
None Drainage pathway analysis Downslope flowpath delineated from target cells
None Derive contours Vector contour coverage from a specified DEM
None Profile Elevation profile corresponding to line segments
digitized onto a displayed DEM
None Flowpath and stream profile Flowpath drawn onto a displayed DEM from a
digitized point and a longitudinal profile
corresponding to the flowpath

Copyright  2005 John Wiley & Sons, Ltd. 1126 Hydrol. Process. 19, 1123–1130 (2005)
SOFTWARE REVIEW

or combinations of terrain attributes (i.e. com- TAS can classify landforms based on the Pen-
pound attributes). Algorithms involving upslope nock et al. (1987) scheme, but the relative land-
or downslope calculations (i.e. those within the scape position subprograms (Table I) and fuzzy
Extended Neighbourhood and Stream Network membership facilities (Table II) are also useful for
Analysis menus) rely on the steepest descent, or developing custom landform classifications. TAS’s
‘D8’, flow-routing algorithm (O’Callaghan and watershed extraction sub-program is very flexi-
Mark, 1984) because of the need for unique, ble. Watersheds can either be extracted for dig-
non-diverging flowpaths. Several other algorithms itized/specified points or, given a stream network,
involving extended neighbourhoods (e.g. many of can be delineated for sub-basins (i.e. areas drain-
the subprograms under the Compound Terrain ing to stream links), hillslopes (i.e. areas drain-
Attributes menu), however, allow the user to select ing to either side of links), Strahler basins (i.e.
a flow-routing algorithm from a list of possibili- areas draining to links of each Strahler order), and
ties. Although most commercial GIS packages only Shreve basins (i.e. areas draining to links of each
implement the D8 flow-routing algorithm, TAS Shreve magnitude). TAS provides several functions
also offers the FD8 (Freeman, 1991), Rho8 (Fair- for basin analysis, including numerous relief and
field and Leymarie, 1991), FRho8 (Gallant and shape indices and hypsometric analysis. Stream
Wilson, 2000), FD8-Quinn (Quinn et al., 1995), network analysis includes facilities to order net-
D∞ (Tarboton, 1997), and ADRA (Lindsay, 2003) works and derive the associated network statistics
algorithms. The ADRA flow-routing algorithm can (e.g. number and length of channels per order,
extract channel networks during the calculation of bifurcation ratio, and length ratio), to classify inte-
contributing area because it incorporates a chan- rior/exterior links and source/link nodes within
nel initiation model directly into the calculation. networks, and to measure average link slope and
TAS is currently the only GIS that contains this length. A longitudinal profile can be generated
algorithm. simply by digitizing a point on a displayed DEM.
Common tasks for which TAS has been applied In addition to the terrain analysis functionality
include landform classification, watershed extrac- described above, TAS also possesses extensive spa-
tion, basin morphometric analysis, stream network tial analysis capabilities (Table II). The descrip-
extraction and analysis, and wetland delineation. tive statistics and raster calculator subprograms

Table II. General spatial analysis functions of TAS

Menu Function Menu Function

Pre-processing Interpolation Statistical Analysis Descriptive statistics


Depression removal Image histogram
Flats removal Convert to Z-scores
Spikes removal Compare distributions
Burn in streams Image correlation
Pixel aggregation Cross-tabulation
Cropping Generate random field
Datum transformation Fuzzy membership
Coordinate transformation
Rectification
GIS Analysis Reclass
Image processing Rotate and reflect Overlay
Filter Clump (group)
Contrast stretch Spread (distance)
Resample Cost surface analysis
RGB colour composite Buffer
Split RGB colour composite Area
Raster calculator
Raster/vector conversion

Copyright  2005 John Wiley & Sons, Ltd. 1127 Hydrol. Process. 19, 1123–1130 (2005)
J. B. LINDSAY

Figure 2. TAS’s raster calculator

(Table II) are of general interest for hydro-geomor- TAS is distributed with a library of nearly 50
phic applications. The descriptive statistic subpro- standard colour palettes, many of which have
gram is sophisticated and can calculate numerous been created specifically to display topography
basic statistics (e.g. mean, minimum, maximum, and other terrain attributes (e.g. wetness index,
diversity, etc.) over user-defined regions. This is flow direction, and contributing area). Nonetheless,
particularly useful for terrain analysis because it users will eventually find that they need to create
allows statistics to be calculated for multiple sub- custom palettes for specific purposes. The palette
basins within a region or for links within a stream manager is a useful subprogram for creating and
network (e.g. average basin slope or average chan- modifying colour palettes.
nel slope). TAS’s raster calculator (Figure 2) is
also quite advanced and allows complex calcula-
Importing and Exporting Data
tions involving both numerical and logical func-
tions within the same statement. Raster calculator DEMs are the main input data to TAS, but
scripts can be used to automate multiple state- the program does utilize many other types of
ments that must be executed consecutively. The spatial data, including satellite imagery. Raster
raster calculator is one of the most useful subpro- import/export functions include facilities to read
grams for spatial modelling. and write IDRISI images, ArcView raster for-
mats, GRASS images, Surfer grids, and device-
independent bitmaps. The program can also read.
Visualization
hgt files, the Shuttle Radar Topography Mis-
The TAS graphical user interface allows multiple sion (SRTM) DEM format. TAS reads and writes
images to be displayed simultaneously (Figure 1), IDRISI and GRASS ASCII vector files and deli-
which greatly facilitates visual analysis of multi- mited XYZ vector point files. Graphical output
ple terrain attributes. Displayed images can also (i.e. displayed images with vector overlays) can be
be combined with shaded-relief images to enhance saved as Windows metafiles (.wmf), which can
visualization of terrain. In these ‘composite-relief be read by most graphical packages and several
models’, variations in colour correspond to the dis- word-processing programs.
played attribute and tonal variations correspond The TAS raster format consists of a single-
to hill shading. Vector data may be overlaid onto precision floating-point binary file (.tas extension)
raster images to enhance data visualization and and an ASCII header file (.dep extension). The
interpretation further. Although vector data are binary file consists of a line for each row in the
primarily used for display purposes, some TAS image, with numbers ordered from top to bottom
algorithms do perform analysis on vectors. and from left to right. Thus, the TAS binary file

Copyright  2005 John Wiley & Sons, Ltd. 1128 Hydrol. Process. 19, 1123–1130 (2005)
SOFTWARE REVIEW

format is identical to the ArcView binary floating- Acknowledgements


point raster export format. The TAS header file
contains information about the minimum and I would like to thank Irena Creed and Paul
maximum values (for display purposes only), the Bates for their valuable comments and assistance
coordinates of the image’s boundaries, and the in preparing this review. Funding has been pro-
number of rows and columns. vided by a Natural Sciences and Engineering
Research Council of Canada (NSERCC) Postgrad-
uate Scholarship and the Ontario Graduate Schol-
Program Development and Availability arship (OGS) programme.
TAS was originally developed to house the special-
ized algorithms needed for my doctoral research
(Lindsay, 2004); however, the capabilities of the
program have been extended considerably past the References
scope of the dissertation. TAS operates on IBM
Antonić O, Hatic D, Pernar R, 2001. DEM-based depth in
PCs under Microsoft Windows platforms (i.e. sink as an environmental estimator. Ecological Modeling 138:
98, 2000, NT, and XP). Hardware requirements 247– 254.
vary depending on the size of DEM or image being Beven KJ, Kirkby MJ, 1979. A physically based, variable con-
processed, but the program itself requires approx- tributing area model of basin hydrology. Hydrological Sciences
imately 6 MB of RAM. Bulletin 24: 43–69.
TAS has been made freely available for down- Conrad O, 2002. Digitales Gelände-Modell (DiGeM) Terrain Anal-
ysis Software. http://www.geogr.uni-goettingen.de/pg/saga/
load from the University of Manchester Geogra- digem/ (15 August 2004).
phy research page: http://www.sed.manchester.ac.
Fairfield J, Leymarie P, 1991. Drainage networks from grid dig-
uk/geography/research/tas/. TAS is also housed ital elevation models. Water Resources Research 27(5): 709–717.
on a mirror site maintained by the Catchment Florinsky IV, Eilers RG, Manning GR, Fuller LG, 2002. Predic-
Research Facility (University of Western Ontario): tion of soil properties by digital terrain modelling. Environmental
http://publish.uwo.ca/∼icreed/tas.htm. Some tuto- Modelling & Software 17: 295–311.
rials, which have been used for student instruction Franklin WR, Ray CK, 1994. Higher isn’t necessarily better:
in the past, are also available for download at visibility algorithms and Experiments. In Advances in GIS
Research: Sixth International Symposium on Spatial Data Han-
these Websites. Program development is ongoing dling, Waugh TC, Healey RG (eds). Taylor & Francis: Edin-
(the current version is 1·6·6) and the TAS home- burgh; 751–770.
page is updated frequently. The author welcomes Freeman TG, 1991. Calculating catchment area with divergent
comments and feedback. flow based on a regular grid. Computers & Geosciences 17(3):
413– 422.
Gallant JC, Wilson JP, 1996. TAPES-G: a grid-based terrain
Concluding Remarks analysis program for the environnemental sciences. Computers
TAS marries the visualization and spatial anal- & Geosciences 22(7): 713–722.
ysis capabilities commonly found in raster GIS Gallant JC, Wilson JP, 2000. Primary topographic attributes. In
packages with an extensive list of subprograms Terrain Analysis: Principles and Applications, Wilson JP, Gal-
lant JC (eds). John Wiley: New York; 51–85.
specifically designed for research in hydrology
Horn BKP, 1981. Hill shading and the reflectance map. Proceed-
and geomorphology. Although TAS is a powerful, ings of the IEEE 69(1): 14– 47.
research-grade environmental modelling program, Hutchinson MF, 1989. A new procedure for gridding elevation
its ease of use and free availability also make and stream line data with automatic removal of spurious pits.
it ideal for student instruction. TAS is suited to Journal of Hydrology 106: 211–232.
research and instruction in physical geography, Lane SN, Brookes CJ, Kirkby MJ, Holden J, 2004. A network-
hydrology, geomorphology, climatology, environ- index-based version of TOPMODEL for use with high-resolution
digital topographic data. Hydrological Processes 18: 191– 201.
mental science, and watershed modelling. Since
Lindsay JB, 2003. A physically based model for calculating
TAS was posted to the Internet in September contributing area on hillslopes and along valley bottoms. Water
2003, the program has been downloaded in at Resources Research 39(12): 1332. DOI: 10·1029/2003WR002576.
least 19 countries and is becoming widely used by Lindsay JB, 2004. Coping with topographic depression in digital
researchers. terrain analysis. PhD thesis, University of Western Ontario.

Copyright  2005 John Wiley & Sons, Ltd. 1129 Hydrol. Process. 19, 1123–1130 (2005)
J. B. LINDSAY

Lindsay JB, Creed IF, 2005. Removal of artifact depressions Quinn PF, Beven KJ, Lamb R, 1995. The ln(a/tanb) index: how
from DEMs: towards a minimum impact approach. Hydrological to calculate it and how to use it within the TOPMODEL frame-
Processes 19: in press. work. Hydrological Processes 9: 161–182.
Mitášová H, Hofierka J, 1993. Interpolation by regularized spline Tarboton DG, 1997. A new method for the determination of flow
with tension: II. Applications to terrain modeling and surface directions and upslope areas in grid digital elevation models.
geometry analysis. Mathematical Geology 25(6): 657– 669. Water Resources Research 33(2): 309–319.
Moore ID, Grayson RB, Ladson AR, 1991. Digital terrain mod- Wilson JP, Gallant JC, 2000. Digital terrain analysis. In Ter-
eling: a review of hydrological, geomorphological, and biological rain Analysis: Principles and Applications, Wilson JP, Gallant JC
applications. Hydrological Processes 5: 3–30. (eds). John Wiley: New York; 1–27.
O’Callaghan JF, Mark DM, 1984. The extraction of drainage Wood J, 1998. Modelling the continuity of surface form using
networks from digital elevation data. Computer Vision, Graphics, DEMs. In The 8th International Symposium on Spatial Data
and Image Processing 28: 323– 344. Handling, Vancouver, Canada, 11–15 July.
Pennock DJ, Zebarth BJ, deJong E, 1987. Landform classifica- Zevenbergen LW, Thorne CR, 1987. Quantitative analysis of
tion and soil distribution in hummocky terrain, Saskatchewan, land surface topography. Earth Surface Processes and Landforms
Canada. Geoderma 40: 297– 315. 12: 47–56.
Pike RJ, 2000. Geomorphometry—diversity in quantitative sur-
face analysis. Progress in Physical Geography 25(1): 1–20.
Pike RJ, 2002. A bibliography of terrain modeling (geomorphom-
etry), the quantitative representation of topography— Supplement
4 ·0 . US Geological Survey, Open- file Report 02–465; 158.

Copyright  2005 John Wiley & Sons, Ltd. 1130 Hydrol. Process. 19, 1123–1130 (2005)

You might also like