Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2013

    correct gps data to follow road trace

    Hello all,

    I have an GUI application make with Qt creator and QT mobility location api. My application catch GPRMC frames from a file text,
    print a circle point on each coordinates point and trace lines between points to print my run.

    My problem is that i would like to move gps coordinates to move it on the next road. It will allow me to stay in road traces.

    I tried using QGeorouting manager in order to calculate path between 2 points but if points are next instead of on the road,
    it calculates alternative traces with deviations and it's not what I want.

    I hope my explication is understandable...

    Someone have any ideas to doing that ?

    PS : sorry for my poor english

  2. #2
    Registered User
    Join Date
    Aug 2011

    Re: correct gps data to follow road trace

    If I unserstood you correctly you have pre-defined points A,B,C,etc and you would like to have you current location displayed on the track between them?

    If so, what you can do is find the closest track for the current point, to do that you can use the "Distance from a point to line" algorithm.
    Then when you know the closest line, calculate a point on the line that crosses with your point in a 90 degree angle, that should do it.

  3. #3
    Registered User
    Join Date
    Mar 2013

    Re: correct gps data to follow road trace

    I am ok, but I don't have the line coordinates. there is no class in Qt location wich provides the track data.

Similar Threads

  1. storing data in correct way..
    By dinesh547 in forum Symbian
    Replies: 14
    Last Post: 2011-07-21, 11:31
  2. Replies: 3
    Last Post: 2008-12-20, 18:00
  3. Replies: 2
    Last Post: 2008-09-03, 11:31
  4. Problem getting correct data on my Bluetooth application
    By lcw1982 in forum Mobile Java General
    Replies: 1
    Last Post: 2007-03-28, 14:21
  5. am i correct in encrypting the data
    By praveena in forum Symbian User Interface
    Replies: 1
    Last Post: 2005-10-03, 15:15

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts