<div dir="ltr">Hi all, <div>I have a large river network dataset (lines). Now I'd to assign unique categories to each group of connected lines that have an attribute in common. </div><div><br></div><div>For example, my rivers are categorized based on some kind of stream order. I want to group all rivers that belong to stream order 2 and are spatially connected; each group should get a unique category value. I thought that I could first extract all rivers with a particular attribute (e.g. stream order = 2) which will provide me some scattered pattern of lines. Then I need a spatial join tool to make subgroups of lines that are connected. How can I achieve the latter? Any idea?<br></div><div><br></div><div>Cheers,</div><div>Johannes</div></div>