CKAN Vector Storer Extension
Overview
Vector Storer is a CKAN extension that allows users to upload vector geospatial data, store and publish through OGC services.
Installation
- Install required Debian packages:
sudo apt-get install unzip unrar p7zip-full
sudo apt-get install python-gdal
- Install CKAN extension:
git clone https://github.com/PublicaMundi/ckanext-vectorstorer.git
python setup.py develop
pip install -r pip-requirements.txt
Configuration
- Enable the Vector Storer Extension:
ckan.plugins = vectorstorer
- Vector Storer config options:
ckanext-vectorstorer.geoserver_url = http://ckan_services_server/geoserver
ckanext-vectorstorer.geoserver_workspace = CKAN
ckanext-vectorstorer.geoserver_admin = admin
ckanext-vectorstorer.geoserver_password = geoserver
ckanext-vectorstorer.geoserver_ckan_datastore = ckan_datastore_default
ckanext-vectorstorer.gdal_folder = /usr/lib/python2.7/dist-packages
- Datastore configuration: Enable the PostGIS extension in the Datastore database.
Geoserver workspace and datastore have to be created in advance. The datastore must be connected to the CKAN datastore database.