-
Notifications
You must be signed in to change notification settings - Fork 1.1k
GNIP 4 Accept XML Metadata with Uploaded Layer Data
Allow data uploads to accept XML metadata documents as part of the Add Data dialogue.
This will allow users to upload existing XML metadata for a dataset as part of the upload, thereby lessening the requirement for manually editing initial metadata if an XML document exists for a dataset.
Jeffrey Johnson
TBD
For Review and Comment
GeoNode allows for users to publish data via an Add Data dialogue. Users can upload data (currently Shapefile or GeoTIFF), SLD (optional), and title/abstract information. Upon initial upload, the user is presented with a metadata form (with greater detail) to be filled in by the user. The metadata is then processed into an ISO 19139 XML document, which is published to GeoNode's underlying OGC:CSW.
If a metadata document exists for a given dataset, allowing XML import would improve the efficiency and management of metadata (less/no copy/paste from XML metadata to form).
Use owslib as the metadata format parser. Enhance and fix owslib as required.
Support the following formats:
- Dublin Core (OGCCORE)
- ISO 19139:2007
- FGDC CSDGM:1998
- other formats may be supported as a by product of owslib metadata support
-
- Add Data dialogue
-
- allow for "XML Document" field (optional)
- on submit, if XML document is uploaded, parse with owslib
-
- Detailed metadata form
-
- present to user with the more detailed form filled in from uploaded XML metadata
- on submit, save as per current behaviour
- the GeoNode OGC:CSW implementation (pycsw, GeoNetwork) must support the metadata formats specified above
-
- uploaded XML metadata may have values filled in which are not part of the detailed metadata form. How to resolve? Options:
-
- upload from XML, do not allow for further editing
- discard elements not in GeoNode detailed metadata form
- other?
- a review of the detailed metadata form would be valuable (elements, etc.)
Provide test mechanisms to demonstrate interoperability with various metadata formats. TODO: need to further clarify
Do nothing
See discussion on the geonode-dev list here
https://groups.google.com/a/opengeo.org/group/geonode-dev/browse_thread/thread/0ba863b9a26286fc
Initial implementation in https://github.com/GeoNode/geonode/pull/394