MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Failed to optimise waypoints

This is a discussion on Failed to optimise waypoints within the Development forums, part of the MapPoint 2006/2009 Discussion category; Hi, in a VB.Net program, I am adding several waypoints, and then doing a 'waypoints.optimize' and getting an error message ...


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

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



Click here to register

Reply

 

LinkBack (3) Thread Tools Display Modes
  3 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 11-15-2007
Junior Member
White Belt
 
Join Date: Nov 2007
Posts: 3
Failed to optimise waypoints

Hi,
in a VB.Net program, I am adding several waypoints, and then doing a 'waypoints.optimize' and getting an error message "Failed to optimise waypoints"

Using Mappoint, I can put the same postcodes into a spreadsheet, import them, and add them as stops, and then optimize and it works fine.

Anyone got any ideas please?

Thanks

Pete
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-15-2007
Junior Member
White Belt
 
Join Date: Nov 2007
Posts: 3
Re: Failed to optimise waypoints

Hi,
ok - I seem to have got a little bit further. I am trying to throw postcodes and optimise and calculate a route.

If I have a start point of BL34RX and an end point of BB12QS then everything is ok.

If I then add a stop of WN25DA it still appears to optimise, and I have 3 waypoints

?mproute.Waypoints(1).Type
geoWaypointStart {1}
?mproute.Waypoints(2).Type
geoWaypointStop {2}
?mproute.Waypoints(3).Type
geoWaypointEnd {3}

But my directions seem to miss out my stop...

09:00 Depart Start Point BL34RX
09:00 At Drop 1 at WN2 5DA, turn RIGHT (West) onto Beaumont Drive
09:00 Turn LEFT (South) onto Armadale Road
09:00 Turn RIGHT (West) onto Local road(s)
09:01 Turn LEFT (South) onto A58 [Beaumont Road]
09:03 Turn RIGHT (South-West) onto A58 [Wigan Road]
09:04 At roundabout, take the THIRD exit onto Ramp M61 / Preston / Chorley
09:04 Merge onto M61
09:15 At exit 9, keep LEFT onto Ramp M65 / Burnley / Blackburn / Preston South
09:16 At roundabout, take the FOURTH exit onto Ramp M65 / Burnley / Blackburn
09:17 Merge onto M65 ....
09:25 Turn LEFT (North) onto Local road(s)
09:25 Arrive End Point BB12QS


Any ideas what I am missing please?

Thanks

Pete
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-16-2007
Junior Member
White Belt
 
Join Date: Nov 2007
Posts: 3
Re: Failed to optimise waypoints

Sorted - my fault for supplying incorrect lat/long for stop

Thanks
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
failed, optimise, waypoints


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/failed-optimise-waypoints-6754.html

Posted By For Type Date
Programming with MapPoint 2004 using the .NET Framework - MapPoint Articles - MP2K Magazine This thread Refback 11-20-2007 04:39 AM
Excel User-Defined Functions and MapPoint - MapPoint Articles - MP2K Magazine This thread Refback 11-20-2007 04:39 AM
Apple Blog » Blog Archive » Failed to optimise waypoints This thread Pingback 11-15-2007 07:54 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
MapPoint Addin failed to load satrapu MapPoint 2006/2009 Discussion 0 11-03-2005 02:40 AM
Assertion failed error Radar MapPoint 2006/2009 Discussion 2 10-01-2005 04:35 AM
MapPoint failed to load... eltrigo MapPoint 2006/2009 Discussion 1 08-16-2005 02:27 PM
link to the Access DB failed Anonymous MapPoint 2006/2009 Discussion 0 11-16-2004 08:55 AM
Mappoint Failed to load error starbuck MapPoint 2006/2009 Discussion 5 11-08-2004 05:37 PM


All times are GMT -5. The time now is 03:18 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