Commit Graph

631 Commits

Author SHA1 Message Date
amercader fc60494c35 [#28] Fix function name 2013-07-29 17:25:20 +01:00
amercader 28042d2b6f [#28] Fix function name 2013-07-29 17:25:04 +01:00
amercader b820951a02 [#31] Check if sort parameter exists 2013-07-29 17:23:37 +01:00
amercader 14048a153c [#31] Check if sort parameter exists 2013-07-29 17:23:21 +01:00
David Read b6bd5ca308 [noticket] Notes about CSW limitation. Example GetRecords. 2013-07-22 21:48:13 +01:00
Dominik Moritz f0aa5076a0 [#29] Fix missing variable 2013-07-19 23:04:49 +02:00
Dominik Moritz f4ea4da3e0 [#29] Use new precedence feature for previews. 2013-07-19 12:35:35 +02: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
amercader a4d895debe [#21] Add geojson previewer to index 2013-06-14 18:14:45 +01:00
amercader 40ff7284cc [#21] Add geojson previewer to index 2013-06-14 18:14:31 +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 d8ed7c03cd Merge branch '21-geojson-preview' 2013-06-14 17:56:26 +01:00
amercader e30b662a36 [#21] Make popup table match the rest of CKAN tables 2013-06-14 17:53:38 +01:00
amercader f8dd4c02bd [#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 17:39:58 +01:00
amercader ff68a901a7 Merge branch '22-update-docs' 2013-06-14 16:08:37 +01:00
amercader fd84f24d56 [#22] More details about resource_proxy 2013-06-14 16:08:25 +01:00
amercader a4b8ddb7db Merge branch 'master' of github.com:okfn/ckanext-spatial 2013-06-14 16:01:49 +01:00
amercader 9eec88b320 [#15] Check CKAN version when using the Solr Search backend 2013-06-14 15:59:45 +01:00
Dominik Moritz fe8c469c12 [#21] show object in popup, fix layout 2013-06-14 13:23:06 +02:00
Dominik Moritz 4aabfed78b [#21] Add GeoJSON preview docs 2013-06-13 23:34:49 +02:00
Dominik Moritz 6eb180c02a [#21] Add properties information to popup, lighter style 2013-06-13 23:24:01 +02:00
Dominik Moritz 64d1846e90 [#21] Add basic GeoJSON preview and fix set up of wms preview 2013-06-13 22:51:01 +02:00
Dominik Moritz 4abd73e955 [#22] No need to add `resource_proxy_enabled` to config 2013-06-13 22:17:40 +02:00
kindly add78d5931 allow csw to fetch differen output schema 2013-05-18 18:28:25 +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 27521221d6 [#20] Flag datasets created via the spatial harvesters via a generic extra 2013-05-15 16:58:12 +01:00
amercader 8e81d1bd69 [#19] Extract thumbnail from ISO documents 2013-05-15 16:41:36 +01:00
amercader b4a7cf2289 [#15] Reenable the Solr backend on master
It can be used against CKAN core master (eventually 2.1)
2013-05-14 14:34:10 +01:00
amercader e85d647304 [#7] Remove spatial_query_widget from setup 2013-05-14 14:05:12 +01:00
amercader 2d557022f4 [#7] Remove spatial_query_widget from setup 2013-05-14 14:04:54 +01:00
amercader ce8747198f Merge branch 'release-v2.0'
Conflicts:
	README.rst
	ckanext/spatial/commands/validation.py
	ckanext/spatial/controllers/api.py
	ckanext/spatial/harvesters/gemini.py
	ckanext/spatial/plugin.py
	ckanext/spatial/tests/lib/test_spatial.py
	ckanext/spatial/tests/model/test_harvested_metadata.py
	ckanext/spatial/tests/test_harvest.py
2013-05-14 14:02:28 +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