Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-33849

OSM plugin routing coordinates are wrong by factor of 10

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • None
    • 5.2.0 Alpha
    • None
    • all (OSM)
    • I3996963aa2206c379946ca7aafb15f0104d0fd8a

      It appears that the data provided by the back-end (http://router.project-osrm.org/) has changed, resulting in lat/long coords reported from qgeoroutereplyosm.cpp::parsePolyline() that are too big by a factor of 10. Changing the divisor of 1e5 to 1e6 on lines 76 and 78 seems to fix the issue.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            albols Albin Olsson
            jehrismann Jim Ehrismann
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes