ckanext-spatial icon indicating copy to clipboard operation
ckanext-spatial copied to clipboard

Don't require PostGIS unless using it as a search backend

Open amercader opened this issue 7 years ago • 1 comments

There is absolutely no reason to require PostGIS if you are using one of the Solr backends. It's just required for historical reasons as it was the only backend supported initially.

The PostGIS search backend is not recommended anyway and the PostGIS install adds complexity and causes issues like ckan/ckan#3929 or #182.

amercader avatar Feb 15 '18 20:02 amercader

A bit of refactoring on plugin.py to not initialize the tables or store the extent if not using the postgis backend should be enough. And ideally add some tests using the solr backend.

amercader avatar Feb 15 '18 20:02 amercader