Question

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

  • 27 October 2022
  • 6 replies
  • 16 views

Badge

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

Userlevel 4
Badge +36

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

Badge

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!

Userlevel 3
Badge +26

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.

Userlevel 4
Badge +36

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?

Badge +3

increase the number of neighbors to find value in settingincreas neighbours

Badge

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

Reply