MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




retrieving directions in a route with stops

This is a discussion on retrieving directions in a route with stops within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I'm developmenting an aplication with the european version and vb. I try to export directions from a route and always ...


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 Thread Tools Display Modes
  #1 (permalink)  
Old 02-26-2003
Junior Member
White Belt
 
Join Date: Feb 2003
Posts: 2
retrieving directions in a route with stops

I'm developmenting an aplication with the european version and vb.
I try to export directions from a route and always go fine when there isn't stops.
If there's some stop the directions only are fine until the first stop

here is the code:

Dim dt As MapPointCtl.Direction
For Each dt In FrmMain.MappointControl1.ActiveMap.ActiveRoute.Dir ections
FrmMain.MappointControl1.ActiveMap.AddPushpin(dt.L ocation, dt.StartTime).BalloonState = geoDisplayBalloon
next


Thanks to all
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-03-2006
Junior Member
White Belt
 
Join Date: Sep 2006
Posts: 9
Re: retrieving directions in a route with stops

Couso, did you ever find the answer to this? Did you ever make your program?

I'm trying to see if there is an add-in out there, so that I can export a route and then import the data into a Sat Nav system.
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-04-2006
Winwaed's Avatar
Mapping-Tools.com
Red Belt
 
Join Date: Feb 2004
Posts: 899
Blog Entries: 10
Re: retrieving directions in a route with stops

The directions are listed per waypoint. So, to get all the directions, you need to:

Loop over all waypoints
Loop over all directions for this waypoint



Richard
__________________
Winwaed Software Technology LLC
http://www.winwaed.com
See http://www.mapping-tools.com for MapPoint Tools
Pre-Order MapPoint 2009 today: http://www.mapping-tools.com/mappoint2009
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-04-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,122
Re: retrieving directions in a route with stops

Hi

you can use somethign like: foreach (Direction direction in route.Directions) to get all enumerations. Save them to a DataTable and save it to a CSV file for import in another application. I have something like that in my MapPoint coding demo.
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
directions, retrieving, route, stops


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
Route Optimizing with 2 identical stops cwrude MapPoint 2006/2009 Discussion 0 01-19-2005 02:28 PM
How do you loop through the stops on a route? petemarkham MapPoint 2006/2009 Discussion 1 11-11-2003 12:06 PM
Connect Route Stops? swberman MapPoint 2006/2009 Discussion 1 01-11-2003 10:29 PM
I have been using MapPoint to sequence route stops.... Anonymous MapPoint 2006/2009 Discussion 1 02-04-2002 11:31 AM
We created a route of 700+ stops and optimized it..... Anonymous MapPoint 2006/2009 Discussion 1 09-07-2001 06:27 PM


All times are GMT -5. The time now is 09:51 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, 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