-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi
Yves and Thomas, thank you for the input.
Am Sun, 29 May 2011 08:35:50 +0200 schrieb yvecai yvecai@gmail.com:
The best and sure way I found to get all ways and their nodes and nodes (and relations too) from a relation is osmfilter [1]. The various instance of Xapi around does not provide enough recursivity for that, nor Osmosis dataset handling.
I've used o5mfilter[1] to filter the osm file. It is capable of keeping relations and their members and took just around a minute to filter the switzerland extract for everything related to public transport. Currently I'm filtering planet.osm, seems to take some more time :-)
I've then imported the filtered dataset to a Postgres DB with PostGIS extension using osm2pgsql to be able to select based on a given bbox. Now I'm working on a API to this DB which would make it possible to get Public Transport Nodes/Ways/Relations recursively and based on the new Public Transport Feature with its public_transport relations.
Am Sat, 28 May 2011 20:38:40 +0200 schrieb Thorsten Kurz tkurz@gmx.net:
One more thing: I just saw that in Lausanne the departure time lists for busses and metro the same times show up twice quite often.
I'll look into that.
Oh, and auto-update would be nice. An update every minute for an open popup, otherwise poll fresh data just in the moment when the popup is opened. Or poll more data in the background and synchronise the shown data with the actual time.
this is now done. the data is just polled when mouseover the station circle. then it gets updated every minute.
And while we are at it, browsing into the future would be great too.
I'm at it :-)
And of course a feature to search for a connection to a specific place at a specific time like in http://map.search.ch/
Sure this is on the todo list to. Basic functionality is online.
The problem comes from different rhythms, the local transport runs about every 5-10min, the trains only every 30-60min. Would there be a way to split the local from the regional/national level? Even if they pop up in the same window, but maybe as two columns side by side?
there is a way. i thought about just getting the data for the type of station you click: you get only trains if you click on train station circle (red), only buses for yellow... but having them displayed side by side would also help.
[1]http://wiki.openstreetmap.org/wiki/O5mfilter [2]http://wiki.openstreetmap.org/wiki/Proposed_features/Public_Transport