MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




I am developing a VB application which calculates ....

This is a discussion on I am developing a VB application which calculates .... within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I am developing a VB application which calculates a route. If I know the current lat / long of a ...


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

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 04-04-2002
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
I am developing a VB application which calculates a route.

If I know the current lat / long of a vehicle can I find the following

1. Has the vehicle left the route?
2. If on the route, what segment of the route is the vehicle currently on?

Thanks
Stew
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 04-04-2002
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
It is easy to find out how far from the route a location is

objRoute.DistanceTo( objLoc )

If anyone knows how to do the 2nd part I would like to know.

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 04-04-2002
Senior Member
Green Belt
 
Join Date: Aug 2002
Posts: 124
This would be very difficult to do programmatically. From the location associated with each segment on the route you can get the lat/lon of the center of the segment, but there is no simple way that I know of to determine whether any arbitrary lat/lon is within a speficied distance of the route.

- Walt Cygan
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
application, calculates, developing


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
I am developing an application using Mappoint web .... Anonymous MapPoint 2006/2009 Discussion 0 08-02-2002 08:11 AM
I am developing a web based application in asp. I .... Anonymous MapPoint 2006/2009 Discussion 3 06-06-2002 06:47 AM
I'm developing an application in VFP that uses the.... Anonymous MapPoint 2006/2009 Discussion 2 12-11-2001 06:56 AM
I am developing a VB application using the Mapponi.... Anonymous MapPoint 2006/2009 Discussion 1 11-07-2001 02:47 PM
I am developing an application, which as part, use.... Anonymous MapPoint 2006/2009 Discussion 1 10-25-2001 08:25 AM


All times are GMT -5. The time now is 07:34 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