kartoza / geonode

GeoNode is an open source platform that facilitates the creation, sharing, and collaborative use of geospatial data.
http://geonode.org/
GNU General Public License v3.0
7 stars 17 forks source link

Metadata API #275

Open ismailsunni opened 7 years ago

ismailsunni commented 7 years ago

List of needed API:

lucernae commented 7 years ago

@ismailsunni can you elaborate, is this an API for geonode/api url? Also is this going to be used for QGIS Desktop?

ismailsunni commented 7 years ago

Hi @lucernae

is this an API for geonode/api url?

Yes

Also is this going to be used for QGIS Desktop?

Yes also

lucernae commented 7 years ago

Can you please elaborate how are you going to use both metadata xml? How are you going to determine that a certain geonode instance will have 2 metadata?

lucernae commented 7 years ago

From the discussion with @ismailsunni, I suggested he used CSW interface to fetch metadata. For InaSAFE metadata. It is also possible to use CSW to send update request (which will cover replace metadata?). From my side, I will try to provide a unittest to demonstrate the CSW request.

For upload metadata, I think it will just be the same with replace/update metadata. It doesn't make sense to just only upload a metadata with no layer. Because a layer already have a metadata entry in the database.

For InaSAFE related metadata download, I will try to provide this functionality in GeoSAFE instead.

gubuntu commented 6 years ago

we could just use csw...and the QGIS client then can interact with one csw endpoint

gubuntu commented 6 years ago

btw @lucernae @ismailsunni this API is for local GeoNode client metadata editing. We don't have to support GeoNode metadata interaction from QGIS GeoNode client.