Commit Graph

571 Commits

Author SHA1 Message Date
amercader 0cd87047dd Merge branch 'master' into docs 2013-09-06 13:34:44 +01:00
amercader a22d0c833f [#37] Common function for initializing maps
This avoids duplication, mkaes all map consistent and makes easier
future support for other base maps.
2013-08-30 17:11:24 +01:00
amercader 028d26e6e0 [#37] Common function for initializing maps
This avoids duplication, mkaes all map consistent and makes easier
future support for other base maps.
2013-08-30 17:10:11 +01:00
amercader d1bed67c36 [#36] Fix spatial query widget for CKAN 2.1 2013-08-30 16:26:27 +01:00
amercader b371aee381 [#36] Fix spatial query widget for CKAN 2.1 2013-08-30 16:26:02 +01:00
David Read 0c99fbb294 [noticket] Notes about CSW limitation. Example GetRecords. 2013-08-30 14:45:17 +01:00
amercader ce241ad37a [#24] Readme: install Postgis and pycsw field length errors 2013-08-30 14:45:03 +01:00
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 5a03862a83 Merge branch '24-pycsw-integration-command' 2013-08-30 14:36:42 +01:00
amercader 0793cd130f [#24] Readme: install Postgis and pycsw field length errors 2013-08-30 14:35:44 +01:00
amercader 44fd9816e1 [#24] Mention required pycsw version in readme 2013-08-30 12:22:14 +01:00
fxia a9414e755d add progress into the iso values 2013-08-29 00:05:24 -04:00
amercader eb1090a9c4 [#24] Let pycsw define and create the table 2013-08-21 17:51:38 +01:00
amercader fa7ede5e03 [#24] Minor tweaks in README 2013-08-21 17:51:20 +01:00
amercader 3f784de737 Merge branch 'master' into 24-pycsw-integration-command
Conflicts:
	README.rst
2013-08-20 14:35:53 +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 b466b1157e [#34] Update lxml requirement
Latest OWSLib introduces changes that require lxml>=2.3.
2013-08-14 13:14:55 +01:00
amercader d921dde407 [#35] Ignore auth when using site_user 2013-08-14 12:23:36 +01:00
amercader c6e29ee25f [#35] Ignore auth when using site_user 2013-08-14 12:23:00 +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 cf202ba33d 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:53:22 +01:00
amercader 2f8cbbdb3b [#32] Add note about resource_proxy 2013-08-08 18:19:06 +01:00
amercader 4636379482 [#32] Add note about resource_proxy 2013-08-08 18:18:51 +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 5f56877eba Merge branch '29-new-preview-interface' 2013-08-08 17:52:05 +01:00
amercader b51f5de2f1 [#27] Remove spatial_query_widget mention from README 2013-08-08 17:36:25 +01:00
amercader d6cfb46c6c [#27] Remove spatial_query_widget mention from README 2013-08-08 17:36:14 +01:00
amercader 3f1acee4bd [#26] Fix broken markers on debug mode 2013-08-08 17:34:29 +01:00
amercader 063a1b8530 [#26] Fix broken markers on debug mode 2013-08-08 17:33:56 +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 19ea9b1753 [#32] Do not set height to avoid scrollbars if container is less than 600px 2013-08-08 17:31:21 +01:00
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