Skip to main content
Question

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


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)

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
lars_de_vries wrote:

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.

 

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings