Commit Graph

221 Commits

Author SHA1 Message Date
amercader a2758a3b30 Pass defer_commit in context on get_site_user calls
See ckan/ckan#1714. Until that is fixed properly, the `defer_commit`
flag avoids some `DetachedInstanceErrors` happening during the
harvesting.
2014-05-13 15:32:21 +01:00
amercader 3938a7e8a7 [#62] Fix xpath for Alternate Title 2014-04-28 18:41:10 +01:00
amercader f8c5764ac1 [#65] Add individualName to ResponsibleParty 2014-03-19 11:59:41 +00:00
amercader 8221189a4a [#62] Fix spatial-resolution parsing 2014-03-14 14:12:23 +00:00
amercader 4814ad60bb [#64] Fix validation exception when resource-type was missing 2014-03-14 12:36:29 +00:00
etj 82d3e1d151 [#55] Allow CSW harvesters to define CQL filters (2nd try) 2014-03-14 10:44:55 +00:00
kindly 0f00914e6d allow csw to fetch differen output schema 2014-03-14 10:44:52 +00:00
amercader cf9ace4acf [#62] Relax multiplicities 2014-03-14 10:28:04 +00:00
amercader dc37867d7a [#62] Add new fields to the ISO parser
* Metadata standard name / version
* Unique resource identifier (reenabled and fixed)
* Presentation form
* Purpose
* Maintenance note
* Access constraints
* Distributor
* Usage
* Aggregation info
2014-03-14 10:28:04 +00:00
amercader e9c7bbcabe [#62] Clean up keywords parsing
Keywords were extracted via 3 different elements
`keyword-inspire-theme`, `keyword-controlled-other` and
`keyword-free-text`. The latter didn't actually do anything and the
second duplicated xpaths from the first and added a non-standard one.

A new `keywords` key has been added which contains all keyword objects,
including type. This is not used to modify the `tags` key right now.
2014-03-14 10:28:04 +00:00
amercader 5b29e47efb [#62] Add links to organization parties 2014-03-14 10:28:04 +00:00
amercader 7d5de79b58 [#61] Add media types for GeoJSON and GML 2014-03-07 16:27:13 +00:00
Tom Kralidis a44f695bac Update csw.py 2014-01-24 18:16:42 +00:00
amercader bedb309c89 [#52] Add class for link removed on 2.2 2014-01-09 18:26:53 +00:00
amercader 4a7a70855a [#52] Show dataset map correctly on all 2.x versions 2014-01-09 18:26:51 +00:00
Tom Kralidis 0d64edeefa add functionality to set CSW keywords from CKAN tag counts
Conflicts:

	pip-requirements.txt
2013-11-22 16:37:34 +00:00
amercader b02f79a26c Revert accidental deletion from ffc5121c 2013-10-23 13:02:40 +01:00
amercader a09a52db7e Fix csw client to properly use getrecords2 2013-10-16 14:00:41 +01:00
Tom Kralidis dd1ef67b9e s/owslib.csw.getrecords/owslib.csw.getrecords2/g 2013-10-16 14:00:33 +01:00
amercader d70fb9df71 [#37] Update attributions 2013-10-10 17:56:34 +01:00
amercader e6145f5b6a [#37] Add support for MapBox tiles and others
The common map function has been extended to allow configuring different
options for the base layer. There are default presets for MapQuest and
MapBox, but any XYZ layer can be added configuration options. The
options are passed to the templates via a helper function and to the js
modules via data-module attributes. Full docs included.
2013-10-06 23:18:59 +01:00
fxia 46c7b37447 for progress, use gemini_values not iso_values 2013-10-04 15:46:33 +01:00
amercader d905abb87b Remove progress field from tests 2013-09-10 11:10:35 +01:00
fxia 8ff6c7d75d change progress multiplicity to * 2013-09-10 11:10:32 +01:00
fxia 69c20d1965 add progress into the iso values 2013-09-10 11:10:30 +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 d1bed67c36 [#36] Fix spatial query widget for CKAN 2.1 2013-08-30 16:26:27 +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 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 d921dde407 [#35] Ignore auth when using site_user 2013-08-14 12:23:36 +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 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 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 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 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 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