ckanext-transparencyderp
This extension should provide functionality to use ckan as a
central transparency portal. In this case, ckan is used to serve
different datatypes which has own models which are managed by
ckanext-scheming. The extension adopt the facet list and the search
form to show the translated titles from the different schemes which
are defined as ckanext-scheming json files. One adoption, is possibility
to have a dataset_type_label object for different languages. This allows
an internationalized dropdown menu for choosing a different form for
each dataset_type. The translation of json based classifications is done
by the use of one central schema with “dataset_type”: “dataset”. This
schema is hidden in the dropdown list and includes all classifications
(for packages and resources).
To enable spatial search and spatial attributed metadata also ckanext-spatial
is needed. The german translation of ckanext-spatial(s) search window title and clear
button is included in the .po file.
Requirements
This plugin is developed under usage of CKAN 2.5.4 Ubuntu 14.04 package.
It requires ckanext-scheming and optional ckanext-spatial.
Installation
{r, engine='bash', create_postgis_extension_for_ckanext-spatial}
sudo apt-get install python-dev libxml2-dev libxslt1-dev libgeos-c1
su postgres
createuser -S -D -R -P ckan_2.5.2
createdb -O ckan_2.5.2 ckan_2.5.2 -E utf-8
psql -d ckan_2.5.2 -f /usr/share/postgresql/9.3/contrib/postgis-2.1/postgis.sql
psql -d ckan_2.5.2 -f /usr/share/postgresql/9.3/contrib/postgis-2.1/spatial_ref_sys.sql
psql -d ckan_2.5.2 -c 'ALTER TABLE geometry_columns OWNER TO "ckan_2.5.2"'
psql -d ckan_2.5.2 -c 'ALTER TABLE spatial_ref_sys OWNER TO "ckan_2.5.2"'
exit
“`{r, engine=’bash’, install_ckanext-spatial}
./usr/lib/ckan/default/bin/activate
cd /usr/lib/ckan/default/src/
pip install -e “git+https://github.com/okfn/ckanext-spatia