[GRASS-user] Classify basins as "narrow"

Moritz Lennert mlennert at club.worldonline.be
Wed Sep 2 23:59:46 PDT 2020


On 3/09/20 08:54, Stefan Blumentrath wrote:
> In order to get the skeleton of the basin you could use r.neighbors as well:
> r.neighbors input=basin_boundary_distance method=maximum output=basin_boundary_distance_max
> r.mapcalc expression="skeletons=if(basin_boundary_distance < basin_boundary_distance_max, null(), 1)"
> This should approximate the center lines...

There is also v.voronoi with the -s flag for extraction of skeletons 
from vector polygons.

Moritz



More information about the grass-user mailing list