MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Work with multiple routes on same map.

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 ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack (5) Thread Tools Display Modes
  5 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 11-22-2006
Member
Yellow Belt
 
Join Date: Dec 2004
Posts: 41
Work with multiple routes on same map.

Is there a way to dim routes like

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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 11-22-2006
Winwaed's Avatar
Mapping-Tools.com
Red Belt
 
Join Date: Feb 2004
Posts: 916
Blog Entries: 11
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 11-22-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,123
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 11-22-2006
Member
Yellow Belt
 
Join Date: Dec 2004
Posts: 41
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).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
map, multiple, routes, work


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/work-multiple-routes-same-map-5381.html

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -5. The time now is 01:40 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55