kartoza / gfdrr_oondra

GFDRR Challenge Online Operational Natural Disaster Risk Assessment platform
0 stars 3 forks source link

Improve geonode metadata handling #29

Closed NyakudyaA closed 7 years ago

NyakudyaA commented 8 years ago

Problem

When uploading a layer using the geonode api there is a preserve metadata option which works for preserving metadata generated by inasafe.

python manage.py importlayers

Tweak geonode to allow addition of inasafe keywords for metadata that has been uploaded using the geonode api. Add geonode wfs/wms/wcs endpoint to a metadata record that has been uploaded using preserve method (geonode api)

gubuntu commented 7 years ago

This also needs to go upstream to Geonode. @lucernae please ask @NyakudyaA to claridy if you're not clear. Do this and #30 mesh with general geonode metadata improvements that @timlinux has been discussing?

NyakudyaA commented 7 years ago

We no longer need this because we are using geonode UI to upload keywords. When uploading layers with the preserve option geonode guys say the only way to update the metadata is to re import with a new metadata. They also say they have deliberately made the metadata not editable because they cannot figure out how the metadata being imported fits into their models. In our case importing with a metadata document from inasafe will not work because wfs/wcs/wms endpoints will not appear in the metadata record