Skip to main content
Question

How can i perform a spatial join of points with many to many (m:n) relation?


renetschi
Contributor
Forum|alt.badge.img+4

Hello everyboy!

 

I got two different point feature classes.

 

The neighbor finder lets me do the 1:1 and 1:n relation which is fine.

 

Now i would like to perform a spatial many to many (m:n) relation of the points of the two feature classes but i can't figure out a decent way to do this in fme.

 

I really appreciate your help!

 

Thanks a lot!

René

6 replies

geomancer
Evangelist
Forum|alt.badge.img+51
  • Evangelist
  • October 27, 2022

Would it help to use the NeighborFinder in Candidates Only mode?


renetschi
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • October 27, 2022

hey!

 

i am not quite sure.

 

as far as i understand the neighborfinder, the candidates only mode just turns around the 1:n cardinality to a n:1 cardinality so that many base inputs relate to one candidate input.

 

or do i get it wrong?

 

thanks for your reply!


dustin
Influencer
Forum|alt.badge.img+31
  • Influencer
  • October 27, 2022

I would look into the PointOnPointOverlayer with a high tolerance. You could at least configure the list parameter to return attributes of all points within that tolerance.


geomancer
Evangelist
Forum|alt.badge.img+51
  • Evangelist
  • October 27, 2022
renetschi wrote:

hey!

 

i am not quite sure.

 

as far as i understand the neighborfinder, the candidates only mode just turns around the 1:n cardinality to a n:1 cardinality so that many base inputs relate to one candidate input.

 

or do i get it wrong?

 

thanks for your reply!

I was thinking of something like this.

Many_to_ManyEvery point of dataset A can have 0 or more points of dataset B in the list, and the other way aroud. Does this count as many-to-many?


f.kemminje
Contributor
Forum|alt.badge.img+11
  • Contributor
  • November 1, 2022

increase the number of neighbors to find value in settingincreas neighbours


renetschi
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • November 30, 2022

hey thanks for all your help. i will take a look into it and hopefully my problem will be solved!


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