How to get shape with lines between points which have to lay on the same line entity?
-
2Please 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.Vince– Vince2015年09月23日 17:49:09 +00:00Commented Sep 23, 2015 at 17:49
1 Answer 1
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.
Explore related questions
See similar questions with these tags.