A place to store the scripts used to process AGSL Archival GIS data.
- Mint an ark for the resource using NOID
- Bind the ark's
wheretag to "https://geodiscovery.uwm.edu/*ark:id*" - Add the ark:id and the url generated to the ArcGIS format metadata (Wisconsin_IceAgeTrail_2019.shp.xml)
- Regenerate ISO and FGDC XML metadata (Wisconsin_IceAgeTrail_2019_ISO.xml and Wisconsin_IceAgeTrail_2019_FGDC.xml)
- Zip the folder -> Wisconsin_IceAgeTrail_2019.zip
- Use the metadata to determine which directory the folder will go to (public, UW, UW-System)
- Create a directory with the ark:id as the directory name
- Put the zip file in the directory
- Create copies of ISO and FGDC metadata outside the zip in the directory.
- Use GeoCombine to generate aardvark JSON metadata - > ark:id.json, put it in the directory. (This step should include generating the download link: https://geodata.uwm.edu/*public*/*ark:id*)
Contains two functions:
Designed to take a response string from the noid minter and applies a regular expression to extract the arkid.
Could easily be modified to extract component parts, such as the Name Assigning Authority Number and the Assigned Name.
Takes a string, returns a string.
Designed to accept a noid minter url as a string as it's only argument and return a string containing just the arkid. Includes a try loop to catch any connection issues and checks the status code from the minter to ensure the request is completed as expected.