Skip to main content
Question

Join/Test on Attributes and Geometry simultaneously

  • May 16, 2024
  • 2 replies
  • 52 views

mcannalea12
Contributor
Forum|alt.badge.img+2

This seems like it should be really easy to do but I’m spinning my wheels. I have a dataset of points, each with an attribute of Contract Number. I have a set of polygons also with Contract Number attributes. I need to determine if the point falls within a polygon AND the point contract number matches the polygon contract number that it falls within. What’s the best way to achieve this?

2 replies

liamfez
Influencer
Forum|alt.badge.img+44
  • Influencer
  • May 16, 2024

You could try the SpatialFilter and group by the Contract Number attribute.


hkingsbury
Celebrity
Forum|alt.badge.img+65
  • Celebrity
  • May 16, 2024

You could try the SpatialFilter and group by the Contract Number attribute.

Yep, use GroupBy - https://docs.safe.com/fme/html/FME-Form-Documentation/FME-Transformers/Group_Based_Transformers.htm