Skip to main content
Question

how to complete ? Aggregator?

  • January 13, 2025
  • 2 replies
  • 56 views

curtisd54
Contributor
Forum|alt.badge.img+4

hello all, 

I have 2 sets of data with no fields which I can join on (for Feature Merger transformer)

I would like to keep the 1 set of data (ieqm2023) with its geometry and attributes and add to it the attributes ONLY from the 2nd dataset (ieqm2025) where geometry overlaps with the (ieqm2023) geometry. 

 

so for instance I want the same numbers of records (ieqm2023 - 1,880,638 ) afterwards only with more fields (from 2nd dataset)

 

   (see attached) I was thinking an Aggregator or an area on areaOverlayer transformer might work? but I have had no luck getting the correct result so far.

 

thanks and much appreciated for any help!!

 

2 replies

hkingsbury
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • January 13, 2025

Have a look at the SpatialRelator - https://docs.safe.com/fme/html/FME-Form-Documentation/FME-Transformers/Transformers/spatialrelator.htm

The 2023 data will be the Requestor and the 2025 data will be the supplier. You can set what spatial predicate you’d like to test for and then configure it to merge attributes. In your case it’s probably best to prefix the supplier as you can then clearly differentiate the 2025 attributes from the 2023


curtisd54
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • January 16, 2025

thanks ​@hkingsbury  much appreciated. that transformer SpatialRelator worked well.

 

one questions i have now though is why doesn’t the number of records match the original number from my requestor (Ie. where does the 1880,628 - 1823,324 = 57, 004 go? ) or what happens to them? how can i check  that those records are all there in my outcome ? as using this transformer the geometry should not change?

I know they are not the same as those in the rejected - as I checked and rejected is the records from the Supplier which dont relate with the Requestor.

 

Maybe I have to change something in the parameters? (see below for my setup)

 

I have tried this with different settings with “spatial predicates to test” and this get the same 1823,324 as outcome

 

any help is appreciated,

thanks again,

Curtis


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