Skip to main content
Question

I have 2 files: dgn1 (main data) dgn2 (reference) The two files should be checked against each other for duplicates. In the end, the dgn2 should be recreated without the duplicates contained in dgn1. Please help. Thanks.

  • July 12, 2022
  • 7 replies
  • 26 views

aharport
Contributor
Forum|alt.badge.img+4
I have 2 files: dgn1 (main data) dgn2 (reference) The two files should be checked against each other for duplicates. In the end, the dgn2 should be recreated without the duplicates contained in dgn1. Please help. Thanks.

7 replies

geomancer
Evangelist
Forum|alt.badge.img+60
  • Evangelist
  • July 12, 2022

Try the Matcher and/or the ChangeDetector.


aharport
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • July 13, 2022

Thanks, unfortunately the transformers don't work.

 

dgn1 contains cells and dgn2 contains texts that have the same insertion points.

 

Apparently the problem is that no texts are matched with geometries in the transformer.

 

How can I convert the texts to points or cells before the matcher transformer so that I have a geometry to geometry comparison? However, all other attributes should be retained.


geomancer
Evangelist
Forum|alt.badge.img+60
  • Evangelist
  • July 13, 2022

Alas, I don't have enough knowledge of DGN files in FME to help you out here.

I hope somebody else can look into this (new) question.


keziaatsafe
Safer
Forum|alt.badge.img+8

Hi @aharport​ ,

 

Would the duplicateFilter transformer help in your case?

 

-Kezia


aharport
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • August 15, 2022

Hi Kezia,

unfortunately, no


geomancer
Evangelist
Forum|alt.badge.img+60
  • Evangelist
  • August 15, 2022

The bright minds on this forum may be able to help you better if you can provide them with some sample data, like a small part of dgn1 and the corresponding part of dgn2.


jovitaatsafe
Safer
Forum|alt.badge.img+11

Thanks, unfortunately the transformers don't work.

 

dgn1 contains cells and dgn2 contains texts that have the same insertion points.

 

Apparently the problem is that no texts are matched with geometries in the transformer.

 

How can I convert the texts to points or cells before the matcher transformer so that I have a geometry to geometry comparison? However, all other attributes should be retained.

Can you try disabling 'Expand Named Cells' in the reader for DGN 1? That will allow you to compare the insert points.