[GRASS-user] r.watershed - Cleaning vector streams

Adrien André adr.andre at laposte.net
Fri Mar 29 12:03:32 PDT 2019


Hello,

following the wiki doc about stream extraction [1], once the stream 
layer thinned and vectorized,
there are many small arcs i would like to remove (see attached capture [2]).

So, with the underlying drainage direction map [3], and the resolution 
r, i would like to delete segments
- about r*sqrt(2) long
- whose azimuth is more than 45° different from the pixel value under 
its starting point.

But i still haven't figured a way to achieve this.

Do you have any advice ?

Thank you,

Best regards,

[1] 
https://grasswiki.osgeo.org/wiki/Creating_watersheds#Display_first_results
[2] https://framapic.org/1exdxrdqxemw/ytuVxiBp2FKh.png
[3] https://grass.osgeo.org/grass74/manuals/r.watershed.html

-- 
Adrien

-------------- next part --------------
A non-text attachment was scrubbed...
Name: small_arcs.png
Type: image/png
Size: 175276 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20190329/1af209f0/attachment-0001.png>


More information about the grass-user mailing list