Extension Datastorecsw Bku03232018


Extension Basics

Title
Datastorecsw Bku03232018
Name
ckanext-datastorecsw-bku03232018
Type
Core extension
Description
The `ckanext-datastorecsw` extension for CKAN bridges the gap between data stored within CKAN's dat
CKAN versions
Download-Url (zip)
Last commit
10 years ago (2016-01-21 18:58:57)
Url to repo
Category
Data Management & Quality


Background Infos

Description (long)
Show details

ckanext-datastorecsw

PyCSW support for resources uploaded into the CKAN datastore.

The ckanext-spatial extension has support for transferring metadata records harvested from an external CSW into a local PyCSW database, but lacks support for transferring metadata created within CKAN into a local PyCSW database. This extension does two main things:

  1. Generates ISO 19139 XML metadata records for CKAN packages which contain resources uploaded into the CKAN datastore and makes them available through CKAN’s REST API.
  2. Interfaces with PyCSW through a command line interface to create/delete/load ISO XML generated from CKAN packages which contain datastored resources into the PyCSW database.

Note - The REST API extension will generate ISO 19139 XML metadata records for all CKAN packages. This ensures that all CKAN packages have a service point where users can access ISO 19139 XML records for every piece of data in the system. The command line interface will only load CKAN packages which contain datastore objects into the PyCSW database. Developers looking to load harvested metadata into PyCSW should use ckanext-spatial.

Dependencies

  • CKAN >= v2.0 with datastore extension enabled
  • PyCSW >= v1.8.0

Although it’s not required, you should probably also have either the datapusher or datastorer extension installed and enabled. These extensions are used for uploading data into the datastore.

Installation

“`

Download extension and enter directory

git clone https://github.com/ngds/ckanext-datastorecsw.git cd ckanext-datastorecsw pip install -r requirements.txt

If you’re installing for production

python setup.py build python setup.py install

If you’re installing for development

python setup.py develop

Enable extension by adding plugin to ckan.plugins

nano ../path/to/ckan/configuration.ini ckan.plugins = … … datastore datastorecsw

Version
Version release date
(not set)
Contact name
(not set)
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints
# Download extension and enter directory
git clone https://github.com/ngds/ckanext-datastorecsw.git
cd ckanext-datastorecsw
pip install -r requirements.txt

# If you're installing for production
python setup.py build
python setup.py install

# If you're installing for development
python setup.py develop

# Enable extension by adding plugin to ckan.plugins
nano ../path/to/ckan/configuration.ini
ckan.plugins = ... ... datastore datastorecsw
Plugins to configure (ckan.ini)
datastore datastorecsw
CKAN Settings (ckan.ini)
DB migration to be executed
(not set)
<< back to Extensions