[GRASS-user] Merging connected stream lines

Stefan Blumentrath Stefan.Blumentrath at nina.no
Thu Oct 26 00:58:47 PDT 2017


Hi,

Did you try:
https://grass.osgeo.org/grass72/manuals/v.net.components.html

That might give you a common attribute for all connected lines in your network…

Cheers
Stefan

From: grass-user [mailto:grass-user-bounces at lists.osgeo.org] On Behalf Of Huidae Cho
Sent: torsdag 26. oktober 2017 09.07
To: GRASS user list <grass-user at lists.osgeo.org>
Subject: [GRASS-user] Merging connected stream lines

Hi list!

I couldn't find an easy way to merge connected stream lines per network (stream output from r.watershed thinned and converted to vector). I'm not even sure if stream lines with tributaries can be merged into one feature. v.build.polylines merges multiple continuous lines, but it starts a new line at a confluence. If merging multiple lines with shared nodes is topologically impossible, what would be the best way to select all connected line features or assign the same category to those lines?

Any suggestions are welcome!

Thanks!
Huidae
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20171026/47b4db04/attachment.html>


More information about the grass-user mailing list