[OSRM-talk] Distance Matrix / Distance vs. Time

Florian Lohoff f at zz.de
Tue Sep 23 12:51:17 UTC 2014


Hi,
i had a quick look at the Distance Matrix stuff (especially the patches
in #1162 - many to one)

For my purposes i only need real distances not travel times. I have prepared
my OSRM by weighting all tarmac roads the same because i dont want
"fastest" but "shortest" route. I only use tracks/footways as very last resort
so i have a speed diff of something like 10:1 for tarmac roads to footways/tracks.

The problem i am trying to solve is that i have locations and distances and i
am trying to find the target e.g. the one. I know its on the road network.

I can limit the position of the target to be within a certain radius e.g. 1-2km
around the vertex hull of the 50-200 locations (approx spread 1-5km). My idea
to solve this now was to try many-to-one matrices for different positions i am
preparing beforehand and thus finding the local optimum e.h. minimum delta
between calculated distances in the matrix and known distances.

It seems though that the matrix calculation only dumps the travel times which
doesnt help me.

Is this a infrastructural problem that the way the calculation works there is
no way to dump distances or is it just a design decision taken?

Flo
-- 
Florian Lohoff                                                 f at zz.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.openstreetmap.org/pipermail/osrm-talk/attachments/20140923/e97bda11/attachment.sig>


More information about the OSRM-talk mailing list