
ckanext-dataspatial
This extension is no longer maintained.

A CKAN extension that provides geospatial awareness of datastore data.
Overview
NB: This extension is unmaintained. There have been some syntax updates so it should work with CKAN 2.8+, but it hasn’t been tested and is not currently in use by the Museum.
This extension provides geospatial awareness of datastore data. This includes:
- Geospatial searches within datasets;
- Spatial extent of datastore searches;
- Support for PostGIS;
- Support for Solr via the ckanext-datasolr extension.
Installation
Path variables used below:
- $INSTALL_FOLDER (i.e. where CKAN is installed), e.g. /usr/lib/ckan/default
- $CONFIG_FILE, e.g. /etc/ckan/default/development.ini
Clone the repository into the src folder:
cd $INSTALL_FOLDER/src
git clone https://github.com/NaturalHistoryMuseum/ckanext-dataspatial.git
Activate the virtual env:
. $INSTALL_FOLDER/bin/activate
Install the requirements from requirements.txt:
cd $INSTALL_FOLDER/src/ckanext-dataspatial
pip install -r requirements.txt
Run setup.py:
cd $INSTALL_FOLDER/src/ckanext-dataspatial
python setup.py develop
Add ‘dataspatial’ to the list of plugins in your `$CONFIG_FIL