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

_______________________________________________
grass-user mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to