Commit Graph

189 Commits

Author SHA1 Message Date
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
Adrià Mercader 40bddb0005 Use GeoAlchemy on the spatial query controller 2011-09-29 15:41:45 +01:00
Adrià Mercader fddc7db2c7 Support for automatic indexing of spatial extent (#1272)
The spatial_query plugin now automatically checks for the existance of an
'spatial' extra when creating, updating or deleting a package and syncs its
value (in GeoJSON format) with the geometry column of the package_extent
table. The extension now uses GeoAlchemy, that makes performing spatial
operation extremely easy. The geometry field has been updated to support
multiple geometry types (Polygons, Points, MultiPolygons...) and the default
srid has been set as WGS 84 lat/lon (EPSG:4326).
2011-09-29 15:40:49 +01:00
Adrià Mercader 5dd302e681 Tag new version 2011-09-26 10:27:20 +01:00
Adrià Mercader 8fcaeb3e18 Added tag release-v0.1 for changeset 90466a83f22e 2011-09-26 10:26:04 +01:00
Adrià Mercader 33235748b0 Update imports for the API controller 2011-05-26 15:34:21 +01:00
james gardner b5c83ab578 [packaging] Working paths config 2011-04-20 11:59:00 +01:00
james gardner 6b5d260b0a [packaging] Moving the resources into the module, no resources need when deployed should ever be outside 2011-04-20 11:44:55 +01:00
Adrià Mercader e3f27aeea7 Don't use the spatial-reference-system extra as all bbox will be in lat/lon 2011-04-14 14:45:32 +01:00
Adrià Mercader 5e1ab19dfc Fix bug in params binding 2011-04-14 09:56:12 +01:00
Adrià Mercader 70976340da Add a command to create the necessary DB tables 2011-04-13 12:05:59 +01:00
Adrià Mercader b738738b2d Update README 2011-04-11 18:06:28 +01:00
Adrià Mercader 1710205cf9 Moving the spatial query. You can enable it loading the spatial_query plugin in the ini file. 2011-04-11 18:04:28 +01:00
Adrià Mercader 76183b6f23 Moving the WMS previewer. You can enable it loading the wms_preview plugin in the ini file 2011-04-11 17:23:27 +01:00
Adrià Mercader 6ae23e4116 Initial commit. This extension will hold geo-related functionalities moved from ckanext-harvest. 2011-04-11 16:53:47 +01:00