This extensions comes to provide temprorary fixes to CKAN Spatial plugin that isn't yet applied, but will be (probably) applied soon. Pull request to Spatial plugin: ckan/ckanext-spatial#327
By default, all the fixes are disabled. Check the List of fixes and Config settings section to understand how to disabled specific fix.
Compatibility with core CKAN versions:
CKAN version | Compatible? |
---|---|
2.7 and earlier | not tested |
2.8 | not tested |
2.9 | not tested |
2.10.0 | yes |
Clone from GitHub, move to plugin directory and install using pip install -e
.
Add spatial_index_fix
to ckan.plugins
to enable the plugin.
N.B. spatial_index_fix
should be put before spatial_metadata
and spatial_query
.
Use a fix name from the parentheses to enable it via ckanext.spatial_index_fix.fixes
-
Fix (
indexing
) dataset indexing process by catching TypeError , make dataset possible to index and present in list/searches. -
(
update
) Deprecate Error message when user edit a DataSet with incorrect spatial data
# Provide a list of fixes names to enable it
ckanext.spatial_index_fix.fixes = indexing update