Skip to main content

can you think of a tester or tool in FME that can check for polygons in a dataset which are separate (not connected) but have to the same objectID

 

Ie . fixing this issue below:

0?ui=2&ik=44664ef3f8&attid=0.1&permmsgid=msg-f:1844346973585627360&th=19986fccfb2358e0&view=fimg&fur=ip&permmsgid=msg-f:1844346973585627360&sz=s0-l75-ft&attbid=ANGjdJ9xrg9_OnWCaZdxlpLBF2TN1j0ilWku__nSIKq9hFM7-5-BlLhEK2jVrcNhqUXCpPcze5tiESxSzEL_pivDXYmTR_AFSqMsRpAimJ_9pgd17_47CQdUAPEyjjA&disp=emb&zw

thanks!

Hi ​@curtisd54 ,

One of Matcher, DuplicateFilter, or AttributeValidator (Valication Rule: Unique) might help you.


My idea would be to use the Matcher as ​@takashi said, paired with a NeighborFinder. Set the Matcher to Check Attributes using your ID attribute. With the NeighborFinder set to Candidates Only for the input you can connect just the Matched output from Matcher. You can then use Group Processing, Group By the _match_id attribute created by the matcher, and make sure to set Treat Polygons As to Areas.

 

The Matcher will tell you which features have the same ID, and then sending those features through the NeighborFinder will tell you which ones are disjoint as they should have a _distance value greater than 0.