Mappoint Get Position Start Segments Route

83stef
10-12-2007, 06:08 AM
Hi,
Sorry for bad english i m newbite under MAPPOINT.

I want to find get position start (longitude, latitude) of each segments of route calculate.

my code VB after "route.calculate" :

"For ID_Etape = 1 to objRoute.directions.count
Set MyMap.location=objRoute.directions.item(ID_Etape). location
MyMap.Location.Select
Long=objRoute.Directions.Item(ID_Etape).Location.l ongitude
Lat=objRoute.Directions.Item(ID_Etape).Location.la titude
next ID_Etape"

But the positions results (Long,Lat) are in the middle of the segments ???

Helps... :?:confused:
Thanks you
Stef

Mattys Consulting
10-12-2007, 12:00 PM
Hi Stef,

The best anyone has come up with is to put a rest stop every minute and
get the location there. It is still inaccurate.

Mike Mattys

83stef
10-13-2007, 12:01 AM
:(
Thanks Mike

jasanite
10-15-2007, 02:09 AM
Segments + reststop ... why every minute

you got the time for every segment, build some array
with the timesegments you need, add a reststop for
the time segments an then you should have quite exact
long/lat ...

(never tried those reststops nor know what they do)

ok, you have to calc 2 times ...

 
Web mp2kmag.com
mapforums.com