logo separator

[mkgmap-dev] Questions regarding routing

From Carlos Dávila cdavilam at orangecorreo.es on Fri Jun 7 21:27:45 BST 2013

El 07/06/13 21:45, GerdP escribió:
>
> Questions:
> 1) If a road with road_speed=4 has e.g. 10 points (= OSM nodes) , and the
> 3rd point has tag
> mkgmap:road-speed=-1 and the 8th point has tag mkgmap:road-speed=+1,
> what is the expected result?
> I would assume that the road is split into 3 parts, one containining points
> 1-3,
> one the points 3-8, and the last one the points 8-10.
> The 1st part would use the unchanged road_speed value 4, the 2nd part the
> the value 3 and the last part the value 5.
> (if this doesn't introduce any short arcs, else splitting makes no sense for
> these tags)
> Correct?
If I recall correctly, if a node is tagged with mkgmap:road-speed it 
affects the portion of the way from the node before to the tagged one to 
the node after it, so the above example will result in section 1-2: 
road-speed=4, section 2-4 r-s=3, section 4-7 r-s=4, section 7-9 r-s=5 
and section 9-10 r-s=4


More information about the mkgmap-dev mailing list