MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Calculate distance from a point to a route

This is a discussion on Calculate distance from a point to a route within the MapPoint 2006/2009 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?...


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

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  7 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 11-01-2007
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?
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-02-2007
Winwaed's Avatar
Mapping-Tools.com
Red Belt
 
Join Date: Feb 2004
Posts: 776
Blog Entries: 4
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
Pre-Order MapPoint 2009 today: http://www.mapping-tools.com/mappoint2009
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-05-2007
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.
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


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/calculate-distance-point-route-6671.html

Posted By For Type Date
Apple Blog » Blog Archive » Calculate distance from a point to a route This thread Pingback 11-05-2007 04:57 PM
Create 3D Map Video - Win a Free Zune from Microsoft - MapPoint News - MP2K Magazine This thread Refback 11-05-2007 06:49 AM
Merging Multiple Routes - MapPoint Articles - MP2K Magazine This thread Refback 11-04-2007 04:15 PM
Programming MapPoint via .NET - MapPoint Articles - MP2K Magazine This thread Refback 11-02-2007 07:37 AM
Determing Whether A Point Is Located Inside Polygon - MapPoint Articles - MP2K Magazine This thread Refback 11-02-2007 07:28 AM
MapPoint Download - MP2K Magazine This thread Refback 11-01-2007 01:53 PM
Using MapPoint from Word, Access and Excel - MapPoint Articles - MP2K Magazine This thread Refback 11-01-2007 09:33 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
How to calculate distance between location and route ? tontaegu MapPoint 2006/2009 Discussion 1 10-19-2005 01:14 PM
how to calculate de starting and finished point on a route hidroela MapPoint 2006/2009 Discussion 5 02-06-2005 04:30 PM
How to calculate distance between 2 location with vba ifc MapPoint 2006/2009 Discussion 1 02-25-2004 08:01 AM
How do I calculate a route distance without displaying route spideybud MapPoint 2006/2009 Discussion 4 09-09-2003 10:14 AM
how can I calculate the distance between two moving point Anonymous MapPoint 2006/2009 Discussion 1 04-30-2003 09:09 AM


All times are GMT -5. The time now is 02:03 AM.


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

France Ski Holidays
When you want to book France ski holidays, make sure you check out our travel guide. Holiday Hypermarket brings you the latest great deals.

Personal Travel Advisor
Let a personal Travel Advisor help with your travel plans. Travel Counsellors were voted UK's Best Travel Agent at the Guardian Unlimited travel awards

Holiday Jamaica
What springs to mind when you hear the word Jamaica? Bob Marley and Rum? Think again. Book a low cost holiday in Jamaica to explore this island for yourself.

Holidays to Bahamas
Choose from a number of extraordinary holidays to the Bahamas at The Holiday Place. See pictures of these beautiful islands online.

Spain
Spain is such a diverse country that it has something to offer most holidaymakers. Finding delicious cuisine is no challenge and the shopping ranges from designer boutiques to unknown flea markets. Spain has much to offer.

Compare holiday prices
Compare holiday prices online where you can see all the possibilities at Travel.co.uk

Cheap Goa Holidays
Experience the world famous Wednesday Flea Market at Anjuna! Book cheap Goa holidays at On The Beach!


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