GSoC/GCI Archive
Google Code-in 2013 KDE

Show journey duration for other routing backends of Marble

completed by: Mikhail Ivchenko

mentors: Torsten Rahn, Dennis Nienhüser

Marble is a virtual globe and world atlas — your Swiss army knife for maps. Find your way and explore the world!

Note: You can only claim this task after this task is finished.

Next to the distance of a route the estimated time it takes to reach the destination is an interesting information. Some of the routing backends Marble uses provide this information, but it is not extracted by Marble so far. In this task the estimated journey duration should be extracted from the CycleStreets, Monav and MapQuest backends in the same fashion as done for other backends.

  • Use the convenience methods in RoutingRunner to avoid code duplication
    • CycleStreetsRunner.cpp: Extract the value from the XML reply in the  wfs:FeatureCollection/gml:featureMember/cs:route/cs:time field. The value is in seconds.
    • MonavRunner.cpp: Extract the value from reply.seconds in MonavRunner.cpp. Note that you need to install the monav-routing-daemon package in your system and that you need to install a suitable offline map in the Monav config widget in Marble in order for Monav routing to work.
    • MapQuestRunner.cpp: Extract the value from the XML reply in the /response/route/time field. The value is in seconds.

Helpful links: