Skip to content
This repository has been archived by the owner on Jan 4, 2022. It is now read-only.

Commit

Permalink
Merge branch 'develop' of /home/git/repositories/ogdsquad/ckanext-swi…
Browse files Browse the repository at this point in the history
…sstopo
  • Loading branch information
Stefan Oderbolz committed Sep 15, 2013
2 parents 7b2fba2 + 4edaa48 commit c5f539e
Show file tree
Hide file tree
Showing 25 changed files with 1,683 additions and 334 deletions.
661 changes: 661 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

35 changes: 35 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
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`

```bash
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
```

Make sure to add `swisstopo` and `swisstopo_harvest` to `ckan.plugins` in your config file.

## Run harvester

```bash
source /home/www-data/pyenv/bin/activate
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:

```bash
source /home/www-data/pyenv/bin/activate
# Show output from CSW, 'query' is typically the name of a dataset like 'swissboundaries3D'
paster --plugin=ckanext-swisstopo swisstopo csw <query> -c development.ini
```
8 changes: 0 additions & 8 deletions ckanext/swisstopo/ckan_csw/run_ckan_csw.py

This file was deleted.

29 changes: 0 additions & 29 deletions ckanext/swisstopo/cleanup.py

This file was deleted.

Loading

0 comments on commit c5f539e

Please sign in to comment.