Skip to main content
Question

Compare a geodatabase schema to an esri xml file


Hi,

 

 

We would like to test the input geodatabase on featureclasses, featuretypes, datatypes, attribute names and domains. The correct featureclasses and their attributes and the domains are present in an esri xml schema file.

 

Is there a way to compare these two using standard transformers or do we need to use python?

 

I we would use python, how would we get the data from the xml as variables into the python script?

 

 

If we are using FME server would it make it different?

 

 

Would anyone have examples or ideas how to approach this issue?

 

 

Kind regards,

 

 

Cristel

2 replies

david_r
Celebrity
  • March 22, 2013
Hi Cristel,

 

 

one solution could be to create an empty (dummy) geodatabase with the input XML schema as a template file, then use a reader "Schema (Any Formar)" on both the dummy geodatabase and the input geodatabase and start the comparison there.

 

 

David

fmelizard
Safer
Forum|alt.badge.img+18
  • Safer
  • March 22, 2013
Hi Cristel,

 

 

Assuming you have acces to ESRI, you can use the out of the box tool  

 

If you dont have acces then David starting point is a solid one.

 

You might also try the reverse > tranforming the gdb into xml and comparing the xml. 

 

Hoe this helps

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