Commit Graph

240 Commits

Author SHA1 Message Date
amercader 57e6a3ff5a [#24] Mention required pycsw version in readme
Conflicts:

	README.rst
2013-08-30 14:44:48 +01:00
amercader 3ac4d983ed [#24] Let pycsw define and create the table 2013-08-30 14:42:28 +01:00
amercader 85dc1efc90 [#24] Minor tweaks in README 2013-08-30 14:42:28 +01:00
amercader b2759a83c4 [#24] Document CKAN-pycsw integration
Ad overview of how it works, how to set it up and deploy it in a
production server.

Conflicts:

	README.rst
2013-08-30 14:42:06 +01:00
amercader b2a653d90f [#24] Escape properly expression in last commit 2013-08-30 14:41:25 +01:00
amercader 9b9b534a32 [#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-08-30 14:39:20 +01:00
amercader e2a3341777 [#24] Capture error when we get a wrong API response 2013-08-30 14:39:20 +01:00
amercader edd61f3a5b [#24] Add clear command to empty the pycsw table 2013-08-30 14:39:20 +01:00
amercader 108b834638 [#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-08-30 14:39:19 +01:00
amercader 244f477f91 [#34] Update lxml requirement
Latest OWSLib introduces changes that require lxml>=2.3.
2013-08-14 13:16:13 +01:00
amercader d921dde407 [#35] Ignore auth when using site_user 2013-08-14 12:23:36 +01:00
amercader cf7774ceba Modify OWSLib requirement to prevent conflicts
We will target a specific changeset of OWSLib for the time being, just until
there is a proper release which includes geopython/OWSLib@4b0a62cd.

Basically OWSLib required python-dateutil==2.1, which is intended for
Python 3 and conflicted with the version used by CKAN core.
2013-08-13 11:56:53 +01:00
amercader 2f8cbbdb3b [#32] Add note about resource_proxy 2013-08-08 18:19:06 +01:00
Dominik Moritz 8f5a4b9c31 [#29] Fix missing variable 2013-08-08 17:52:39 +01:00
Dominik Moritz 43ee51e8c6 [#29] Use new precedence feature for previews. 2013-08-08 17:52:30 +01:00
amercader b51f5de2f1 [#27] Remove spatial_query_widget mention from README 2013-08-08 17:36:25 +01:00
amercader 3f1acee4bd [#26] Fix broken markers on debug mode 2013-08-08 17:34:29 +01:00
amercader 4391af0f05 [#32] Do not set height to avoid scrollbars if container is less than 600px 2013-08-08 17:31:38 +01:00
amercader fc60494c35 [#28] Fix function name 2013-07-29 17:25:20 +01:00
amercader b820951a02 [#31] Check if sort parameter exists 2013-07-29 17:23:37 +01:00
amercader a4d895debe [#21] Add geojson previewer to index 2013-06-14 18:14:45 +01:00
amercader bf9d551462 [#21] Make popup table match the rest of CKAN tables 2013-06-14 18:12:36 +01:00
amercader e4774e62a5 [#21] Fix i18n calls
All the 'self' on the 'showError' function should be 'this', otherwise you
will refer to the window. Also 'this.i18n' assumes an 'i18n' key in the
module options. Looks like you are trying to pass some variables to the
string template, note the sprintf-like syntax.
2013-06-14 18:12:36 +01:00
Dominik Moritz 7bf2c609e6 [#21] show object in popup, fix layout 2013-06-14 18:12:36 +01:00
Dominik Moritz c78e6d726f [#21] Add GeoJSON preview docs 2013-06-14 18:12:36 +01:00
Dominik Moritz 092e355ffb [#21] Add properties information to popup, lighter style 2013-06-14 18:12:35 +01:00
Dominik Moritz a9883821c3 [#21] Add basic GeoJSON preview and fix set up of wms preview 2013-06-14 18:12:35 +01:00
amercader cafbf375b6 [#22] More details about resource_proxy 2013-06-14 18:12:02 +01:00
Dominik Moritz 762cbd42a1 [#22] No need to add `resource_proxy_enabled` to config 2013-06-14 18:11:40 +01:00
amercader 511e26fa14 [#15] Check CKAN version when using the Solr Search backend 2013-06-14 18:11:11 +01:00
amercader 9976b6e96f [#15] Reenable the Solr backend
It can be used against CKAN core 2.0.1

Conflicts:

	ckanext/spatial/plugin.py
2013-06-14 18:10:11 +01:00
amercader e03db4901c [#20] Flag datasets created via the spatial harvesters via a generic extra 2013-05-15 17:00:04 +01:00
amercader 692f04568f [#19] Extract thumbnail from ISO documents 2013-05-15 17:00:02 +01:00
amercader 2d557022f4 [#7] Remove spatial_query_widget from setup 2013-05-14 14:04:54 +01:00
amercader 9300bcc1b9 Update install instructions
To reflect extension compatibility handling changes.
2013-05-14 13:23:03 +01:00
amercader 5c54615285 Clean-up README 2013-05-14 13:17:23 +01:00
amercader d3ed973505 Update spatial query docs 2013-05-13 19:02:17 +01:00
amercader 7919a19f7c Revert "[#15] Add suport for Solr spatial indexing and querying"
Reverting #15 as CKAN 2.0 does not include the necessary changes.

This reverts commit c7a9cc660f.
2013-05-13 18:55:32 +01:00
amercader 83d903f84f Revert "[#15] Ensure that bounding boxes are defined counter-clockwise"
Reverting #15 as CKAN 2.0 does not include the necessary changes.

This reverts commit fede0b0831.
2013-05-13 18:55:27 +01:00
amercader 5e35ac0fcb Revert "[#15] Read search backend config option once only"
Reverting #15 as CKAN 2.0 does not include the necessary changes.

This reverts commit d11693f076.

Conflicts:

	ckanext/spatial/plugin.py
2013-05-13 18:55:12 +01:00
amercader 17796c4ad0 Revert "[#15] Add a new Solr search backend based on boost function"
Reverting #15 as CKAN 2.0 does not include the necessary changes.

This reverts commit bddfdf6fba.

Conflicts:

	ckanext/spatial/plugin.py
2013-05-13 18:53:09 +01:00
amercader fe4ac49877 Revert "[#15] Document different spatial search backends available"
Reverting #15 as CKAN 2.0 does not include the necessary changes.

This reverts commit 945161c7cb.
2013-05-13 18:51:50 +01:00
amercader 72127fa151 Revert "[#15] Tweak doc to remove paper"
Reverting #15 as CKAN 2.0 does not include the necessary changes.

This reverts commit cf22017b7d.
2013-05-13 18:51:44 +01:00
amercader 6f3c699311 [#7] Remove old genshi spatial query widget 2013-05-13 17:13:19 +01:00
amercader 7e10eb9c16 [#7] Allow to customize the default extent for the spatial query widget 2013-05-13 16:59:49 +01:00
amercader af253d0f89 [#7] Spatial search widget for 2.0
Adds a new map widget to the 2.0 search templates. It is shown initially
in the sidebar but it is expanded when the user needs to draw an area.
It uses Leaflet and Leaflet.draw.
2013-05-13 16:14:48 +01:00
amercader 45f4f4da57 [#16] Ignore time zones when parsing harvest object modified date
Otherwise you get this exception when the date on the document has time
zone information, as dates as stored without it on the database:

TypeError: can't compare offset-naive and offset-aware datetimes
2013-04-25 17:13:03 +01:00
amercader a4c86d26e3 [#15] Better checks following 27d4d5 2013-04-12 16:44:52 +01:00
Ian Ward 27d4d5b2c9 make spatial field optional 2013-04-12 16:39:38 +01:00
amercader b75acb5613 Merge branch 'release-v2.0' of github.com:okfn/ckanext-spatial into release-v2.0 2013-04-12 10:56:47 +01:00