Skip to main content
Solved

Out of a huge number of Polygone couples finding the nearest cuple part along a line


knigge
Contributor
Forum|alt.badge.img+4

Hello there,

I got 3 tables. There is one table with polygones (A) and two with lines (B and C).

The lines in table B are going through my polygones. With the LineOnAreaOverlayer I cut the polyonges (A) in two. Now I need to know which part of the cuttet polyone is further away from my lines out of table C (in a max distance around the lines in C from ± 10 meters).

For each cuttet polygone couple I need the furthes away one from the lines out of C.

So along my C Lines are a lot of cutted polygone pairs. For each pair I need just the polygone which is further away.

Any ideas?

I tried the NeighborFinder alrdy, but dont geht my result.

 

Thanks a lot!!!

Best answer by nielsgerrits

NeighborFinder, polygons are bases, lines are candidates, distance unlimited, number to find = 1.

You can then sort on _distance and use a Sampler, group by original polygon ID to find the closest one.

View original
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.

3 replies

nielsgerrits
VIP
Forum|alt.badge.img+67

NeighborFinder, polygons are bases, lines are candidates, distance unlimited, number to find = 1.

You can then sort on _distance and use a Sampler, group by original polygon ID to find the closest one.


knigge
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • May 21, 2024

Hey nielsgerrits,

thank u very much for ur solution! It worked the way I need it :D.

 

Best regards


nielsgerrits
VIP
Forum|alt.badge.img+67

Hey nielsgerrits,

thank u very much for ur solution! It worked the way I need it :D.

 

Best regards

Cheers!