Solved! Go to Solution.
Ok guys, i just see i got some very comprehensive answers, thanks for that. But i got to confess I was only telling you the half of the truth. So may I can ask you how you would solve this task:
[ATTACH=CONFIG]0[/ATTACH]
Actually it is not about creating a whole drainage network as one, but to set up so-called "habitat patches" for fish. The red line is a main river stretch and the blue line represents a part from a tributary (as mentioned in my first thread, tributaries and the main segment are 2 different shpfiles. The grey points are impassable barriers for fish, so shortly speaking, every habitat is representing an area that delineates a freely moveable river habitat which will end at any impassable barrier.
OK so now how would you create a single habitat patch (uniform ID) consisting of tributary (blue) and main stretch(red) out of the two different shapefiles.
Please be so kind to describe it in a manner so that an arcgis newcomer such as me will be able to reproduce it.
Many thanks for your answers so far. I can see whether I am able to solve this problem with your information already provided. I will let you know if it works.
Thanks, Wolf
Hi,
Im struggling a lot with the following issue:
I got one shapefile which shows main rivers (those rivers again are segmented into several parts by an ID); as well as one shapefile with the corresponding tributaries to those main rivers.
My task is to merge the tributaries to the main rivers in such way that the endproduct will be a total river network. The idea then is to get a combined polyline for every main river segment and the tributaries belonging to it, i.e. the number of main river segments is just the same as before, it is only that now each main river segment should be extended by tributaries.
I did already some attempts on spatial joining the tributaries to the main rivers (join many to one), which works, but I the layout view is still lacking of tributaries.
Other attempts like "union" did not work either, because they require polygon shapefiles.
The dissolve tool again needs to be fed with only one shapefile, which is not the case here. And finally, merging is not leading to the desired goal, because it constructs two distinct data sets in the attribute table rather than assigning the tributaries to the segments.
Any suggestions or solutions for this?
I hope anyone out there in the Esri forum knows how to resolve my tricky problem;)
Many thanks in advance,
Greetings, Wolfgang O (Austria)
As I read your post, what you are wanting to do is create a single feature with branching lines:
a river and tributaries forming a drainage network.
That is simply not possible with simple line features: lines don't fork.
You need to create routes, based on a common feature attribute.
Something like "basinName", that will identify all the segments and tributaries that make up a particular
"combined polyline for every main river segment and the tributaries belonging to it".
To Wit: whatever the actual river or tributary name, all the lines that connect flowing northwest have
basinName = 'Rhine' and the ones that connect up flowing southeast have basinName = 'Danube'
Use the Create Routes tool in the Linear Referencing toolbox.
This will give you a forking line feature named Rhine and one named Danube.
Ok guys, i just see i got some very comprehensive answers, thanks for that. But i got to confess I was only telling you the half of the truth. So may I can ask you how you would solve this task:
[ATTACH=CONFIG]0[/ATTACH]
Actually it is not about creating a whole drainage network as one, but to set up so-called "habitat patches" for fish. The red line is a main river stretch and the blue line represents a part from a tributary (as mentioned in my first thread, tributaries and the main segment are 2 different shpfiles. The grey points are impassable barriers for fish, so shortly speaking, every habitat is representing an area that delineates a freely moveable river habitat which will end at any impassable barrier.
OK so now how would you create a single habitat patch (uniform ID) consisting of tributary (blue) and main stretch(red) out of the two different shapefiles.
Please be so kind to describe it in a manner so that an arcgis newcomer such as me will be able to reproduce it.
Many thanks for your answers so far. I can see whether I am able to solve this problem with your information already provided. I will let you know if it works.
Thanks, Wolf
@Richard Fairhurst:
That was an astonishing answer and brilliant guide support as well, many thanks for your efforts. It is definitely working and I am very surprised by this elegant solution. Saved me a lot of further time and brainracking. Respect!
:cool: