[ckan-dev] problem with spatial previews

Armin Retterath armin.retterath at gmail.com
Mon Aug 10 15:22:57 UTC 2015


hi matt,

thanx for the info.

i set now set following definitions:

ckan.plugins = stats geo_view text_view datastore image_view resource_proxy
ckan.views.default = image_view geo_view
ckan.spatial.srid = 4326
ckanext.geoview.ol_viewer.formats = wms kml geojson

but nothing happens .-( . before i activated both plugins - also nothing
happens. neither the spatial_metadata nor spatial_query had any effect on
the portal - do i have to do more configuration? maybe activate a spatial
search widget as it was so in 1.8.1b - which i tested some years ago?

i need a spatial search widget and options to view wms, geojson and maybe
use wfs.

- or should i go directly to 2.5a - is there a compatibility list for the
spatial extensions? can they be activated parallel?

thanx in advance,

armin


2015-08-10 12:20 GMT+02:00 Matthew Fullerton <matthew at smartlane.de>:

> Dear Armin,
> Are you using ckanext-geoview or ckanext-spatial?
>
> For the WMS viewer I think you need to specify which file types you want
> to offer previews for, e.g.:
> ckanext.geoview.ol_viewer.formats = wms kml
> https://github.com/ckan/ckanext-geoview#openlayers-viewer
>
> In general, and specifically for the GeoJSON problem, check that the file
> formats are set for the resource. I think it needs to be 'geojson' for a
> GeoJSON file and 'wms' for the WMS resource.
>
> Best,
> Matt
>
>
>
> *Projekt SMARTLANE*
>
> matthew at smartlane.de <florian at smartlane.de>
> T +49.89.289.28575
> F +49.89.289.22333
> www.smartlane.de
>
> EXIST-Gründungsvorhaben „Tapestry“
> c/o Lehrstuhl für Verkehrstechnik
> Technische Universität München
> Arcisstraße 21
> 80333 München
>
> Gefördert vom Bundesministerium für Wirtschaft und Technologie
> aufgrund eines Beschlusses des Deutschen Bundestages.
>
> ------------------------------
> *Von:* ckan-dev <ckan-dev-bounces at lists.okfn.org> im Auftrag von Armin
> Retterath <armin.retterath at gmail.com>
> *Gesendet:* Freitag, 7. August 2015 12:07
> *An:* CKAN Development Discussions
> *Betreff:* [ckan-dev] problem with spatial previews
>
> hello together,
> i freshly installed ckan 2.4.0 with the spatial extensions on an debian 8
> environment (including  datastore).
> in the frontend the options for show wms, geojson, ... are not displayed
> :-( .
> it seems to be, that ckan don't find the plugins?
> here are my entries in the development.ini:
>
> ckan.plugins = stats text_view datastore image_view recline_view
> spatial_metadata spatial_query geo_view geojson_view resource_proxy
>
> # Define which views should be created by default
> # (plugins must be loaded in ckan.plugins)
> ckan.views.default_views = ckanext-geoview geojson_view geo_view
> image_view text_view recline_view recline_map_view
>
> thanx in advance
> armin
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20150810/4808571e/attachment-0003.html>


More information about the ckan-dev mailing list