[ckan-dev] Geojson - can't preview

Pedro Ferro pedro.ferro at gmail.com
Wed Nov 2 15:10:52 UTC 2016


Thanks for the insight Matt,

The file was original exported from QGIS.

Because I didn't know how to manually change the projection in the file I
exported the geojson file with GeoKettle and now it's working.
I imagine that GeoKettle use the "correct" projection.

Appreciate the help given.
Pedro

2016-11-02 12:00 GMT+00:00 <ckan-dev-request at lists.okfn.org>:

> Send ckan-dev mailing list submissions to
>         ckan-dev at lists.okfn.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://lists.okfn.org/mailman/listinfo/ckan-dev
> or, via email, send a message with subject or body 'help' to
>         ckan-dev-request at lists.okfn.org
>
> You can reach the person managing the list at
>         ckan-dev-owner at lists.okfn.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of ckan-dev digest..."
>
>
> Today's Topics:
>
>    1. Re: Geojson - can't preview (Matthew Fullerton)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 2 Nov 2016 10:05:04 +0100
> From: Matthew Fullerton <matt.fullerton at gmail.com>
> To: CKAN Development Discussions <ckan-dev at lists.okfn.org>
> Subject: Re: [ckan-dev] Geojson - can't preview
> Message-ID:
>         <CAAm+7TagJqTptO-kAm9QmosD9sw3C6Vbxxgsu+
> EDDTNiuNDi-w at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> It looks like it can't cope with the projection
> code urn:ogc:def:crs:OGC:1.3:CRS84 - it's getting converted to OGC:CRS84
> and the supported ones are:
>
>
>    - 'EPSG:4326', which has the following alias
>       - 'WGS84'
>    - 'EPSG:4269'
>    - 'EPSG:3857', which has the following aliases
>       - 'EPSG:3785'
>       - 'GOOGLE'
>       - 'EPSG:900913'
>       - 'EPSG:102113'
>
> (http://proj4js.org/)
>
> Do you have the ability to manually change the geojson files or are they
> being exported by another system?
>
> Best,
> Matt
>
> On 31 October 2016 at 18:55, Pedro Ferro <pedro.ferro at gmail.com> wrote:
>
> > Hi,
> >
> > I've install the plugin geoview with OpenLayers Viewer and Leaflet
> GeoJSON
> > Viewer.
> >
> > My development.ini is like that:
> > ckan.plugins = stats text_view image_view recline_view datastore
> > datapusher pdf_view spatial_metadata spatial_query resource_proxy
> geo_view
> > geojson_view
> > ckan.views.default_views = image_view text_view recline_view geo_view
> > geojson_view
> >
> >
> > But can't preview this files:
> > http://hermes.airc.pt:82/dataset/condeixa-nascimentos/
> > resource/beca530a-cfe1-4c05-9f58-1fc4371ad07e?view_id=
> > 2dbf4884-6810-4fc3-bcf7-02504b9361a5
> >
> > http://hermes.airc.pt:82/dataset/condeixa-populacao/
> > resource/5e81a856-5aa4-4dab-a1fc-0fa0ccd68656?view_id=
> > 1410cf15-f2e4-4b36-8f85-a6089a6273d5
> >
> > http://hermes.airc.pt:82/dataset/condeixa-edificios/
> > resource/3591e3c7-7f75-4905-94ef-0f2875039f28?view_id=
> > 00bcf4c9-054d-4f3d-b2f1-7c7dbe6f47a2
> >
> > http://hermes.airc.pt:82/dataset/condeixa-densidade-
> populacional/resource/
> > 69b62a9f-690f-4047-8db5-ffc3552d074f?view_id=d21b2738-
> > 02d2-4ffd-b647-bdfa65e5e8a7
> >
> >
> > Appreciate any help,
> >  Pedro
> >
> > _______________________________________________
> > 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/20161102/e4895538/attachment-0001.html>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> 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
>
>
> ------------------------------
>
> End of ckan-dev Digest, Vol 73, Issue 2
> ***************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20161102/4df0f5ec/attachment-0003.html>


More information about the ckan-dev mailing list