Skip to main content
Solved

Feature Compare Validation

  • February 21, 2018
  • 4 replies
  • 13 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

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

4 replies

danilo_fme
Evangelist
Forum|alt.badge.img+45
  • Evangelist
  • 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
danilo_fme wrote:

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
david_prosack88 wrote:
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
Evangelist
Forum|alt.badge.img+45
  • Evangelist
  • February 21, 2018
david_prosack88 wrote:
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

 

:)

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