Add INSPIRE metadata to arcpy

554
0
01-02-2023 12:36 AM
Status: Open
NseaGIS
New Contributor II

INSPIRE metadata can be imported manually in ArcGIS Pro, but using arcpy this is not an option. Adding INSPIRE metadata directive to the arcpy Python method importMetadata (sourceUri, {metadata_import_option}, {customStylesheetPath})  would save hours of work for myself and many other users who wish to automate their workflows. Below are the metadata styles available using importMetadata method in arcpy:

  • CUSTOM— A custom XSLT stylesheet will be used to convert from another XML format to the ArcGIS metadata XML format.
  • DEFAULT— Use this option if you are importing metadata from a stand-alone metadata XML file and you are unsure what XML format it uses. The document's format will be checked, and the correct conversion will be performed to transform its content to the ArcGIS metadata XML format.
  • FGDC_CSDGM
  • ISO19115_3
  • ISO19139
  • ISO19139_GML32
  • ISO19139_UNKNOWN
  • ARCGIS_METADATA

 

Tags (3)