PDA

View Full Version : Pedestrian routes ?



noreli
11-18-2006, 06:17 AM
I want to calculate pedestrian routes (without taking in consideration the sens of the road).
Is there any solution using MapPoint COM API to solve this problem ?

Thanks if you have the solution, I read the MapPoint in .NET book which gave me serious intend to use MapPoint. But I need pedestrian route...

Eric Frost
11-18-2006, 08:39 AM
MapPoint will not do pedestrian routing unfortunately, in some cases as I remember there are dotted lines for major trails, but unless cars and vehicles travel on the route then it will not do routing on the trail..

Also, you cannot turn off MapPoint's consideration of one-way streets, i.e. whereas a pedestrian doesn't care if a street is one way, MapPoint will only route one direction on a one way street.

good luck finding something that will work, how big of an area do you need to cover? Would it be possible to set up your own routing network and use a general mapping/routing/gis tool like Manifold?

Eric

noreli
11-19-2006, 02:58 PM
In fact, I found a programming solution during my last sleep :

1rst step : I build a matrice of all drive distances from waypoint to waypoint in both direction. I keep the shortest.

2nd step : I process all combination possible between all waypoints to make a whole route and I keep the shortest.

I can optimize the second step with a hashcode grid based on X,Y so that I compute only waypoint that are in short square. With this algorithm, I also have to find a route between squares.

I didn't do the algorithm yet, but I'm almost sure it will work.

Eric Frost
11-19-2006, 03:55 PM
Wow, congratulations, let us know. - Eric