Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 4 of 4

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, ...

  1. #1
    Gizz is offline 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.

  2. #2
    Anonymous is offline 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

  3. #3
    Gizz is offline 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 ???

  4. #4
    nringdahl is offline 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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


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 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96