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

Henrik Aagaard Sørensen BU1G at tmf.kk.dk
Fri Jun 14 06:04:09 UTC 2013


Hi Domonik.

Cool, that looks great.

I don't know if this is too much to ask, please let me know if it is. However, I tried to read the REAMDE on how to install ckanext-spatial and it only told how to when using python enviroment etc. and I've installed CKAN via packages using Apache etc.

Do you know how to install it when running production?

-----Oprindelig meddelelse-----
Fra: ckan-dev-bounces at lists.okfn.org [mailto:ckan-dev-bounces at lists.okfn.org] På vegne af Dominik Moritz
Sendt: 13. juni 2013 23:39
Til: CKAN Development Discussions
Emne: Re: [ckan-dev] GeoJSON-preview in CKAN, possible?

Hi Henrik,

I wrote an extension today and submitted a pull request to ckanext-spatial [1].

Best wishes,
Dominik


[1] https://github.com/okfn/ckanext-spatial/pull/21

On 13 Jun 2013, at 16:11, Adrià Mercader <adria.mercader at okfn.org> wrote:

> 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
>> 
> 
> _______________________________________________
> 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

Dominik Moritz
CKAN developer  |  skype: d.moritz  |  @doobly_doo
The Open Knowledge Foundation
Empowering through Open Knowledge
http://okfn.org/  |  @okfn  |  http://ckan.org  |  @CKANproject


_______________________________________________
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