logo separator

[mkgmap-dev] access=no on a cycleway doesn't work?

From Toby Speight T.M.Speight.90 at cantab.net on Mon Nov 23 18:16:45 GMT 2009

I've had a look at assigning access values and now have the following at
the head of my lines file:

/--------
| # Don't route over unsuitable roads
| smoothness=horrible | smoothness=very_horrible | smoothness=impassable
|     { set motorcar=no; set hgv=no; set bicycle=no; }
| smoothness=very_bad
|     { set motorcar=no; set hgv=no; }
| 
| # Highway access rules
| highway=bridleway {add access = no; add bicycle = yes; add horse=yes; add foot = yes}
| highway=cycleway {add access = no; add bicycle = yes; add foot = yes}
| highway=footway {add access = no; add foot = yes}
| highway=motorway {add oneway = yes; add bicycle = no; add horse=no; add foot = no }
| highway=motorway_link {add bicycle = no; add horse=no; add foot = no }
| highway=path {add access = no; add bicycle = yes; add foot = yes}
| highway=track {add access = no; add bicycle = yes; add horse=yes; add foot = yes}
| highway=pedestrian & area!=yes {add access = no; add foot = yes}
| highway=steps {add access = no; add foot = yes}
| 
| bicycle=dismount { set bicycle = 'yes'; set maxspeed = '5' }
| 
| # General access rules
| access=* { add foot='${access}'; add horse='${access}'; add vehicle='${access}'; }
| vehicle=* { add bicycle='${vehicle}'; add motor_vehicle='${vehicle}'; }
| motor_vehicle=* { add motorcycle='${motor_vehicle}'; add motorcar='${motor_vehicle}';
|                   add psv='${motor_vehicle}'; add hgv='${motor_vehicle}'; add goods='${motor_vehicle}';
|                   add taxi='${motor_vehicle}'; }
\--------

Should this be added to the default style?  If so, could a volunteer
please commit it?  Thanks.



More information about the mkgmap-dev mailing list