Skip to main content
Solved

Feature Compare Validation

  • February 21, 2018
  • 4 replies
  • 20 views

Forum|alt.badge.img

Good afternoon all!

I am having a problem with developing a QA/QC process for some CAD data. The ultimate objective is to compare the layers within the CAD files against base layer names located in a spreadsheet (i.e Elevation Contours, Houses, Lights, etc). I think the best way to do this is using Python. I have tried transformers but they only look at the data that is being run. I'm new to FME Python and I'm kinda lost so far. Any assistance would be great!

Thanks!

David

Best answer by danilo_fme

Hi @david_prosack88,

If you enable the attribute fme_basename from your CAD files and compare with attributes from Spreadsheet using the transformer FeatureMerger?

Thanks,

Danilo

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • 2077 replies
  • Best Answer
  • February 21, 2018

Hi @david_prosack88,

If you enable the attribute fme_basename from your CAD files and compare with attributes from Spreadsheet using the transformer FeatureMerger?

Thanks,

Danilo


Forum|alt.badge.img

Hi @david_prosack88,

If you enable the attribute fme_basename from your CAD files and compare with attributes from Spreadsheet using the transformer FeatureMerger?

Thanks,

Danilo

Thanks Danilo! I did try that however it does not list the layers that are missing. For example:

 

My spreadsheet has - Doors, Roof, Walls, and Windows. The CAD file given to me only has - Doors, Roof, and Windows. Walls are not in the CAD file. I would like that error to be called out.

 

 

When I use the FeatureMerger, it provides only the matching ones. Thanks for the quick response!

 

David

Forum|alt.badge.img
Thanks Danilo! I did try that however it does not list the layers that are missing. For example:

 

My spreadsheet has - Doors, Roof, Walls, and Windows. The CAD file given to me only has - Doors, Roof, and Windows. Walls are not in the CAD file. I would like that error to be called out.

 

 

When I use the FeatureMerger, it provides only the matching ones. Thanks for the quick response!

 

David
Actually you were right Danilo! I made some modifications to the comparison mode and it worked perfectly!

 

 

Thanks again!

 


danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • 2077 replies
  • February 21, 2018
Actually you were right Danilo! I made some modifications to the comparison mode and it worked perfectly!

 

 

Thanks again!

 

I'm happy to help you @david_prosack88

 

:)