logo separator

[mkgmap-dev] problem with highway=cycleway in default style

From Ben Konrath ben at bagu.org on Tue Jul 5 11:51:37 BST 2011

HI Felix,

On Tue, Jul 5, 2011 at 12:37 PM, Felix Hartmann <extremecarver at gmail.com> wrote:
[snip]
> highway=cycleway {add motor_vehicle = no; set bicycle = yes; add foot
> = yes} [0x16 road_class=0 road_speed=1 resolution 23]
>
> That wouldn't change anything. 0x16 is routable by motorcars too. Add is
> correct, as in some places people seem to think that cycleways are usable
> for cars (for short distances and so on). Else use set access=no; set
> bicycle=yes; add foot=yes.

According to the OSM tag rules, if a cycleway is allowed to used by
cars, the motor_vehicle should be set to yes in which case the 'add
motor_vehicle = no' wouldn't do anything which is correct.

Let me try to clarify things a bit. The OSM data separates who's
allowed to access a given way and what type of traffic is allowed on a
given way. I think that mkgmap should properly support this. The
garmin format may not support these distinctions in which case we'll
need to tweak the style file to combine them as best as we can. There
are problems with the way that is currently being done in the default
style of mkgmap.

By the way, 'set bicycle = yes' is actually wrong in the patch that I
attached because it could overwrite other information in the bicycle
tag. I've attached a corrected patch which keeps the 'add bicycle =
yes'.

Cheers, Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mkgmap-fix-cycleway-v2.patch
Type: text/x-patch
Size: 790 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20110705/7a79946a/attachment.bin 


More information about the mkgmap-dev mailing list