Skip to content

CKAN extension to upload vector geospatial data, store and publish through OGC services.

Notifications You must be signed in to change notification settings

PublicaMundi/ckanext-vectorstorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

1. Install required Debian packages

Install compression-related libraries

$ sudo apt-get install unzip unrar p7zip-full

Install GDAL libraries and Python bindings (at system-level):

$ sudo apt-get install python-gdal   

2. Install CKAN extension

$ git clone https://github.com/PublicaMundi/ckanext-vectorstorer.git
$ python setup.py develop
$ pip install -r pip-requirements.txt

Configuration

1. Enabling Vector Storer

To enable the Vector Storer Extension add this to ckan plugins in the config file :

    ckan.plugins = vectorstorer

2. Vector Storer config options

The following should be set in the CKAN config :

    # ckanext-vectorstorer settings
    ckanext-vectorstorer.geoserver_url= (e.g. http://ckan_services_server/geoserver)
    ckanext-vectorstorer.geoserver_workspace= (e.g. CKAN)
    ckanext-vectorstorer.geoserver_admin= (e.g. admin)
    ckanext-vectorstorer.geoserver_password= (e.g. geoserver)
    ckanext-vectorstorer.geoserver_ckan_datastore=(e.g. ckan_datastore_default)
    ckanext-vectorstorer.gdal_folder= (e.g. /usr/lib/python2.7/dist-packages)

Geoserver workspace and datastore have to be created in advance. The datastore must be connected to the CKAN datastore database.

3. Datastore configuration

Enable the postgis extension in the Datastorer database

About

CKAN extension to upload vector geospatial data, store and publish through OGC services.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •