Geonode-csw_services is a Django App to let GeoNode handle some service metadata for the exposed GeoServer services.
-
Install the application as requirement:
pip install -e git+https://github.com/geosolutions-it/geonode-csw-services@main#egg=csw_services
-
Add "csw_services" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [ 'csw_services', ... ]
If you have a
local_setting
file, you may want to add thecsw_services
app with these lines:INSTALLED_APPS += ('csw_services',)
-
To customize the metadata document, use your own service template:
CATALOG_SERVICE_METADATA_TEMPLATE = 'xml/service-template.xml'
In order to run tests (NOTE: must be in geonode venv), run python -m unittest -v
.
To uninstall the app:
- remove the service metadata entries from the django admin
- remove the
csw_services
app from theINSTALLED_APPS