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 3 of 3

Calculate distance from a point to a route

This is a discussion on Calculate distance from a point to a route within the MapPoint Desktop Discussion forums, part of the Map Forums category; I cannot find a proper method to calculate the distance from a point(lat/long) to a Route object. Any suggestions?...

  1. #1
    zflavia is offline Junior Member White Belt
    Join Date
    Nov 2007
    Posts
    2

    Calculate distance from a point to a route

    I cannot find a proper method to calculate the distance from a point(lat/long) to a Route object. Any suggestions?

  2. #2
    Winwaed's Avatar
    Winwaed is offline Mapping-Tools.com Black Belt
    Join Date
    Feb 2004
    Location
    Irving,Texas
    Posts
    1,859
    Blog Entries
    60

    Re: Calculate distance from a point to a route

    Well, which bit of the route?

    You will need to loop over the route. The waypoints are all available for distance measuring.
    The directions also have location objects but these are intended to be "ideal viewpoints" - ie. there's no guarantee that they are actually on the route.

    If your route can be recalculated as a shortest route, then adding frequent rest stops may be useful. You can then measure the distance to each of the rest stops.

    Richard
    Winwaed Software Technology LLC
    http://www.winwaed.com
    See http://www.mapping-tools.com for MapPoint Tools

  3. #3
    zflavia is offline Junior Member White Belt
    Join Date
    Nov 2007
    Posts
    2

    Re: Calculate distance from a point to a route

    Thanks, I needed to check if a car follows a route.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to calculate distance between location and route ?
    By tontaegu in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 10-19-2005, 01:14 PM
  2. how to calculate de starting and finished point on a route
    By hidroela in forum MapPoint Desktop Discussion
    Replies: 5
    Last Post: 02-06-2005, 04:30 PM
  3. How to calculate distance between 2 location with vba
    By ifc in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 02-25-2004, 08:01 AM
  4. How do I calculate a route distance without displaying route
    By spideybud in forum MapPoint Desktop Discussion
    Replies: 4
    Last Post: 09-09-2003, 10:14 AM
  5. how can I calculate the distance between two moving point
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 04-30-2003, 09:09 AM

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