[OSRM-talk] Debugging map

Daniel Patterson daniel at mapbox.com
Sat Mar 19 21:36:26 UTC 2016

Hi Frédéric,

    1) The speed shown on the map not the original value applied to the <way>, but rather it is the duration of the segment, divided by the length of the segment.  OSRM internally uses the duration, but the map is showing speed for convenience.  There might be a rounding error in there somewhere calculating the speed.  I've added some code to expose the duration value, which is precise, we'll add it to the map in the near future.

    2) Internally, edge-based-graph only has one node for each road between intersections, no matter how many small segments it has.  We need to store the small segments once, as they're necessary to draw the route line, but they do no really contribute a huge amount to memory footprint.  The ".geometry" and ".fileIndex" files both increase as new segments get added, but if the total number of intersections remains the same, other files will not grow.


> On Mar 19, 2016, at 1:18 PM, Frédéric Rodrigo <fred.rodrigo at gmail.com> wrote:
> Le 16/03/2016 23:08, Daniel Patterson a écrit :
>>> On Mar 16, 2016, at 3:03 PM, Frédéric Rodrigo <fred.rodrigo at gmail.com> wrote:
>>> I think there is an issues with blue and green in scale.
>> Ah, good catch, fixed!
> Still about the scale, I think the two orange colours beside the brown is very counterintuitive.
> I'm wondering why there small pieces of path with higher speed ? like this:
> http://map.project-osrm.org/debug/#18.34/44.83336/-0.59283
> http://map.project-osrm.org/debug/#19/44.83034/-0.58037
> http://map.project-osrm.org/debug/#18.67/44.85380/-0.57284
> One other thing about small segments. They appear particularly on roundabout, producing "dashed" roundabout. It may helps fighting again file and memory footprint if there are not splitted in numerous parts.
> http://map.project-osrm.org/debug/#19.34/44.84722/-0.69228
> http://map.project-osrm.org/debug/#17.86/44.90770/-0.70889
> Frédéric.
> _______________________________________________
> OSRM-talk mailing list
> OSRM-talk at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/osrm-talk

More information about the OSRM-talk mailing list