[josm-dev] icons for MapCSS for RoadSigns

Jo winfixit at gmail.com
Tue Feb 17 16:20:27 UTC 2015

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


2015-02-17 11:42 GMT+01:00 Paul Hartmann <phaaurlt at 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 at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/josm-dev

More information about the josm-dev mailing list