Commit Graph

64 Commits

Author SHA1 Message Date
David Read 2d6f497720 Missed off some files from the previous commit., 2012-10-19 12:14:09 +01:00
David Read 20e8f12615 Merged in ckanext-inspire.
Tests are passing, apart from a couple which didn't work before:
* test_functional.py -> functional/test_package.py (3 failures in 4)
* functional/test_dataset_map.py (1 fail in 1)
There may be some code errors still untested.
Renamed Validator -> Validators to make more sense.
2012-10-19 11:19:01 +01:00
David Read 58fa06051d Added EDEN ISO10139 schema that was missed off before. 2012-10-17 17:08:20 +01:00
David Read 8181b3d3bf Merged in ckanext-csw @44d5a04656dff084e6bca57dda7b63deec69778c. Not tested yet. 2012-10-17 16:59:02 +01:00
David Read 706f40b80d Merge branch 'master' of github.com:okfn/ckanext-spatial 2012-10-17 14:15:59 +01:00
David Read bf03acc3d3 Typo. 2012-10-17 14:12:40 +01:00
amercader b784be8f9e Do not use repo.are_tables_created
When checking whether the core tables have been alredy created  it is
best to use package_table.exists(), as are_tables_created reflects the
tables, causing conflicts with other extensions.

This allows ckanext-harvest and ckanext-spatial to be used together on
ckan 1.8 onwards.
2012-08-09 11:02:13 +01:00
amercader 9bc3759bd1 Update tests for auth changes in core (#2388) 2012-07-12 19:13:21 +01:00
amercader 493589aaf1 [#2399] Fixes for CKAN 1.8
* Fix broken imports in model after cleanup
* Minor CSS glitch on the spatial filter widget
2012-06-25 19:27:18 +01:00
David Read 745bed4e77 Customising extent map for dgu. 2012-05-22 10:51:44 +01:00
amercader 1ffe6f42d1 [ui] Fix alignment and button classes (update to latest bootstrap) 2012-05-08 14:19:28 +01:00
amercader e18f3210b8 [ui] Update button classes to bootstrap 2012-05-08 14:00:19 +01:00
amercader cafc0b9644 [tests] Fix test for changes in logic layer 2012-04-29 18:17:13 +01:00
David Read 8010c1e16b Stray comma caused IE7 to barf. 2012-04-27 15:04:22 +01:00
David Read 87d56bc91d gitignore 2012-04-27 13:09:21 +01:00
David Read e19227fe61 Added option for OS tiles (subject to licence). 2012-04-27 13:06:20 +01:00
David Read 8f4ae04570 Allow extent map to be shown on configurable routes. 2012-04-27 10:44:15 +01:00
David Read 202ee80893 Merge branch 'master' of github.com:okfn/ckanext-spatial 2012-04-18 15:58:17 +01:00
David Read 18e678209e Explain maxBooleanClauses setting to avoid limit error. 2012-04-18 15:58:04 +01:00
amercader 23f392bb4c Merge branch 'master' of github.com:okfn/ckanext-spatial 2012-04-16 10:33:11 +02:00
amercader 60bc030e7d [tests] Update package create functions to logic refactor 2012-04-13 10:59:21 +01:00
amercader 82e3f90fb3 [cli] Srid param was not passed from the cli 2012-04-13 10:58:39 +01:00
amercader bac46c3e1e [docs] Update README with common problems 2012-04-13 10:36:06 +01:00
David Read 2ecb8498bf Geographic extent now looks for id="dataset" because DGU templates use multiple classes for the root dataset div (as might other customised templates), yet having only one value for id is a reasonable assumption. Also works for core CKAN templates. 2012-04-12 21:35:38 +01:00
David Read 7280bc8d06 Tweaked instructions. 2012-04-12 19:49:12 +01:00
amercader a68d31abf7 [wms_preview] Fix url generation bug 2012-04-03 13:52:40 +01:00
amercader 939e4e4efa [plugin] Fix import from the core logic layer 2012-03-07 15:07:37 +00:00
amercader 35ec44a038 Merge branch 'feature-default-search-integration' 2012-02-24 16:56:58 +00:00
amercader 0c6d0f7e48 [search] Maintain previous extent when filtering by area 2012-02-22 17:25:06 +00:00
amercader 25470e3a43 [tests] Add tests for spatial search integration and search widget 2012-02-22 12:26:52 +00:00
amercader a77e0ef2c3 [plugins, docs] Rearrange plugins
Separate different features to make it more flexible for users
to load different stuff depending on their needs and the CKAN
version they are using.
2012-02-21 12:00:47 +00:00
amercader 1f829b3031 [search] Add option to define a default extent 2012-02-21 11:05:13 +00:00
amercader 1d1f88195f Merge from master 2012-02-20 18:13:33 +00:00
amercader 43c997dee7 [model,tests] Better handling of model initialization on startup 2012-02-07 16:50:46 +00:00
amercader 51a8dfa857 [dataset_map] Use MapQuest tiles instead of OSM ones
Because of http://wiki.openstreetmap.org/wiki/Tile_usage_policy
2012-01-20 16:19:08 +00:00
amercader 510703ec36 [doc] Add remark about GEOS being installed 2012-01-20 15:03:35 +00:00
amercader a20688a453 [search][#1469] Map widget for the spatial search UI
TODO: integrate better with the general look and feel.
2012-01-18 11:03:21 +00:00
amercader 03fd4c2b3c [search] Use before_search approach to integrate with Solr search
If filtering the results after the search, recalculating the facets
is too complicated, so we use the alternative approach of doing the
spatial search first and adding the ids as a filter in the Solr query.
2012-01-17 17:20:16 +00:00
amercader 95b6db2cfe [search] Update search plugin hook name 2012-01-17 10:44:25 +00:00
amercader 203558e97b [search] Integrate spatial search with the default CKAN search
Search results coming from the default CKAN search (which are received
via the `search` method of the `IPackageController` interface) are
filtered to only contain the ones intersecting the provided bbox.

The search form temporarily shows a text field, which will be replaced
by a nice map widget.
2011-12-13 17:40:47 +00:00
Adrià Mercader 8eebe1c239 [doc] Update README with migration issues 2011-11-30 17:11:29 +00:00
Adrià Mercader 6f2b15f5ea [api] Return only packages with state = active 2011-11-14 18:00:56 +00:00
Adrià Mercader ab52106f20 Separate non-GEOS/PostGIS plugins to avoid needing to install them if not needed
I.e for the WMS preview plugin. Also add tests for the WMS preview plugin and
use dataset instead of package on the UI.
2011-10-28 13:03:31 +01:00
Adrià Mercader 571a27a274 [tests] Add tests 2011-10-16 23:40:19 +01:00
Adrià Mercader 0b7808cd4b Use datasets instead of packages 2011-10-03 13:39:18 +01:00
Adrià Mercader 3a8f6c9cf6 [merge] from feature-1272-store-extents-from-form 2011-09-30 18:09:21 +01:00
Adrià Mercader e5dbeb9ff8 [wms_preview] Remove sysadmin check for WMS preview 2011-09-30 14:38:11 +01:00
Adrià Mercader 1798f63a08 [wms_preview] Fix for #1166 (Less stringent filters for WMS preview)
If one of the dataset resources has a 'WMS' format, the link will be
displayed. Also support for URLs with query params.
2011-09-30 12:15:53 +01:00
Adrià Mercader 9b0d00786a Update and cleanup for WMS previewer. It is still very unstable and should be
considered alpha stage.
2011-09-30 11:57:09 +01:00
Adrià Mercader 0ac18ba0a9 New Dataset Map Widget plugin.
When enabled, if the dataset has an 'spatial' extra, it shows a map on the
details page. It uses OpenLayers and supports all types of geometries.
2011-09-30 11:33:36 +01:00