https://github.com/geosolutions-it/geonode-rndt
Geonode-RNDT is a Django App to let GeoNode be able to expose the metadata compliant to the RNDT standard
https://github.com/geosolutions-it/geonode-rndt
geonode inspire rndt
Last synced: 4 months ago
JSON representation
Geonode-RNDT is a Django App to let GeoNode be able to expose the metadata compliant to the RNDT standard
- Host: GitHub
- URL: https://github.com/geosolutions-it/geonode-rndt
- Owner: geosolutions-it
- License: bsd-2-clause
- Created: 2021-01-18T15:23:27.000Z (over 5 years ago)
- Default Branch: 4.4.x
- Last Pushed: 2025-12-04T09:27:38.000Z (6 months ago)
- Last Synced: 2025-12-06T16:03:01.016Z (6 months ago)
- Topics: geonode, inspire, rndt
- Language: XSLT
- Homepage:
- Size: 290 KB
- Stars: 1
- Watchers: 9
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# geonode-rndt
Geonode-RNDT is a Django App to let GeoNode be able to expose the metadata compliant to the RNDT standard

Detailed information on the definition of RNDT are available at this [link](https://geodati.gov.it/geoportale/)
-----
## Configuration
1. Install the application as requirement:
pip install -e git+https://github.com/geosolutions-it/geonode-rndt@master#egg=rndt
1. Add "rndt" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [
'rndt',
...
]
If you have a `local_setting` file, you may want to add the `rndt` app with these lines:
INSTALLED_APPS += ('rndt',)
1. Run ``python manage.py migrate`` to create the RNDT models.
1. To enable the `UUIDHandler`, add the following line in the `geonode.settings.py` file:
LAYER_UUID_HANDLER = "rndt.uuidhandler.UUIDHandler"
1. To customize the metadata document to be RNDT compliant, use the rndt template:
CATALOG_METADATA_TEMPLATE = 'xml/template-rndt.xml'
1. To customize the XSL transformation to be aligned to the RNDT metadata format, use the provided XSL file:
CATALOG_METADATA_XSL = '/static/rndt/rndt-metadata.xsl'
## Tests
In order to run tests (NOTE: must be in geonode venv), run ``python -m unittest -v`` to create the RNDT models.
## Uninstalling
To uninstall the app, remove all the `rndt` functionalities (`INSTALLED_APPS` and `context_processors`) from `geonode.settings.py` and restart the server.
If needed made an hard refresh to let the browser reload the js/css/html files (windows: CTRL+ SHIFT+R | Mac: CMD+SHIFT+R)
## Other config
Some custom environment variables are avaiable:
- `DISABLE_LAYER_CONSTRAINTS` (default `true`)
If `true` will hide from the Layers Metadata edit wizard page, the contraints in the tab `Location and Licenses`