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

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

This is a discussion on I am developing a VB application which calculates .... within the MapPoint Desktop 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 ...

  1. #1
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    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

  2. #2
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    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.


  3. #3
    Walt Cygan is offline 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

Thread Information

Users Browsing this Thread

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

Similar Threads

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