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
Did this help you find an answer to your question?

3 replies

nielsgerrits
VIP
Forum|alt.badge.img+53
  • Best Answer
  • May 21, 2024

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+53
knigge wrote:

Hey nielsgerrits,

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

 

Best regards

Cheers!


Reply


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