Skip to main content
Question

Spatial Join: one to one

  • March 21, 2023
  • 2 replies
  • 69 views

Hi,

there are lots of qstns about one to many joins.

I want to understand what transformer to use to achieve a one to one spatial join based on geometry?

I have a line in GIS that I want to analyse to see if there a geometry join to a line in CAD. This works fine with the SpatialFilter if there is only one line.

however when GIS and CAD has two lines in close proximity the SpatialFilter is creating a many to one join by joining the Two GIS lines to the same CAD line.

How do I create the one to one join please?

thanks in advance

2 replies

nielsgerrits
VIP
Forum|alt.badge.img+60
  • 2938 replies
  • March 21, 2023

Do you want to check if two lines from different sources are the same? One way to do this is to use the Matcher transformer.

 

The ChangeDetector is probably a more intuitive way to do this.


Forum|alt.badge.img+2
  • 1891 replies
  • March 22, 2023

@tammydovey​ Did you try SpatialRelator. This will give you a list of all the lines that touch. There's a article on Spatial Joins that give the options for joining spatial data and also a nice webinar