Skip to main content
Solved

determine which feature with which feature have the same ID


arash_hokm
Contributor
Forum|alt.badge.img+8

Hello FME Community,

I have a shapefile that contains an ID column. the ID must be unique, but I have data records that have come twice.

Only ID is the same and other columns are different.

with DuplicateFilter I filter Duplicate. so I get features that came twice. I would like to know that which feature with which feature have the same ID.

Thanks in advance for your help.

Best answer by redgeographics

Instead of a DuplicateFilter you can use a Matcher, all features that match will be output through its Matched port.

View original
Did this help you find an answer to your question?

3 replies

redgeographics
Celebrity
Forum|alt.badge.img+48
  • Celebrity
  • Best Answer
  • January 11, 2023

Instead of a DuplicateFilter you can use a Matcher, all features that match will be output through its Matched port.


arash_hokm
Contributor
Forum|alt.badge.img+8
  • Author
  • Contributor
  • January 11, 2023
redgeographics wrote:

Instead of a DuplicateFilter you can use a Matcher, all features that match will be output through its Matched port.

@Hans van der Maarel​ Thanks alot


srinivasgg
Contributor
Forum|alt.badge.img+5
  • Contributor
  • January 11, 2023

There can be many ways to do this.

Using FeatureJoiner/FeatureMerger - after adding the records data you can get matched data from BOTH shape file and DataRecords.

Using DatabaseJoiner - can join the data records using the column ID.


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