[Open-transport] Open Data Public Transport List?

Rufus Pollock rufus.pollock at okfn.org
Fri Jul 19 09:14:27 UTC 2013


On 18 July 2013 20:21, Stéphane Guidoin <stephane at opennorth.ca> wrote:

> Same here, I have started to populate the CKAN instance. It's just a pity
> that there is not way to add true geospatial metadata (lat/long, geoname id
> or something like that) or not that I found...
>

This is supported by CKAN but you may need to turn on the Geospatial
features, see this extension: https://github.com/okfn/ckanext-spatial

In particular you just need to add an "extra field" named "spatial" with a
geojson value like:

{"type":"Polygon","coordinates":[[[2.05827, 49.8625],[2.05827,
55.7447], [-6.41736, 55.7447], [-6.41736, 49.8625], [2.05827,
49.8625]]]}

{ "type": "Point", "coordinates": [-3.145,53.078] }

You can already add these though nothing will show up until the spatial
extension is enabled. See
https://github.com/okfn/ckanext-spatial#geo-indexing-your-datasets for more!

Rufus
*

*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/open-transport/attachments/20130719/0ccd8924/attachment.html>


More information about the open-transport mailing list