Skip to main content
Question

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

  • October 27, 2022
  • 6 replies
  • 94 views

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+58
  • Evangelist
  • 932 replies
  • October 27, 2022

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


renetschi
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • 4 replies
  • 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
  • 627 replies
  • 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+58
  • Evangelist
  • 932 replies
  • 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!

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
  • 189 replies
  • November 1, 2022

increase the number of neighbors to find value in settingincreas neighbours


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

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