cadd-co

Python to open shp files and populate metadata across directories

Discussion created by cadd-co on Jan 8, 2014
Latest reply on Jul 27, 2014 by mhogeweg-esristaff
Hi,
   I am looking for some input regarding Python scripting. (Win 7 x64, Python 2.7, Arc 10.1)

  Our office outputs numerous shp files from other software that only creates .shp, .dbf, .shx files.

   The requirement is to have the shp files 'open' in arccatalog thus creating most of the metadata (.xml) needed to meet our quality system. I can then harvest the metadata and import it to geoportal. (well I think i can)

  I have copied/cut/pasted parts together to create a python script that searches directories for .shp and writes the result to a csv file. That script works just fine for that process however I would like to know how/if it is possible to get it to do the arccatalog bit??

Cheers, Peter

Outcomes