Skip to main content
Question

Detection of mismatches in the number of lines that adjoin each other

  • July 5, 2017
  • 2 replies
  • 29 views

Forum|alt.badge.img

I need to detect if there is a mismatch in the number of polylines that adjoin each other. For example one polyline in the middle, four either side (or it could be any number of mismatches: 3-2-3 for example. Polylines aren't snapped together; it's for a powerline project so it's not a requirement.

I can group the lines together and assign them grouped id's together using the attached process.

One final point; I only need to calculate the relationship of polylines that have 'neighbours' on either side and not on polylines with only one set of 'neighbours' (see below)

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

lars_de_vries
Forum|alt.badge.img+10

Hi @kyle_d_wade,

I am not sure whether I understand your question correct, but I think you want to know whether a certain polyline has neighboring polylines, but you also mention whether lines are connected to each other. Looking at your data, I assume that the parallel polylines are offsetted perpendicular to the other ones. I do not see an attached process, only images, so that does not help either.

Could you describe the different steps you want to test? I think that will help in finding the correct solution.


Forum|alt.badge.img
  • Author
  • 4 replies
  • July 6, 2017

Hi @kyle_d_wade,

I am not sure whether I understand your question correct, but I think you want to know whether a certain polyline has neighboring polylines, but you also mention whether lines are connected to each other. Looking at your data, I assume that the parallel polylines are offsetted perpendicular to the other ones. I do not see an attached process, only images, so that does not help either.

Could you describe the different steps you want to test? I think that will help in finding the correct solution.

If there is four lines in group 1, one line in group 2, and four lines in group 3 how do I detect if there are less lines in group two compared to groups 1 and 3 (more lines on either side)? The lines aren't snapped together. I have managed to count how many wires are in each group with Statistics Calculator.