Name: ckanext-harvest-tn
Owner: GeoSolutions
Description: Harvesters for StatWeb services (Trento)
Created: 2016-08-16 15:07:09.0
Updated: 2016-08-16 15:11:55.0
Pushed: 2016-12-15 13:19:48.0
Homepage: null
Size: 35
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
==================
Estensione CKAN per la Provincia di Trento
Plugin definiti nell'estensione:
statwebpro_harvester
: effettua harvesting dei metadati a livello “pro” dai servizi esposti da
http://www.statweb.provincia.tn.it/.statwebsubpro_harvester
: effettua harvesting dei metadati a livello “subpro” dai servizi esposti da
http://www.statweb.provincia.tn.it/.csw_tn_harvester
: effettua harvesting tramite CSW, bypassando la validazione del response alla chiamata GetRecordById, dato che l'elemento gmd:MD_Metadata
ritornato dal servizio http://www.territorio.provincia.tn.it/geoportlet/srv/eng/csw non è incluso in un element csw:GetRecordByIdResponse
.Sviluppato e testato su CKAN 2.5.2.
Richiede che siano installate le estensioni ckanext-harvester
e ckanext-spatial
.
To install ckanext-harvest-tn
:
Activate your CKAN virtual environment, for example::
. /usr/lib/ckan/default/bin/activate
Install the ckanext-harvest-tn
Python package into your virtual environment::
pip install ckanext-harvest-tn
Add statwebpro_harvester
and statwebsubpro_harvester
to the ckan.plugins
setting in your CKAN
config file (by default the config file is located at /etc/ckan/default/production.ini
).
Add csw_tn_harvester
to the ckan.plugins
setting in your CKAN config file.
Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu::
sudo service apache2 reload
To install ckanext-harvest-tn
for development, activate your CKAN virtualenv and
do::
git clone https://github.com/geosolution-it/ckanext-harvest-tn.git
cd ckanext-harvest-tn
python setup.py develop
pip install -r dev-requirements.txt