Community of VE/MapPoint Users and Developers
This is a discussion on Work with multiple routes on same map. within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Is there a way to dim routes like dim objroute(80) as Mappoint.Route then set objroute(1) as active route create a ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Work with multiple routes on same map. dim objroute(80) as Mappoint.Route then set objroute(1) as active route create a route set objroute(0) as active route set actriveroute.clear map.activeroute = obroute(1) and bring the old route back. I am alternately displaying several vehicles, each with their own route. When I go to a new vehicle, I clear the position dataset and build a new one. I want to pull the route information from memory rather than a saved map file becuase of how long it takes to load. Does anyone have any ideas? |
| ||||
| Re: Work with multiple routes on same map.
Quick answer: No! The ability to plot multiple routes is a common request, and shouldn't be too difficult for Microsoft to implement if they wanted to, in a future version... (multi-route optimization is a harder task and is probably best left to the higher priced tools and add-ins such as TourSolver). You could try drawing the routes as polylines. A number of us have tried this and it is difficult - the Location objects that MapPoint provides are not necessarily on the route! Instead, they are intended for a "best view" of a route segment or direction. Richard
__________________ Winwaed Software Technology LLC http://www.winwaed.com See http://www.mapping-tools.com for MapPoint Tools See the Geoweb Guru for online mapping |
| |||
| Re: Work with multiple routes on same map.
Richard there was someone who had build something with multiple routes / tours. Cannot find the url. He posted url to his web there where some screenshots. Also he was planning to bring this as open software later. At some point my memory tell me it was around a year ago, but all the rest is a black hole
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
| Re: Work with multiple routes on same map.
For the most part the routes contain just 1 point, which is the current destination for a particular vehicle. I think that instead of storing the route I will store each destination locations in an array indexed by the vehicle record number. I will copy the destination location after drawing the map. Then I will clear the dataset and the route. When I switch to a new vehicle, I create new dataset and a new route. When I switch back to vehicle(1) I will add the location "destloc(1)" to the current active route, set the anchor at the vehicles current location, and calculate. That process is faster than loading a map from disk, setting the new anchor and calculating. I will just add a line to drop the location "destloc(1) when I delete the route from the map of vehicle(1). |
![]() |
| Tags |
| map, multiple, routes, work |
| ||||
| Posted By | For | Type | Date | |
| Virtual Earth Video - MapPoint News - MP2K Magazine | This thread | Refback | 11-26-2006 08:00 PM | |
| MapPoint Articles - MP2K Magazine | This thread | Refback | 11-24-2006 05:46 AM | |
| Formatting coordinates with DmsFormat, linking to weather data, three new utilities - MP2K Update Archives - MP2K Magazine | This thread | Refback | 11-23-2006 12:05 PM | |
| Microsoft MapPoint 2006 - MP2K Magazine | This thread | Refback | 11-23-2006 12:05 PM | |
| Merging Multiple Routes - MapPoint Articles - MP2K Magazine | This thread | Refback | 11-22-2006 05:20 AM | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help with multiple routes | madrover | MapPoint 2006/2009 Discussion | 3 | 07-30-2006 11:46 AM |
| Multiple Routes | wadams | MapPoint 2006/2009 Discussion | 0 | 11-17-2005 10:28 AM |
| Multiple Routes in one map | johnweidauer | MapPoint 2006/2009 Discussion | 2 | 06-06-2005 04:21 AM |
| Multiple routes | Anonymous | MapPoint 2006/2009 Discussion | 2 | 03-23-2005 02:11 PM |
| Multiple Routes on 1 Map | Anonymous | MapPoint 2006/2009 Discussion | 0 | 09-10-2003 10:45 PM |