Extension Swisstopo Harvester


Extension Basics

Title
Swisstopo Harvester
Name
ckanext-swisstopo
Type
Public extension
Description
Harvester for the Federal Office of Topography swisstopo, supporting CSW queries and harvest commands for Swiss geodata.
CKAN versions
Download-Url (zip)
Last commit
13 years ago (2013-01-01 00:00:00)
Url to repo
Category
Data Management & Quality


Background Infos

Description (long)
Show details

ckanext-swisstopo

Harvester for the Federal Office of Topography swisstopo.

Installation

Use pip to install this plugin. This example installs it in /home/www-data:

source /home/www-data/pyenv/bin/activate
pip install -e git+https://github.com/ogdch/ckanext-swisstopo.git#egg=ckanext-swisstopo --src /home/www-data
cd /home/www-data/ckanext-swisstopo
pip install -r pip-requirements.txt
python setup.py develop

Add swisstopo and swisstopo_harvest to ckan.plugins in your config file.

For Development

Install pre-commit hook:

ln -s ../../pre-commit.sh .git/hooks/pre-commit

Run Harvester

paster --plugin=ckanext-swisstopo swisstopo_harvest gather_consumer -c development.ini &
paster --plugin=ckanext-swisstopo swisstopo_harvest fetch_consumer -c development.ini &
paster --plugin=ckanext-swisstopo swisstopo_harvest run -c development.ini

CSW Query

paster --plugin=ckanext-swisstopo swisstopo csw <query> -c development.ini

License

AGPL-3.0

Version
1.0.3
Version release date
2014-02-20
Contact name
Liip AG
Contakt email
Contact Url
(not set)


Installation Guide

Configuration hints

Archived repository. Uses paster commands for harvest operations and CSW queries.

Plugins to configure (ckan.ini)
swisstopo swisstopo_harvester
CKAN Settings (ckan.ini)
DB migration to be executed
(not set)
<< back to Extensions