/AGOL_Metadata

ArcGIS Online Metadata Update Script

Primary LanguagePython

ArcGIS Online Metadata Update/Upload

Python3 scripts to clean ArcGIS Metadata Style xml file(s) and upload to ArcGIS Online.


Contains:

  • agol_metadata_update.py - prepare xml metadata file and upload to AGOL.
    • things to change/replace
      • ArcGIS Desktop Installation Location
      • ArcGIS Online Item IDs
      • xml file paths
    • if you don't have to update the publication date with other dates such as revised or creation date, you can remove or comment out from line 264 to 326. The default AGOL html rendering engine doesn't show other dates except the publication date and Open Data Portal (ArcGIS Hub) also uses the publication date to update the updated date.
  • FGDCTagCleanup.xslt: xslt that removes FGDC element. Modifed EPA Metadata Editor EMEToolbox EPAUpgradeCleanup.xslt.