[OSRM-talk] Debugging map
daniel at mapbox.com
Sat Mar 19 21:36:26 UTC 2016
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:
> 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.
> OSRM-talk mailing list
> OSRM-talk at openstreetmap.org
More information about the OSRM-talk