logo separator

[mkgmap-dev] routing errors on temporarily closed roads

From Minko ligfietser at online.nl on Tue Jul 20 09:16:23 BST 2010

Hi,

In the default styles, mkgmap has some routing problems with roads that are temporarily closed with the tag "access=no" For instance, this problem can occur on cycleways which are closed to all traffic (bicycles as well) because of road reconstructions. In the default style the handling is

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

If someone is adding the tag access=no on osm to mark this way temporarily closed, mkgmap ignores this rule because it gives all cycleways by default a tag bicycle=yes (which allows bicycle routing on this street, even access=no). Maybe its better to check first if there is already a tag access=no, and if so, set bicycle=no?

Something like this?

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




More information about the mkgmap-dev mailing list