Summary: | Pedestrian/cycle routing does not work | ||
---|---|---|---|
Product: | [Applications] marble | Reporter: | Tomas Straupis <tomasstraupis> |
Component: | general | Assignee: | marble-bugs |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | nienhueser |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | 1.0 (KDE 4.6) | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Tomas Straupis
2011-05-22 19:31:40 UTC
Marble version 1.1.0 Currently we don't provide offline maps for bike and pedestrian routing. Only the OpenRouteService backend works out of the box, but it is limited to Europe. Make sure Marble is not set to Offline mode when using it. Did you try to create routes in Europe? I got results from OpenRouteService for both bike and pedestrian routing in Latvia some minutes ago. Sometimes their server is down however and doesn't provide results. That's another possible error source. One way to test for that (only an indicator, not always right) is to try their website directly (openrouteservice.org) and see if that returns results. I was doing online routing in Lithuania and then in London. Today I've tried with English language switched on and pedestrian/cycle routing did work. So apparently that is a problem of lithuanian translation, some keywords which are sent to routing services are translated?... Maybe I've translated "too much"... will try to guess what I should "untranslate" (any help would be appreciated). Running LANG=lt_LT.UTF-8;marble makes pedestrian/cycle routing stop working... Good catch, thanks for tracking it down. The OpenRouteService backend is indeed localized, though it has a fallback to use english if the localized request does not work. Sounds like either that does not fully work or there is a regression. I'll look into it in more detail in the next days. I looked into it and found the source of the problem: While refactoring the routing code to become plugin based in Marble 1.0, the support to detect the missing localization support in OpenRouteService (which is returned in an error message) was lost. I'll work on a fix, i.e. parse the error message, detect localization errors and then request a route with english locale in that case. The problem is not translation requested, the localization strings are determined automatically, yet OpenRouteService only supports an (unknown) subset of all languages. If you're interested to add the missing translation to OpenRouteService (just a handful of strings), please take a look at http://wiki.openstreetmap.org/wiki/OpenRouteService/Instructions for details. Thanks :) Thank you. I've added lithuanian translation: http://wiki.openstreetmap.org/wiki/OpenRouteService/Instructions/lt_LT Should be working now, just tested with Marble from KDE 4.8.4. |