MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Generate intermediate waypoints from a route - how?

This is a discussion on Generate intermediate waypoints from a route - how? within the MapPoint Web Service and Virtual Earth 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 > MapPoint Web Service and Virtual Earth

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 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,138
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 2006/2009 Discussion 0 02-23-2006 04:18 AM
Generate a Route Automatically from Access SQL Data Anonymous MapPoint 2006/2009 Discussion 1 03-01-2005 02:25 PM
How to hide waypoints in a route? Anonymous MapPoint 2006/2009 Discussion 1 08-06-2004 09:46 AM
add two waypoints and calculate route with Delphi jmiller55 MapPoint 2006/2009 Discussion 4 06-24-2003 03:08 PM
Converting a route to waypoints Anonymous MapPoint 2006/2009 Discussion 3 06-04-2003 01:27 PM


All times are GMT -5. The time now is 12:38 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 55