<html>
<head>
<meta content="text/html; charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
See also [1] and the resources it links to, e.g. [2], [3]<br>
<br>
Regards,<br>
Dennis<br>
<br>
[1]
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-15">
<a
href="http://wiki.openstreetmap.org/wiki/Public_Transport#Service_routes">http://wiki.openstreetmap.org/wiki/Public_Transport#Service_routes</a><br>
[2]
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-15">
<a
href="http://www.nctr.usf.edu/2011/05/enabling-cost-effective-multimodal-trip-planners-through-open-transit-data-2/">http://www.nctr.usf.edu/2011/05/enabling-cost-effective-multimodal-trip-planners-through-open-transit-data-2/</a><br>
[3]
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-15">
<a href="https://github.com/openplans/OpenTripPlanner/wiki/">https://github.com/openplans/OpenTripPlanner/wiki/</a><br>
<br>
On 14.12.2011 15:59, Dennis Nienhüser wrote:
<blockquote cite="mid:4EE8B9DC.40007@gentoo.org" type="cite">Hi
Florian,
<br>
<br>
On 14.12.2011 15:33, Florian Eßer wrote:
<br>
<blockquote type="cite">Hi,
<br>
<br>
are there any plans for some kind of public transport routing
yet?
<br>
</blockquote>
<br>
I had some thoughts of it, but no concrete plans yet. Help is
appreciated, it will be very useful.
<br>
<br>
<blockquote type="cite">I guess it should be possible to somehow
hook up a Marble routing
<br>
request with the PublicTransport engine [1]. Like having routing
<br>
profiles for car, bicycle, pedestrian etc., there would be a
public
<br>
transport profile.
<br>
This would be especially interesting for Marble Touch.
<br>
</blockquote>
<br>
My feeling is that the public transport engine doesn't help too
much. But what about hooking it into an existing routing
algorithm? Especially monav should be interesting, because it has
a) awesome performance and b) readable code.
<br>
To implement public transport routing in monav, I'd try the
following:
<br>
- Make its OSMImporter read public transport ways and nodes
(unless it already does). I'm thinking of one train/bus line as a
way.
<br>
- Define a speed profile for it: Train like speeds for trains, bus
like for buses, etc. Possibly also include pedestrian ways for not
directly connected public transport nodes. Speeds for motorcar and
bike ways should be 0.
<br>
- Let monav do the rest, should work pretty much unchanged
<br>
- Driving instructions need slightly adjusted wording, but with a
train/bus line being represented by a way, should be mostly
unchanged. Changing the train is then changing a way, i.e.
generates an instruction.
<br>
<br>
<blockquote type="cite">
<br>
Given a user's route request from A to B, possible steps of
<br>
implementation would be:
<br>
<br>
* just return a very simple route from $nearest_station_to_A to
<br>
$nearest_station_to_B via $transfer_station (simple straight
lines) and
<br>
output the stations and transfers as "turn by turn"
instructions.
<br>
<br>
* if that is working: refine the route by adding coordinates of
all
<br>
stop-overs, getting a more polygon-like route. (If you know the
map view
<br>
at reiseauskunft.bahn.de, you probably get what I mean...)
<br>
Fetch station coordinates from OSM.
<br>
<br>
* Pedestrian routing from A to $nearest_station_to_A, same for B
<br>
<br>
* Extract actual bus/train driving route from OSM relations?
<br>
(like ÖPNV-Karte / openbusmap.org)
<br>
<br>
(Long-term dream usecase:
<br>
I'm in a city at point A and want to get to point B. A quick
routing
<br>
request tells me that I can either:
<br>
a) wait 12 minutes for the next bus, or
<br>
b) walk all the way with my average walking speed, taking 10
minutes
<br>
longer, but without having to stand around and wait, or
<br>
c) run a short distance to reach another station still in time
to catch
<br>
a delayed tram ;-) )
<br>
</blockquote>
<br>
Yes, multi-modal routing will be interesting for the future just
as calculating the route that needs least energy (e.g. for
motorcar routing taking curves, slopes, expected traffic density
into account).
<br>
<br>
<blockquote type="cite">If there is no one working at such a
feature yet, I would like to invest
<br>
some time into it...
<br>
</blockquote>
<br>
Sure, much appreciated!
<br>
<br>
Regards,
<br>
Dennis
<br>
<br>
<br>
<blockquote type="cite">Cheers
<br>
Florian
<br>
<br>
[1]
<a class="moz-txt-link-freetext" href="https://projects.kde.org/projects/playground/base/publictransport">https://projects.kde.org/projects/playground/base/publictransport</a>
<br>
_______________________________________________
<br>
Marble-devel mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Marble-devel@kde.org">Marble-devel@kde.org</a>
<br>
<a class="moz-txt-link-freetext" href="https://mail.kde.org/mailman/listinfo/marble-devel">https://mail.kde.org/mailman/listinfo/marble-devel</a>
<br>
<br>
</blockquote>
<br>
_______________________________________________
<br>
Marble-devel mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Marble-devel@kde.org">Marble-devel@kde.org</a>
<br>
<a class="moz-txt-link-freetext" href="https://mail.kde.org/mailman/listinfo/marble-devel">https://mail.kde.org/mailman/listinfo/marble-devel</a>
<br>
<br>
</blockquote>
<br>
</body>
</html>