Essa é uma revisão anterior do documento!
Tabela de conteúdos
Colocar isto na wiki principal do terra hidro:
Are you are interested in using the trial version of the TerraHidro 5? Click here!
TerraHidro 5 - Console applications
Donwload
Last Release
ThConsole-5.0.0-win64.exe
Simple Example
Imagine that you have the DEM of Amazon basin on the file “C:\data\amazon_dem.tif”.
And you want to extract the drainage network using the TerraHidro 5.
1- The first step is to generate a pitless DEM from the input DEM.
C:\data>th removepits amazon_dem.tif amazon_pitless_dem.tif
2- The second step is to generate the D8 flow directions grid from the pitless DEM.
C:\data>th d8 amazon_pitless_dem.tif amazon_d8.tif
3- The third step is to generate the contributing area grid from the D8 flow directions grid.
C:\data>th d8ca amazon_d8.tif amazon_contributing_area.tif
4- The forth step is to generate the drainage network grid from the contributing area grid.
Here you will need to set the threshold value of contributing area.
C:\data>th d8drainage amazon_contributing_area.tif amazon_drainage.tif 1000000
5- The final step is to generate the drainage network vector file from the grid file.
C:\data>th d8drainagev amazon_drainage.tif amazon_drainage.shp
Other Applications
To know all the possiple console applications just type th on a console.
Full List:
carvev - Finds and carves flat areas from a DEm in a V-shaped format
simplepits - Try to remove pits by filling the pit cell. The pit is removed only if this procedure do not generate a new pit. Warning: Not generates a pitless DEM.
pfs - Remove all pits using the PFS algorithm to carve a path to an outlet cell. Generates a pitless DEM.
removepits - This is the preferred procedure to remove all pits from a DEM. This is equivalent to perform the carvev, simplepits and pfs precedures in sequence. Generates a pitless DEM.
d8 - Generates the D8 flow directions grid from a pitless DEM.
d8ca - Generates the contributing area grid from a D8 flow directions grid.
d8drainage - Generates the drainage network grid from a contributing area grid.
d8drainagev - Generates the drainage network vectors from a drainage network grid.
fill - Fills voids of a DEM data (eg SRTM 30m) using a reference DEM data (eg SRTM 90m).