Preprocess Metadata

The Preprocess Metadata tool performs some rudimentary batch editing of FGDC XML metadata documents.

Screen Shot 2013-09-11 at 2.29.26 PM

Access Constraints and Use Constraints allow you to upload a plain text file with the new values or simply type them into the text area.

 

FGDC fields modified
<accconst>Unrestricted Access Online </accconst>
<useconst>For educational noncommercial use only.</useconst>

The Access select box prepends the accconst field with some standard text that allows ogpIngest’s metadata parser to determine if the layer is ‘public’ or ‘restricted’.

Behind the scenes, the contact info under the distrib and metc fields is replaced with the contact info set in  ingest.properties.

Metadata files can be added one at a time, or as a zipped bundle.  Once complete, a zipped bundle of modified metadata is returned.

While performing modifications, the metadata is also audited using the same error-checking logic from Upload Metadata so that issues with the metadata can be caught before ingest is attempted.