Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-620 Location API
  3. QTMOBILITY-658

Add a method to QGeoCoordinate which takes an offset and returns another QGeoCoordinate

    XMLWordPrintable

    Details

    • Type: Change Request
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Fix Version/s: 1.2.0
    • Component/s: Location

      Description

      We currently expose methods which calculate the distance / azimuth (along a great circle) between two QGeoCoordinate instances.
      We've been asked to add a method something like
      QGeoCoordinate QGeoCoordinate::atBearing(qreal distance, qreal bearing)
      and possibly something like
      QGeoCoordinate QGeoCoordinate::atDistance(qreal distanceEast, qreal distanceNorth)

      The second of these functions could be problematic since the order in which the distances are added will effect the final result. Furthermore, the second function can easily be implemented in terms of the first function, which would force the users to add the distances in an order appropriate to them. I'll update the change request if/when more interest is shown in the second function.

      Several users are interested in the first method, which can be added with low technical risk.

        Attachments

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

          Activity

            People

            Assignee:
            dalaing David Laing (closed Nokia identity) (Inactive)
            Reporter:
            minshin Minjung Shin (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2 days
                2d
                Remaining:
                Remaining Estimate - 2 days
                2d
                Logged:
                Time Spent - Not Specified
                Not Specified

                  Gerrit Reviews

                  There are no open Gerrit changes