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

Approximation error in QGeoCoordinate::toString()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.15
    • Positioning
    • None
    • Windows

      Coordinate conversion from QGeoCoordinate to QString made by QGeoCoordinate::toString() has an approximation problem when QGeoCoordinate::DegreesMinutes is selected as format.

      If latitude or longitude increases within a range the corresponding values formatted as QString may decreases.

      The attached example shows the problem. I tried it with Qt 5.15.0 on Windows 10.

       

        1. Coords.zip
          1 kB
        2. Degrees.jpg
          Degrees.jpg
          355 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            ablasche Alex Blasche
            elvisthepelvis Alvise Bendandi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes