spatial-d4science/ckanext/spatial
amercader b7f486ce04 [#8] Adapt model parsing code to make it ISO 19115 friendly
Changes in multiplicity to support the ISO 19115 spec rather than just
the Gemini 2 one. Thanks to @dread for his help on this.

Summary of the changes:

* dataset-reference-date: Set to 1..*
Note that there was a bug with mutliple values allowed per date.
Returned object should now be like:
 "dataset-reference-date": [{"type": "creation", "value": "2004-02"},
{"type": "revision", "value": "2006-07-03"}]

* metadata-languge: Set to 0..1

* resource-type: Set to *. That means that a list is now returned

* bbox: Set to *. Note that bboxes are now returned as objects such as:
[{"north":xxx, "south":xxx,, "east":xxx, "west":xxx}, {"north":xxx,
  "south":xxx,, "east":xxx, "west":xxx}]

The existing Gemini based harvesters and validators have been adapted,
all tests pass.
2013-02-11 17:35:06 +00:00
..
commands Relaxed "Multiplicity Check" so that it does not raise Exceptions any more - just log errors. This is because they are simply duplicates of the Gemini Schematron. Adria agreed these will be deleted anyway in 2.0. 2013-02-08 17:34:43 +00:00
controllers Add XSL for converting Gemini XML to nice HTML, used in controllers/api.py. 2013-02-08 17:31:34 +00:00
lib Spatial query can now be ordered. Does not play nicely with SOLR options - just uses that to get the facets counts and return each result. Have added performance tests for two alternative queries. 2013-02-08 17:28:37 +00:00
model [#8] Adapt model parsing code to make it ISO 19115 friendly 2013-02-11 17:35:06 +00:00
public [#6] Move to Leaflet for dataset map widget 2013-01-18 15:12:09 +00:00
templates Add XSL for converting Gemini XML to nice HTML, used in controllers/api.py. 2013-02-08 17:31:34 +00:00
tests [#8] Adapt harvest tests to CKAN 2.0 2013-02-11 16:57:38 +00:00
validation [#8] Adapt model parsing code to make it ISO 19115 friendly 2013-02-11 17:35:06 +00:00
__init__.py Initial commit. This extension will hold geo-related functionalities moved from ckanext-harvest. 2011-04-11 16:53:47 +01:00
harvesters.py [#8] Adapt model parsing code to make it ISO 19115 friendly 2013-02-11 17:35:06 +00:00
html.py Remove stuff from html.py 2013-01-18 15:11:06 +00:00
nongeos_plugin.py [#4] Register resources only once for all plugins 2013-01-15 20:00:46 +00:00
plugin.py Spatial query can now be ordered. Does not play nicely with SOLR options - just uses that to get the facets counts and return each result. Have added performance tests for two alternative queries. 2013-02-08 17:28:37 +00:00