Re: [Talk-transit] Bus/Tram/Metro paths export
Date: Thu, 27 Jan 2011 19:09:38 +0100 From: Michael von Glasow mich...@vonglasow.com To: Public transport/transit/shared taxi related topics talk-transit@openstreetmap.org Subject: Re: [Talk-transit] Bus/Tram/Metro paths export Message-ID: 4d41b4e2.70...@vonglasow.com Content-Type: text/plain; charset=iso-8859-1; Format=flowed Ciao Tiziano, I think I recently came across something which may be of interest to you - though I haven't yet tried it myself: http://svn.openstreetmap.org/applications/rendering/subway/ This script creates a network sketch (a crude form of the London tube map) from OSM data. To make it a tube map, you'd need to move points around using a vector graphics editor, the raw output seems to be much like the example you sent. Hi Michael, thanks for pointing out to that python script. I inserted my osm file to the same dir where i put subway.py and run it, but got this error: D:\goeuropa\osmpython.exe subway.py Traceback (most recent call last): File subway.py, line 24, in module class grapher(saxutils.DefaultHandler): AttributeError: 'module' object has no attribute 'DefaultHandler' Any idea what could be wrong ? ___ Talk-transit mailing list Talk-transit@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-transit
[Talk-transit] Bus/Tram/Metro paths export
Hello, after doing so much work onto bus/tram relations in my city Padova, I'd like now to extract some geographically exact paths of single routes from OSM database, possibly in SVG format, and use them on a Padova-PT website I am going to build soon. Most of you are probably familiar with http://78.46.81.38/public_transport.html , and I can already obtain sketches of the routes, but my aim is to obtain something with this output: http://upload.wikimedia.org/wikipedia/commons/9/9b/Ligne_4.gif for just a single line like in the example, or also with more lines (selecting for example all evening lines, or all Sunday lines). In this case, for a simpler rendering of everything, the stops aside the way should be coupled together if they have the same name (as in OPNVKarte) and the corresponding dot should be part of the drawn route. I do not have extendend programming skills, therefore I don't know how to obtain it, can somebody help? Thanks Tiziano ___ Talk-transit mailing list Talk-transit@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-transit
Re: [Talk-transit] Bus/Tram/Metro paths export
Ciao Tiziano, I think I recently came across something which may be of interest to you - though I haven't yet tried it myself: http://svn.openstreetmap.org/applications/rendering/subway/ This script creates a network sketch (a crude form of the London tube map) from OSM data. To make it a tube map, you'd need to move points around using a vector graphics editor, the raw output seems to be much like the example you sent. Hope it helps Michael On 01/27/2011 11:31 AM, Tiziano D'Angelo wrote: Hello, after doing so much work onto bus/tram relations in my city Padova, I'd like now to extract some geographically exact paths of single routes from OSM database, possibly in SVG format, and use them on a Padova-PT website I am going to build soon. Most of you are probably familiar with http://78.46.81.38/public_transport.html , and I can already obtain sketches of the routes, but my aim is to obtain something with this output: http://upload.wikimedia.org/wikipedia/commons/9/9b/Ligne_4.gif for just a single line like in the example, or also with more lines (selecting for example all evening lines, or all Sunday lines). In this case, for a simpler rendering of everything, the stops aside the way should be coupled together if they have the same name (as in OPNVKarte) and the corresponding dot should be part of the drawn route. I do not have extendend programming skills, therefore I don't know how to obtain it, can somebody help? Thanks Tiziano ___ Talk-transit mailing list Talk-transit@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-transit ___ Talk-transit mailing list Talk-transit@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-transit