Community of VE/MapPoint Users and Developers
This is a discussion on Maybe an easy question for you guys... within the MapPoint 2006/2009 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... ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Maybe an easy question for you guys... Thanks |
| ||||
|
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
__________________ John http://www.support-pc.com Order MapPoint 2006 Here https://secure.mp2kmag.com/?refer=support-PC |
| |||
|
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. |
| ||||
|
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
__________________ |
![]() |
| Tags |
| easy, guys, question |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Newbie Question: Should be easy, but???? | terrykrueger | MapPoint 2006/2009 Discussion | 2 | 04-05-2006 04:29 PM |
| [VB6] : Easy question (I think ;-) ) | Vincent BENNER | MapPoint 2006/2009 Discussion | 0 | 06-03-2003 06:02 AM |
| I hope this one is easy | cenwesi | MapPoint 2006/2009 Discussion | 2 | 12-04-2002 07:37 PM |
| Is there an easy way for me to just display the 48.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 06-12-2002 05:08 PM |
| How to get the most practical and easy directions .... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 11-06-2001 10:14 AM |