This extension provides an UI for creating, deleting and viewing relationships between datasets. If the extension is used with ckanext-grouphierarchy-sddi extension, the graphical representation will be in the colours of the groups defined in the ckanext-grouphierarchy-sddi extension.
In this implementation which is specifically designed for the requirements of HEF, TUM.
In the following image is one example of the implementation:
This extension is tested with CKAN 2.11.0.
To install ckanext-relation:
-
Activate your CKAN virtual environment, for example::
. /usr/lib/ckan/default/bin/activate
-
Install the ckanext-relation Python package into your virtual environment::
pip install -e 'git+https://github.com/tum-gis/ckanext-relation-sddi.git#egg=ckanext-relation-sddi'
-
Add
relation
to theckan.plugins
setting in your CKAN config file (by default the config file is located at/etc/ckan/default/production.ini
). -
Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu::
sudo service apache2 reload
None at present
To install ckanext-relation for development, activate your CKAN virtualenv and do::
git clone https://github.com/tum-gis/ckanext-relation-sddi.git
cd ckanext-relation
python setup.py develop
The ckanext-relation is available as free and open source and is licensed under the Apache License, Version 2.0.