[josm-dev] icons for MapCSS for RoadSigns

Jo winfixit at gmail.com
Tue Feb 17 16:49:18 UTC 2015


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 <winfixit at 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 <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