Situation sketch:

I have multiple utility network cables drawn(purple lines in the figure). These lines are drawn all next to each other since I'm working at the level of an "overview map". The next step is however to draw a technical map, where the cables are more realistic drawn, which is that they all lay on top of each other in 1 trench (red line in the middle)


Is there a tool or a python script that allows me to select all the cables and let them coincide/snap/merge to the trench-line, without losing their properties so that afterwards I can still see that the trench contains 5 cables?

  • 1
    Welcome to GIS SE! Have you tried the Snap ArcToolbox tool? – Midavalo Feb 6 '17 at 16:37
  • 1
    Replace geometry is a part of editing toolbar I believe – FelixIP Feb 6 '17 at 18:41
  • 1
    This is simpler solution gis.stackexchange.com/questions/155080/… – FelixIP Feb 6 '17 at 19:17
  • You could attribute the trench with number of cables and symbolize by this attribute. – Ian Yau Feb 6 '17 at 22:04
  • @Midavalo, I tried to use the snap tool; but it gives an error when I try to snap to the trench: imgur.com/62Qwprs imgur.com/NeWgt9d When I read the description of "Replace Geometry", It does not really give the output I want. I have now read something about the "Integrate" Tool, maybe I can try use that one? – Aarjen Peeters Feb 7 '17 at 9:35

If your cables have a field which corresponds to the trench number you could carry out a one-to-many join, which would attach the cable information to the trench line (see http://support.esri.com/technical-article/000010848).

If it's not coded like that, you could still use a spatial join based on proximity. Both ways you would end up with multiple entries, e.g. each trench would appear three times if there are three cables.

However, the Integrate tool is also a good option if you want to shift the cables themselves, though you'd need to be careful around any junctions.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.