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

Approximation error in QGeoCoordinate::toString()

    XMLWordPrintable

Details

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

    Description

      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.

       

      Attachments

        1. Coords.zip
          1 kB
        2. Degrees.jpg
          Degrees.jpg
          355 kB

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes