logo separator

[mkgmap-dev] Support for motor_vehicle=*

From Chris66 chris66nrw at gmx.de on Mon Oct 10 21:43:25 BST 2011

Am 10.10.2011 20:23, schrieb Colin Smale:

> Having browsed through the source and the style files I could find no 
> reference to the motor_vehicle tag, which surprised me a bit... Anyway I 
> fixed it for me by adding a single instruction to the "lines" file:
> 
> # add support for motor_vehicle
> highway=* & motor_vehicle!=yes
>      {add access='${motor_vehicle}'; add foot=yes; add bicycle=yes; add 
> mofa=yes; add moped=yes; add horse=yes}

In my style I use a similar but more simple rule:

highway=* & vehicle=*        {add motorcar='${vehicle}'}
highway=* & motor_vehicle=*  {add motorcar='${motor_vehicle}'}

Yes, I know this is not 100% correct, because bicycles are also
vehicles.

Chris




More information about the mkgmap-dev mailing list