Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

 Subscribe to receive our newsletter. Subscribe Unsubscribe

## Maybe an easy question for you guys...

This is a discussion on Maybe an easy question for you guys... within the MapPoint Desktop Discussion forums, part of the Map Forums category; Ok i will rephrase the question another way... I can read GPS info and plot my lat/long on the screen... ...

1. Junior Member White Belt
Join Date
Dec 2002
Posts
10

## Maybe an easy question for you guys...

Ok i will rephrase the question another way... I can read GPS info and plot my lat/long on the screen... at the same time i have entered the waypoints for DESTINATION and STARTING point. I have called the Calculate function and it has mapped & drawn the route. Now my problem is this...once the car starts moving and i go off track, is there a function or a way i can detect this and then re-calculate from this point ???

Thanks

2. Junior Member White Belt
Join Date
Dec 2002
Posts
10
ok, its being viewed 22+ times and still no respond. I am sure there is a way to do this....

3. What about writing a function that gets the road/street that your GPS says you on on and compare it to your route. If the road you on on does not match any of the roads in your directions, re-calculate the route. Since your GPS might not have you plotted right on a road (maybe off the road by a few feet) check out this article which has a function to get the nearest address.

http://www.mp2kmag.com/articles.asp?ArticleID=50

Reverse Geocoding, Pt. III by Walt Cygan

4. Junior Member White Belt
Join Date
Dec 2002
Posts
10
I get what you are trying to say but the problem really is with the ROUTE. All you can get from that object is the Directionsm,turns,distance, and few other things. If i try to access the LOCATION object within the ROUTE, it is NULL (empty). If i could get that then i should be able to solve the problem. Maybe you or anyone can tell me how to get the address from the ROUTE object.

Thanks.

5. I would try first getting the coordinates of the line out (see if this helps: http://www.mp2kmag.com/articles.asp?...ultiple.routes) then as the pushpins moves do the mathematical calculations to see if the vehicle has say deviated more than a fifth of a mile off the route..

Good luck,
Eric

6. Junior Member White Belt
Join Date
Dec 2002
Posts
10
Hmmm i still dont get it. :evil:

##### Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

#### Posting Permissions

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