Skip to content

geosolutions-it/geonode-rndt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

120 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

geonode-rndt

Geonode-RNDT is a Django App to let GeoNode be able to expose the metadata compliant to the RNDT standard

image

Detailed information on the definition of RNDT are available at this link


Configuration

  1. Install the application as requirement:

    pip install -e git+https://github.com/geosolutions-it/geonode-rndt@master#egg=rndt
    
  2. 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',)
    
  3. Run python manage.py migrate to migrate pre-5.0 RNDT models into SparseFields.
    If you are installing this app for the first time in GeoNode >= 5.0, you can skip the real migrations and apply fake migrations with the following command:

    python manage.py migrate --fake rndt
    
  4. To enable the UUIDHandler, add the following line in the geonode.settings.py file:

    LAYER_UUID_HANDLER = "rndt.uuidhandler.UUIDHandler"
    
  5. To customize the metadata document to be RNDT compliant, use the rndt template:

    CATALOG_METADATA_TEMPLATE = 'xml/template-rndt.xml'
    
  6. 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'
    
  7. Load thesauri Load the needed thesauri, either from the Thesaurus admin page or using the thesaurus load command.
    You can find them in the rndt/thesauri/ directory.

  • INSPIRE/RNDT thesauri
    • 3-2-4-1_gemet-inspire-themes.rdf
    • 3-2-4-2_PriorityDataset.rdf
    • 3-2-4-3_SpatialScope.rdf
    • 3-2-4-5_rndt-all1-fixed.rdf ("Registro dei dati di interesse generale per il RNDT")
    • 4-1-2-1_SpatialDataServiceCategory_RNDT-fixed.rdf
  • Codelists for INSPIRE/RNDT metadata fields:
    • ConditionsApplyingToAccessAndUse.rdf
    • LimitationsOnPublicAccess.rdf
  • Localization entries for the RNDT custom metadata fields:
    • labels-i18n.rndt.rdf

Uninstalling

To uninstall the app, remove all the rndt functionalities (INSTALLED_APPS and context_processors) from 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)

About

Geonode-RNDT is a Django App to let GeoNode be able to expose the metadata compliant to the RNDT standard

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors