[ckan-dev] GeoJSON-preview in CKAN, possible?

Adrià Mercader adria.mercader at okfn.org
Thu Jun 13 14:11:09 UTC 2013


Hi Henrik,

There is not an existing extension that can display GeoJSON.

It should be quite easy to implement as a custom preview using the
IResourcePreview extension [1] and Leaflet or OpenLayers as backend.
The implementation would be similar to this basic WMS previewer on the
spatial extension [2].

Hope this helps,

Adrià


[1] http://docs.ckan.org/en/latest/writing-extensions.html?highlight=interfaces#ckan.plugins.interfaces.IResourcePreview
[2] https://github.com/okfn/ckanext-spatial/blob/master/ckanext/spatial/nongeos_plugin.py#L9

On 11 June 2013 15:37, Henrik Aagaard Sørensen <BU1G at tmf.kk.dk> wrote:
> I guess everything is possible in CKAN J
>
>
>
> However, are there any existing functionality or extension for showing
> GeoJSON data directly on a map in CKAN?
>
>
>
> Regards
>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>




More information about the ckan-dev mailing list