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
Results 1 to 4 of 4

Work with multiple routes on same map.

This is a discussion on Work with multiple routes on same map. within the MapPoint Desktop 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 ...

  1. #1
    PMACAFEE is offline 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?

  2. #2
    Winwaed's Avatar
    Winwaed is offline Mapping-Tools.com Black Belt
    Join Date
    Feb 2004
    Location
    Irving,Texas
    Posts
    1,859
    Blog Entries
    60

    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

  3. #3
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433

    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

  4. #4
    PMACAFEE is offline 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).

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Help with multiple routes
    By madrover in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 07-30-2006, 11:46 AM
  2. Multiple Routes
    By wadams in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 11-17-2005, 10:28 AM
  3. Multiple Routes in one map
    By johnweidauer in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 06-06-2005, 04:21 AM
  4. Multiple routes
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 03-23-2005, 02:11 PM
  5. Multiple Routes on 1 Map
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 09-10-2003, 10:45 PM

Tags for this Thread

Posting Permissions

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


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 56 57 58 59 60 61 62 63 64 65 66