geonode-rndt


Namegeonode-rndt JSON
Version 0.1.1 PyPI version JSON
download
home_pageNone
SummaryDjango App to make GeoNode metadata compliant with RNDT (Repertorio Nazionale Dati Territoriali) standard
upload_time2025-10-29 15:52:19
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseGPL-3.0
keywords geonode rndt metadata geospatial django
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # geonode-rndt

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

![image](https://user-images.githubusercontent.com/717359/107668977-91f8ee00-6c91-11eb-8006-80e988dddeef.png)

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`

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "geonode-rndt",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "geonode, rndt, metadata, geospatial, django",
    "author": null,
    "author_email": "GeoSolutions <info@geosolutionsgroup.com>",
    "download_url": "https://files.pythonhosted.org/packages/d9/e5/f574f2dfd5b21c34dc8c3f4fd602ed6815f76fdebf2d03d895843c835985/geonode_rndt-0.1.1.tar.gz",
    "platform": null,
    "description": "# geonode-rndt\r\n\r\nGeonode-RNDT is a Django App to let GeoNode be able to expose the metadata compliant to the RNDT standard\r\n\r\n![image](https://user-images.githubusercontent.com/717359/107668977-91f8ee00-6c91-11eb-8006-80e988dddeef.png)\r\n\r\nDetailed information on the definition of RNDT are available at this [link](https://geodati.gov.it/geoportale/)\r\n\r\n-----\r\n\r\n## Configuration\r\n\r\n1. Install the application as requirement:\r\n\r\n       pip install -e git+https://github.com/geosolutions-it/geonode-rndt@master#egg=rndt\r\n\r\n1. Add \"rndt\" to your INSTALLED_APPS setting like this::\r\n\r\n       INSTALLED_APPS = [\r\n          'rndt',\r\n          ...\r\n       ]\r\n   \r\n   If you have a `local_setting` file, you may want to add the `rndt` app with these lines:\r\n   \r\n       INSTALLED_APPS += ('rndt',)\r\n\r\n\r\n1. Run ``python manage.py migrate`` to create the RNDT models.\r\n\r\n1. To enable the `UUIDHandler`, add the following line in the `geonode.settings.py` file:\r\n\r\n       LAYER_UUID_HANDLER = \"rndt.uuidhandler.UUIDHandler\"\r\n\r\n1. To customize the metadata document to be RNDT compliant, use the rndt template:  \r\n\r\n       CATALOG_METADATA_TEMPLATE = 'xml/template-rndt.xml'\r\n\r\n1. To customize the XSL transformation to be aligned to the RNDT metadata format, use the provided XSL file:\r\n\r\n       CATALOG_METADATA_XSL = '/static/rndt/rndt-metadata.xsl'\r\n\r\n\r\n## Tests\r\n\r\nIn order to run tests (NOTE: must be in geonode venv), run ``python -m unittest -v`` to create the RNDT models.\r\n\r\n## Uninstalling\r\n\r\nTo uninstall the app, remove all the `rndt` functionalities (`INSTALLED_APPS` and `context_processors`) from  `geonode.settings.py` and restart the server. \r\nIf needed made an hard refresh to let the browser reload the js/css/html files (windows: CTRL+ SHIFT+R | Mac: CMD+SHIFT+R)\r\n\r\n\r\n## Other config\r\n\r\nSome custom environment variables are avaiable:\r\n\r\n- `DISABLE_LAYER_CONSTRAINTS` (default `true`)  \r\n\r\n  If `true` will hide from the Layers Metadata edit wizard page, the contraints in the tab `Location and Licenses`\r\n",
    "bugtrack_url": null,
    "license": "GPL-3.0",
    "summary": "Django App to make GeoNode metadata compliant with RNDT (Repertorio Nazionale Dati Territoriali) standard",
    "version": "0.1.1",
    "project_urls": {
        "Documentation": "https://github.com/geosolutions-it/geonode-rndt#readme",
        "Homepage": "https://github.com/geosolutions-it/geonode-rndt",
        "Issues": "https://github.com/geosolutions-it/geonode-rndt/issues",
        "Repository": "https://github.com/geosolutions-it/geonode-rndt"
    },
    "split_keywords": [
        "geonode",
        " rndt",
        " metadata",
        " geospatial",
        " django"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "78d608601793f197e32dc6c5a95465d3dc49af0c7263ada250ee8399ff1e87a5",
                "md5": "6d1cbeac2304702044067086a2114472",
                "sha256": "dff3df9528d203bc61277b949760bd0bf61bd782942a22b76218ccf43c0f43b3"
            },
            "downloads": -1,
            "filename": "geonode_rndt-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6d1cbeac2304702044067086a2114472",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 80646,
            "upload_time": "2025-10-29T15:52:18",
            "upload_time_iso_8601": "2025-10-29T15:52:18.482386Z",
            "url": "https://files.pythonhosted.org/packages/78/d6/08601793f197e32dc6c5a95465d3dc49af0c7263ada250ee8399ff1e87a5/geonode_rndt-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "d9e5f574f2dfd5b21c34dc8c3f4fd602ed6815f76fdebf2d03d895843c835985",
                "md5": "b6ef0174b654930d54bea3c583583a8a",
                "sha256": "821d2b28acf2ce45aa9c2b49ddb1a8863b2494e45ed8c56cfa9f1c08ff43265c"
            },
            "downloads": -1,
            "filename": "geonode_rndt-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "b6ef0174b654930d54bea3c583583a8a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 68364,
            "upload_time": "2025-10-29T15:52:19",
            "upload_time_iso_8601": "2025-10-29T15:52:19.502352Z",
            "url": "https://files.pythonhosted.org/packages/d9/e5/f574f2dfd5b21c34dc8c3f4fd602ed6815f76fdebf2d03d895843c835985/geonode_rndt-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-10-29 15:52:19",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "geosolutions-it",
    "github_project": "geonode-rndt#readme",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "geonode-rndt"
}
        
Elapsed time: 0.88481s