View Full Version : Route Planning

11-10-2005, 04:58 PM
My question regarding route deviation was as follows.

Suppose the user creates a route using MapPoint control. What our app needs to do is to associate a truck (and its location) to the route and then be able to detect whether the truck has gone off path. From the MapPoint's control perspective, all we need to have is an interface that our app would call with a route id and a current location to check whether this location is on the route. We're not experts at MapPoint, but we can assume that since it supports GPS based routing, then it should probably support standard navigation features like route deviation detection

11-11-2005, 03:38 AM

Route deviation detection is not so standard as you might think. I think the most easy you can do is make a polygon that encapsulates the route, and calculate if it is in it.