On 28. 05. 11 18:55, Beni Buess wrote:
Hi
Meet the new Swiss Public Transport Map: http://map.xiala.net This is currently just a proof of concept, more features should land in the coming weeks. I'd really like to get some feedback.
Map Tiles are from openstreetmap.org Stations/Stops are from Cloudmade Geocoding API. Timetable Information via SBB API [1] from sbb.ch
Does anybody know of a service to get all nodes of a relation, just like [2] without abusing the OSM API?
[1] http://sbb.xiala.net [2] http://api.openstreetmap.org/api/0.6/relation/88640/full
Beni _______________________________________________ talk-ch mailing list talk-ch@openstreetmap.ch http://lists.openstreetmap.ch/mailman/listinfo/talk-ch
Hi Beni, Nice app ! 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. There is another solution with Osmosis on osm xml files directly, using the --used-ways of the 0.39 version [2]. However, it seems to be long compared to osmfilter.
In any case, you'll need to have your own dataset locally. Maybe the easiest way for you is to download the Switzerland extract from geofabrik from time to time [3].
You will find my data update process at [4] for http://www.pistes-nordiques.org. Look at the directory planet_update. I takes ~8hours for extracting all XC trails from a complete planet, so it would be really fast for Swiss data only.
Yves
[1]http://wiki.openstreetmap.org/wiki/Osmfilter [2]http://lists.openstreetmap.org/pipermail/dev/2011-April/022360.html [3]http://download.geofabrik.de/osm/europe/ [4]http://dev-yves.dyndns.org/repository/www.pistes-nordiques.org/www.pistes-no...