MapPoint Forums

MapForums

Community of MapPoint and Bing Maps Users and Developers




Generate intermediate waypoints from a route - how?

This is a discussion on Generate intermediate waypoints from a route - how? within the Bing Maps and MapPoint Web Service forums, part of the Map Forums category; I have an app that uses MP Web Service. I get a route from two post codes, no problems. But, ...


Go Back   MapPoint Forums > Map Forums > Bing Maps and MapPoint Web Service

Today's Posts Twitter Feed Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-19-2005
Junior Member
White Belt
 
Join Date: Jan 2005
Posts: 4
Generate intermediate waypoints from a route - how?

I have an app that uses MP Web Service.
I get a route from two post codes, no problems.
But, how do I work back from that route to a series of say, 30, LatLong points so that I can back-fill a test database with a bunch of sensible points?
This is for vehicle tracking test data.
Many thanks all.
Gizz.
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 03-07-2005
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,137
Getting route for more than 2 points

hi

You can very well use a latlong array with the number of latlongs required.

(i.e)myWaypoints(80)

then assign latlong to each waypoint . Then execute as it is.

You will get the result

Regards
finny
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 03-07-2005
Junior Member
White Belt
 
Join Date: Jan 2005
Posts: 4
No, I mean given just two known waypoints (start and end), how to get MapPoint to generate an array of points on the route, either as LatLong[] or Waypoint[], where this generated array is an arbitratry length ???
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 07-09-2007
Junior Member
Yellow Belt
 
Join Date: Jan 2004
Posts: 16
Re: Generate intermediate waypoints from a route - how?

You can use the returned Segments, and their respective Directions object. Then you will get the LatLongs for each turn in the Route. With that you will get a fairly good representation of the route.

Good luck!
- Niklas
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
generate, intermediate, route, waypoints


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 On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Delete Numerator from waypoints when i draw a route Genamo MapPoint Desktop Discussion 0 02-23-2006 03:18 AM
Generate a Route Automatically from Access SQL Data Anonymous MapPoint Desktop Discussion 1 03-01-2005 01:25 PM
How to hide waypoints in a route? Anonymous MapPoint Desktop Discussion 1 08-06-2004 08:46 AM
add two waypoints and calculate route with Delphi jmiller55 MapPoint Desktop Discussion 4 06-24-2003 02:08 PM
Converting a route to waypoints Anonymous MapPoint Desktop Discussion 3 06-04-2003 12:27 PM


All times are GMT -5. The time now is 04:54 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.5.0 RC3
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 56 57 58 59 60 61 62 63 64 65 66 67 68 69