Closed NyakudyaA closed 7 years ago
@lucernae I have tested this on my local machine and it works fine now. I can now return all properly formatted metadata. metadata structure. I haven't deployed on oondra yet. If @rischanlab can test first on his machine to confirm.
This issue was moved to kartoza/geonode#270
Problem
Currently the only way to upload metadata into geonode is using the geonode UI. This however returns metadata which is not properly formated as indicated below:
The above is what you see in the browser when you click the download metadata. As seen in this request: http://staging.oondra.kartoza.com/catalogue/csw?outputschema=http%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd&service=CSW&request=GetRecordById&version=2.0.2&elementsetname=full&id=82e5facf-ae89-417f-8192-c7678a98c7a9
As opposed to the original/raw metadata file generated by insafe as seen below:
So when you download the layer and the metadata so that you can use it in QGIS inasafe it is unusable because the metadata is not properly formated to inasafe standards as noted below:
There seem to be some tags that are added by geonode which inasafe does not understand hence rendering the metadata invalid.
metada_xml.zip Attached are three files that relate to osm_flood_current.
NB I haven't tested the current metadata format to see if it works directly on running analysis in geosafe. The last time I tried geosafe. It recognized the oondra layers as inasafe layers with metadata in it's current format.