[ckan-dev] problem with spatial previews

Matthew Fullerton matthew at smartlane.de
Mon Aug 10 10:20:54 UTC 2015


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<mailto:florian at smartlane.de>
T +49.89.289.28575
F +49.89.289.22333
www.smartlane.de<http://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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20150810/03e53802/attachment-0003.html>


More information about the ckan-dev mailing list