It seems like I've started to do something which is impossible. Can't move the png icons giving them an offset and while adding an up arrow (as a unicode char) next to the sign seems to work, adding a bicycle (as unicode character) doesn't. Probably because the font I'm using doesn't have that code point. Annoyingly, it's unlikely Unicode has characters for some of the icons which appear on those sub panels. A plug + cable going around a car, for example.
At Mapillary, they are developing a font which allows to assemble road signs. https://github.com/mapillary/traffico/blob/master/fontcustom.yml They call it a webfont, maybe it can't be used on the desktop? Jo 2015-02-17 17:49 GMT+01:00 Jo <winfi...@gmail.com>: > I can't seem to find how to displace those icons. There is often more than > 1 sign on a pole and there are panels to specify exceptions or for which > traffic the sign applies. I can put them in different layers. Maybe I have > to look for a solution using text. > > Jo > > 2015-02-17 17:20 GMT+01:00 Jo <winfi...@gmail.com>: > >> Hi Paul, >> >> Thank you, that worked! I don't think enabling the style makes a lot of >> sense if one doesn't install the plugin. Most people don't know those >> codes. They're specific to a small country and there are 180 of them. >> >> All png files together are 500k. Is it not a problem to include them >> twice? This is only for 1 country, what if the datasets become complete for >> several hundred countries? >> >> Is there a way in MapCSS to rotate the icon depending on >> http://wiki.openstreetmap.org/wiki/Key:direction? >> >> Jo >> >> 2015-02-17 11:42 GMT+01:00 Paul Hartmann <phaau...@gmail.com>: >> >>> On 17.02.2015 05:11, Jo wrote: >>> >>>> Hi, >>>> >>>> I'm trying to create a style to visualize road signs. >>>> >>>> All the icons are already in the roadsigns plugin. Is there a way to >>>> access >>>> them? I've been trying all kinds of variations, but all I'm getting is a >>>> white square. >>>> >>>> node|z15-[traffic_sign="BE:B1"] >>>> { >>>> icon-image: "/josm/plugins/roadsigns.jar/images/BE/BE_B1.png"; >>>> } >>>> >>> >>> This would be simply >>> >>> icon-image: "BE/BE_B1.png"; >>> >>> But if you plan to distribute the style, I would recommend to include >>> the images anyway. This way the style works regardless of the installed >>> plugins. >>> >>> Paul >>> >>> _______________________________________________ >>> josm-dev mailing list >>> josm-dev@openstreetmap.org >>> https://lists.openstreetmap.org/listinfo/josm-dev >>> >> >> > _______________________________________________ josm-dev mailing list josm-dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/josm-dev