ckanext-fisbroker
CKAN plugin by BerlinOnline for harvesting Berlin’s FIS-Broker geographic information system into the datenregister.berlin.de schema. Extends the CSW Harvester from ckanext-spatial.
Implements the following CKAN interfaces:
- IBlueprint, IClick, IConfigurer, ITemplateHelpers
- IHarvester, ISpatialHarvester (from ckanext-harvest and ckanext-spatial)
Requirements
- CKAN 2.9.10 (Python 3)
- ckanext-spatial
- ckanext-harvest
Installation
git clone https://github.com/berlinonline/ckanext-fisbroker.git
cd ckanext-fisbroker
python setup.py develop
pip install -r requirements.txt
Add fisbroker_harvester to the ckan.plugins setting.
Configuration
# fisbroker.stuck_threshold = 1440
Harvester config (JSON):
- import_since: ISO8601 date, ‘last_error_free’, or ‘big_bang’
- timeout: Seconds before timeout (default: 20)
- timedelta: Hours offset from UTC (default: 0)
CLI Commands
ckan fisbroker harvest-objects
ckan fisbroker check-harvest-status
ckan fisbroker last-successful-job
ckan fisbroker list-datasets
ckan fisbroker list-datasets-berlin-source
ckan fisbroker list-sources
ckan fisbroker reimport-dataset
Reimport
Supports reimporting individual or all harvested datasets via:
- Reimport button on dataset pages
- Open CSW Record button
- CLI command
License
AGPL-3.0 (Copyright 2016-2024 BerlinOnline GmbH)
Info
17 releases/tags. 2 contributors. 2 stars. Active development.