basindelin uses digital elevation data to delineate hydrological or cold-air drainage basins.
a raster object, two-dimensional array or matrix of elevations.
dem is a raster object, a raster onbject is returned.
This function is used to delineate cold-air drainage basins.
It iteratively identifies the lowest elevation pixel of
assigns any of the eight adjoining pixels to the same basin if higher.
The process is repeated on all assigned adjoining pixels until no further
higher pixels are found. The next lowest unassigned pixel is then
identified, a new basin identity assigned and the processes repeated until
all pixels are assigned to a basin. Relative to heuristic algorithms, it is
slow and run time increases exponentially with size of
dtm. However, in
contrast to many such algorithms, all basins are correctly seperated by
boundaries >0. With large datasets, with > 160,000 pixels, calculations will
be slow and
basindelin_big() should be used instead
a raster object, two-dimensional array or matrix with individual basins numbered sequentially as integers.
basindelin_big() for working with large datasets.
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.