𝔖 Bobbio Scriptorium
✦   LIBER   ✦

A c program for detecting slope forms from grid dems

✍ Scribed by Jay Gao


Publisher
John Wiley and Sons
Year
1994
Tongue
English
Weight
468 KB
Volume
19
Category
Article
ISSN
0360-1269

No coin nor oath required. For personal study only.

✦ Synopsis


This C program is operational under either the DOS or the UNIX environment, depending on how it is compiled. If compiled under the DOS environment, the maximum dimension of the elevational matrix may not exceed 100 rows by 100 columns, owing to the limited memory of a personal computer. Such a constraint. however, no longer exists in the UNIX environment. The digital elevation models (DEMs) to be processed by this program must contain only elevations in ASCII format. They may contain elevations in integers that are organized sequentially by rows followed by increase in columns. Such DEM parameters as dimension (row and column numbers), resolution, and elevational unit have to be entered through the keyboard after the program is initiated and running.

This program is designed to detect slope forms in three dimensions that include both the profile and crosssection directions based on elevation, aspect and gradient information. Prior to the detection of profile slope form, aspect and gradient must have been determined or calculated from the DEM already. Most of the operations are carried out within a window of three by three cells: f f -~, j -l ( N W ) Hi-1, j ( N ) Hi-1, j+l(NE) Hi, j -I (W) Hi, j H i , j + l ( E )