Opened 5 years ago
Last modified 5 years ago
#20004 new defect
Most of the icons only rendered with access: but not with vehicle: — at Version 2
| Reported by: | gaben | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | External mappaint style | Version: | |
| Keywords: | Cc: | imagic |
Description (last modified by )
Lanes and Road Attributes mappaint style
I found that if you create access restrictions on ways, the icons rendered with access:forward, but not with vehicle:forward.
It's a problem because the restrictions usually come from traffic signs which apply only vehicles, making usage of access: wrong (in most cases).
Example:
bicycle:forward=yes|no hgv:forward=yes|yes highway=residential lanes:backward=1 lanes:forward=2 lanes=3 taxi:forward=yes|no vehicle:forward=no|no /* change this to access:forward to get icons */
Solution
Handle vehicle: similarly as access: when dealing with icons.
Change History (2)
comment:1 by , 5 years ago
comment:2 by , 5 years ago
| Description: | modified (diff) |
|---|
Note:
See TracTickets
for help on using tickets.



There are problems with the transport mode icons and the access definitions, e.g. below does show a warning and the rendering of both the access strips and the bus icon is not right.
:lanesto all transport mode access tags.access:lanes[:forward/backward]and than allow certain modes again, e.g. you could work around it. Additionally, it was proposed beforevehiclegot popular. Do I need to add[motor_]vehicleto the Lanes preset?[motor_]vehicle=*is not rendered by the internal style. So I would start there to introduce the rendering ofvehicle=*