MapPoint Forums

MapForums

Community of MapPoint and Virtual Earth 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

Today's Posts Twitter Feed 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
Black Belt
 
Join Date: Feb 2004
Posts: 1,142
Blog Entries: 22
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
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
  #4 (permalink)  
Old 11-04-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,177
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 01:28 PM
How do you loop through the stops on a route? petemarkham MapPoint 2006/2009 Discussion 1 11-11-2003 11:06 AM
Connect Route Stops? swberman MapPoint 2006/2009 Discussion 1 01-11-2003 09:29 PM
I have been using MapPoint to sequence route stops.... Anonymous MapPoint 2006/2009 Discussion 1 02-04-2002 10:31 AM
We created a route of 700+ stops and optimized it..... Anonymous MapPoint 2006/2009 Discussion 1 09-07-2001 05:27 PM


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


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

Antalya Holiday
Check out the Antalya holiday options through UlookUbook and find amazing offers that suit your pocket...



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