consbio / gis-metadata-parser

Parser for GIS metadata standards including ArcGIS, FGDC and ISO-19115
BSD 3-Clause "New" or "Revised" License
20 stars 3 forks source link

Associate with gis shapefile #1

Closed grwhumphries closed 6 years ago

grwhumphries commented 6 years ago

Thanks for this awesome library - it's really really great. I am wondering about how you might use the output from this to import the metadata to an ArcGIS shapefile - particularly those in geodatabases.

Basically looking for an "import_to_shapefile" function that supports gdb and folder shps

dharvey-consbio commented 6 years ago

Providing export to GIS files is outside the scope of this library for a couple of reasons:

  1. Importing XML into metadata for FGDB would require an ArcGIS environment (and associated tooling)
  2. It has to focus on doing one thing well (metadata), and different data formats are a big can of worms

However, one possible workaround would be to write the metadata to the same path as the shapefile, and name it the same but with an appended .xml; for instance, my_shapefile.shp.xml.

Thanks for your enthusiasm. I hope that helps.