[Talk-transit] routing on osm using public transport ?

Barbeau, Sean barbeau at cutr.usf.edu
Fri Nov 4 14:06:48 GMT 2011


Qlex,
For 1), I'd suggest you check out OpenTripPlanner, which has a multimodal routing engine that includes transit:
http://www.opentripplanner.org

OTP requires GTFS data for transit, so this would be needed to create routes for public transportation.  It has a RESTful API that you can query once you get an instance running:
http://www.opentripplanner.org/apidoc/

You might also want to check out GO-Sync (http://code.google.com/p/gtfs-osm-sync/), which is an open-source desktop app our group developed to help synchronize GTFS data with OSM.  This tool is currently mainly for bus stops, though, and not the relations for routes on OSM streets.  We've stayed away from trying to automatically sync route relations on roads since as you say this is complex and requires significant manual inspection to ensure the data is coded correctly.  Relations for bus stops and their memberships in routes, though, is handled in GO-Sync.

GO-Sync is an open-source project so feel free to use the code if you'd like as a starting point for adding route relations with roads, if this is something you'd like to tackle.

Sean

Sean J. Barbeau, M.S. Comp.Sci.
Research Associate
Center for Urban Transportation Research 
University of South Florida 
4202 E. Fowler Avenue, CUT100 | Tampa, FL 33620-5375 
813.974.7208 2D barcode | 813.974.5168 (fax) | barbeau at cutr.usf.edu

USF Location-Aware Information Systems Lab - http://www.locationaware.usf.edu/

-----Original Message-----
From: talk-transit-request at openstreetmap.org [mailto:talk-transit-request at openstreetmap.org] 
Sent: Friday, November 04, 2011 8:01 AM
To: talk-transit at openstreetmap.org
Subject: Talk-transit Digest, Vol 34, Issue 1

Send Talk-transit mailing list submissions to
	talk-transit at openstreetmap.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.openstreetmap.org/listinfo/talk-transit
or, via email, send a message with subject or body 'help' to
	talk-transit-request at openstreetmap.org

You can reach the person managing the list at
	talk-transit-owner at openstreetmap.org

When replying, please edit your Subject line so it is more specific than "Re: Contents of Talk-transit digest..."


Today's Topics:

   1. routing on osm using public transport ? (Wojciech Kulesza)


----------------------------------------------------------------------

Message: 1
Date: Thu, 3 Nov 2011 21:07:05 +0100
From: Wojciech Kulesza <wkulesza at gmail.com>
To: talk-transit at openstreetmap.org
Subject: [Talk-transit] routing on osm using public transport ?
Message-ID:
	<CAB9LHzEPjAXKMWSqYhtXpWvS+s0nBJw3h8Gyx6xqGnM=OoS5ZA at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi,
we're aiming at creating shapes of various bus routes. For this purpose, we use various osm routing engines (including cloudmade) to draw the paths that buses use.
Due to limitation that such routing is using car for calculations, we're finding it hard to overcome a difficulty of how to route in places that are for public transport only, as bus stations etc.
Good example is this station:
http://www.openstreetmap.org/?lat=52.409641&lon=16.955182&zoom=18&layers=M

I tried to add a key psv=yes or perhaps should we use access=designated cloudmade only updates their data once a week so it is of crucial importance to find out what's the best approach.

Several questions that i find important:
1) is there a router with API that would allow public transport as mode of transport ?
2) how should places like bus station be tagged in order to allow car as mode of transport i noticed that once station has access=no bus=yes and then routing request provides an answer with routing starting from nearest available "normal"
street. other settings provide no result.

Do you have any suggestions on what's the best approach ?
Manual creation of route relations has disadvantages, due to frequent changes that result from construction and other changes. therefore, we would be then able to create a possibly-open source software to allow better and quicker updates of route relations (coming from stops location and automatic creation of shapes from osm routing).

Any comments most welcome. Maybe we could discuss this on osm irc channel as well.

Regards,
Qlex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-transit/attachments/20111103/40214d91/attachment-0001.html>

------------------------------

_______________________________________________
Talk-transit mailing list
Talk-transit at openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-transit


End of Talk-transit Digest, Vol 34, Issue 1
*******************************************



More information about the Talk-transit mailing list