Commit Graph

29 Commits

Author SHA1 Message Date
amercader 5a987828cb Format setup.py, Set proper version 2021-05-28 14:52:39 +02:00
Sergey Motornyuk 27057e0a39 IClick support 2019-12-13 16:48:20 +02:00
Sergey Motornyuk 2803729263 Update commands 2019-12-11 14:22:28 +02:00
Sergey Motornyuk 75a37f8ce4 Split plugins 2019-12-11 12:31:25 +02:00
Ross Jones e1567f6e3f
Remove ckanext.spatial from namespace_packages in setup
Keeping ckanext.spatial causes problems with the site.py after pip
installing the extension
2018-05-09 18:22:50 +01:00
Tom Kralidis a28baf4c7e remove cswinfo 2016-01-13 12:33:27 -05:00
Tom Kralidis e4ffbe611b remove legacy CSW server implementation 2015-12-26 08:40:49 -05:00
amercader 0886e15ed5 [#107] Remove geojson and wms views
The GeoJSON Leaflet plugin now lives on ckanext-geoview:

https://github.com/ckan/ckanext-geoview

The old WMS preview has been completely removed in favour of the
OpenLayers based geoview:

https://github.com/ckan/ckanext-geoview#openlayers-viewer
2015-05-07 13:43:52 +01:00
amercader 4a142e8377 [#98] Minor tweaks to @u10313335 PR
* Keep old entry points for preview plugins so people does not need to
  do python setup.py develop

* Version checks should be done including the min_version parameter,
  otherwise they will fail for 2.4, 2.5...

* No need to define different methods for different interfaces. If
  running eg 2.3, the IResourcePreview interface methods will simply be
  ignored.

* Simplified same domain checking

* Add note about these being eventually migrated to ckanext-geoviews

* Added docs
2015-04-02 11:41:50 +01:00
amercader c9c40606c2 Merge branch '2.3' of https://github.com/taijiang-tw/ckanext-spatial into taijiang-tw-2.3 2015-04-02 09:28:02 +01:00
amercader 50df9130cf [#97] The tests that ckanext-spatial deserves
Completely reviewed and refactored tests to support both CKAN 2.2/2.3,
geoalchemy 1/2 and PostGIS 1/2 (TODO test on PostGIS 1.5)

Removed all references to legacy ckan tests, and removed old or
incomplete tests.
2015-04-01 11:36:00 +01:00
Sol Lee c291e30a0e make wms and geojson viewer compatible with CKAN 2.3 2015-04-01 18:02:31 +08:00
amercader 7b65813cba [#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-06-20 16:44:56 +01:00
Dominik Moritz 64d1846e90 [#21] Add basic GeoJSON preview and fix set up of wms preview 2013-06-13 22:51:01 +02:00
amercader e85d647304 [#7] Remove spatial_query_widget from setup 2013-05-14 14:05:12 +01:00
amercader 1d8a4c17c4 [#8] Update harvesters for CsW, WAF and Doc sources
These are the new versions of the spatial harvesters with significant
improvement over previous ones.
2013-02-12 18:29:30 +00:00
amercader 24270cb4cb [#8] Move Gemini harvesters and updated base harvester to own files
Prior to the merging of the new spatial harvesters, the existing ones
based on Gemini and UKLP have been moved to their own namespace
(ckanext.spatial.harvesters.gemini). The plugin points have been updated
so users currently using these harvesters will still be able to use them
as normal.

The base harvester (SpatialHarvester) has been updated with new methods,
most significally '_get_package_dict' and 'import_stage'. Note that
SpatialHarvester now extends HarvesterBase on ckanext-harvest, which had
some of its methods updated.

TODO: still some geo.data.gov specific bits!
2013-02-12 17:40:41 +00:00
amercader 3da5807eb4 [#6] Update dataset map to be a pure snippet
No need to load an extension.
2013-01-18 13:07:26 +00:00
David Read d90114cf07 Added ability to produce report into validation errors, for when changing validation. Added report infrastructure. 2012-10-19 18:20:32 +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 8181b3d3bf Merged in ckanext-csw @44d5a04656dff084e6bca57dda7b63deec69778c. Not tested yet. 2012-10-17 16:59:02 +01: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
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 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 5dd302e681 Tag new version 2011-09-26 10:27:20 +01:00
Adrià Mercader 70976340da Add a command to create the necessary DB tables 2011-04-13 12:05:59 +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