logo separator

[mkgmap-dev] routing errors on temporarily closed roads

From Minko ligfietser at online.nl on Tue Jul 20 13:27:42 BST 2010

Marko wrote:
> I believe you would need something like this, so that you get to see the 
> temporarily closed ways on the map:
>
> highway=cycleway & (access!=no | access!=*) {add access = no; add bicycle = yes; add foot = yes}
> highway=cycleway & access=no [0x16 road_class=0 road_speed=1 resolution 23]
>
> Can you please test this? If it is OK, I am happy to commit it.


access!=no is already covered by access!=* 
And what if highway=cycleway and access=private? Then the road is not shown....


Maybe this should rather be:

highway=cycleway & access!=* {add access = no; add bicycle = yes; add foot = yes} [0x16 road_class=0 road_speed=1 resolution 23]


I tested this with
highway=cycleway & access!=no {add access = no; add bicycle = yes; add foot = yes} [0x16 road_class=0 road_speed=1 resolution 23]


Then the routing works fine. Foot=yes should be maintained, at least in NL's walking is allowed on cycleways.



More information about the mkgmap-dev mailing list