1

How to get shape with lines between points which have to lay on the same line entity?

enter image description here

PolyGeo
65.5k29 gold badges115 silver badges350 bronze badges
asked Sep 23, 2015 at 17:26
1
  • 2
    Please edit this question to contain a great more detail (a couple of paragraphs) explaining what software you have (including version and relevant available extensions), what the data in the graphic represents, and what you are trying to accomplish. You should also indicate the programming interface you expect to use (UI, Python, ArcObjects,...). If you haven't taken the Tour yet, please do, since it will help you write questions that can be answered. Commented Sep 23, 2015 at 17:49

1 Answer 1

2

This can be done using linear referencing.

1) After creating routes from you lines, you can extract the M value of those lines for each point using locate feature along route.

2) With these value, create a table including the start and end M values for each line. (table join) make sure that you use the line ID to avoid using two points from different line entities.

3) Use make route layer event to create the lines based on your table.

IF you have an advanced licence, you can also use another method.

1) Use "split line at points" to split your lines where you have a point.

2) Perform a spatial join with the result, and select by attribute the lines with 2 points. Those will be the lines that join two points on the same line.

answered Sep 23, 2015 at 18:41

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.