Gc¶
Classifies the cells of a basin by their geomorphological role, combining three maps: the slope, the river network and the topographic classes of Tc. The steep sites, as cliffs and rock walls, and the channels are taken out first; the remaining cells keep their topographic class, which tells hillslopes, valleys and planar sites apart by their curvatures.
The input maps come from Slope, ExtractNetwork and the 9 classes of Tc. The steepness threshold is a tangent of the slope, as in the output of Slope: 1 is 45 degrees.
Details¶
Each cell gets, in this order: 110 if its slope reaches the threshold (steep sites), 100 if it is a network cell (value 2 in the network map, as from ExtractNetwork), otherwise its class from Tc (10 to 90).
The aggregated map groups them in 15 non-channelled valleys (classes 30, 70, 90), 25 planar sites (10), 35 channels (100), 45 hillslopes (20, 40, 50, 60, 80) and 55 steep sites (110).
Parameters¶
Subdivides the sites of a basin in 11 topographic classes.
Toolbox folder: Geomorphology
Status: Certified
Keywords: Geomorphology, OmsTc, OmsSlope, OmsExtractNetwork
Authors: Daniele Andreis, Erica Ghesla, Cozzini Andrea, Rigon Riccardo
Class: org.hortonmachine.modules.Gc
Inputs
Parameter |
Type |
Unit |
Default |
Description |
|---|---|---|---|---|
|
raster file |
The map of the slope |
||
|
raster file |
The map with the network |
||
|
raster file |
The map with the Thopological classes cp9 |
||
|
int |
|
The slope, as tangent like the output of Slope, from which a cell is classified as steep (class 110). |
Outputs
Parameter |
Type |
Unit |
Description |
|---|---|---|---|
|
output file |
The map with the geomorphological classes |
|
|
output file |
The map with the geomorphological classes |
Example¶
The example runs on the sample elevation model of the manual, dtm_flanginec.tif in docs/manual/modules/maps/data, each module on the outputs of the previous ones:
import org.hortonmachine.modules.Gc
// the folder with the elevation model: change it to yours
var folder = "/data/flanginec/"
var gc = new Gc()
// the slope of Slope, the network of ExtractNetwork and the 9 classes of Tc
gc.inSlope = folder + "slope.tif"
gc.inNetwork = folder + "net.tif"
gc.inCp9 = folder + "tc9.tif"
// the cells with a slope of 45 degrees or more are steep
gc.pTh = 1
gc.outClasses = folder + "gc.tif"
gc.outAggregateClasses = folder + "gc_aggregated.tif"
gc.process()
The aggregated geomorphological classes of the sample elevation model: mostly planar sites, crossed by hillslopes, valleys and channels.¶