Commit Graph

7 Commits

Author SHA1 Message Date
amercader eb1090a9c4 [#24] Let pycsw define and create the table 2013-08-21 17:51:38 +01:00
amercader 44e4ae380a [#24] Document CKAN-pycsw integration
Ad overview of how it works, how to set it up and deploy it in a
production server.
2013-06-21 13:21:30 +01:00
amercader ae9750f8ec [#24] Escape properly expression in last commit 2013-06-21 11:59:04 +01:00
amercader 6699d1e498 [#24] Update API query to make it compatible with older Solr versions
The following expression is not valid in Solr 1.X:

"q":"harvest_object_id:*"

It returns the following error:

'*' or '?' not allowed as first character in WildcardQuery

It has been replaced with:

"q":"harvest_object_id:[\"\" TO *]"
2013-06-21 11:47:02 +01:00
amercader d4ffc9bf62 [#24] Capture error when we get a wrong API response 2013-06-21 11:46:50 +01:00
amercader 67b0941b3b [#24] Add clear command to empty the pycsw table 2013-06-20 16:45:37 +01:00
amercader 7b65813cba [#24] Add command for pycsw integration
Based on the work by @kindly on https://github.com/kindly/ckan_pycsw_import,
adds a command to the extension that allows to export easily the spatial
datasets to pycsw. This will only work for harvested ISO datasets for the time
being.

The command can be run both via paster (in the context of a CKAN install) or
independently (eg a separate server), as it uses the API to get the datasets.

TODO docs
2013-06-20 16:44:56 +01:00