×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Apr 2010
    Posts
    32

    How to detect deviation from route?

    Hi all, I'm developing a project for Area Monitoring, where I have to detect a person deviating from a route (pre defined). I donno how this can be done, I have searched the Wiki and came up with a Qt code to do this, but it requires the lat/lon coordinates for each certain distance in the route, say for 100 meters.

    I've asked about this in Google maps forums and DiBos, but didn't get enough answer. Has anyone implemented this, if yes then please help me to do this.

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: How to detect deviation from route?

    I suppose you could calculate the distance from the known points of the route, and see that you are not too far from the route, but I think you should also check the direction the user is moving and seeing that it matches the next routepoint.

  3. #3
    Registered User
    Join Date
    Apr 2010
    Posts
    32

    Re: How to detect deviation from route?

    Thanks for the reply, I knew that method to detect deviation but I have asked for a method to get the the points(coordinates) on the route.. If I could extract the points on the route for every 100 or 200 meters I can easily detect deviation with the Areamonitor class in QMobility. But getting such points along the line is unknown for me..

    I expect some other useful answers too..

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: How to detect deviation from route?

    Which API are you using for getting the route ? and what kind of data are you getting for separate route segments ?

  5. #5
    Registered User
    Join Date
    Apr 2010
    Posts
    32

    Re: How to detect deviation from route?

    I have successfully found the solution for this using Google maps API (JavaScript) and a third party JavaScript called EPoly.

  6. #6
    Registered User
    Join Date
    Jun 2011
    Location
    San Francisco, CA
    Posts
    1

    Re: How to detect deviation from route?

    Where did you find this Epoly? I haven't heard of it but am hoping it will help me find out whether or not my drivers are wasting extra gas by deviating from their routes by locating their company phones. Also, I'd like to be able to put an updatable map that shows my customers where the truck coming to them is on the route right on my site East Bay Area Hauling. Any Suggestions?
    Last edited by symbianyucca; 2011-08-04 at 05:38. Reason: removed Url, not necessary, and can be qualified as an advertisement
    "--------------
    My Site: http://www.firehousehauling.com – East Bay Area Hauling"

  7. #7
    Registered User
    Join Date
    Apr 2010
    Posts
    32

    Re: How to detect deviation from route?

    Hi jerry, here is the link to that page.. http://econym.org.uk/gmap/epoly.htm

Similar Threads

  1. how to detect hold/resume from other side
    By alxster in forum Symbian
    Replies: 11
    Last Post: 2010-03-17, 16:33
  2. How to detect event from Navi Wheel?
    By Mozart2007 in forum Symbian
    Replies: 5
    Last Post: 2008-12-19, 14:15
  3. Replies: 1
    Last Post: 2008-04-03, 07:05
  4. route and record route on 3rd edition
    By jcaradec in forum Symbian Networking & Messaging (Closed)
    Replies: 3
    Last Post: 2007-04-16, 19:07
  5. Record-Route and Route at SIP
    By mhappenhofer in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2005-11-30, 09:22

Posting Permissions

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