[josm-dev] icons for MapCSS for RoadSigns

Marc Gemis marc.gemis at gmail.com
Wed Feb 18 09:36:19 UTC 2015


BTW, the Dutch community uses the same technique as the Finnish.

On Wed, Feb 18, 2015 at 10:31 AM, Jo <winfixit at gmail.com> wrote:

> They cheated! lol.
>
> It occurred to me yesterday, one could create icons for the subsigns with
> the displacement/offset included, if MapCSS doesn't support it. That's
> exactly what they did. Now we're tallking about 15MB instead of 1.5MB... In
> my case it would probably blow up the size to 5MB.
>
> The other change they made, is to do away with the , and ; notation and
> have 1 tag per sign/panel
>
> traffic_sign
> traffic_sign:2
> traffic_sign:3
> traffic_sign:4
>
> That's not how the RoadSigns plugin spucks them out and it explains why
> there is no Finnish dataset for the RoadSigns plugin. Instead they created
> a preset. I guess they added buttons on the toolbar for the ones they use
> really often. But that RoadSigns plugin is really handy to add the signs.
>
>
>
> Jo
>
> 2015-02-17 23:26 GMT+01:00 Paul Hartmann <phaaurlt at gmail.com>:
>
> > On 17.02.2015 17:20, Jo wrote:
> >
> >> 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?
> >>
> >
> > In my opinion it is better to have it foolproof. 500kB it not too much
> and
> > I would worry about the hundreds of countries when we get there.
> >
> > The RoadSigns plugin grows at a rate of about one new country preset per
> > year. I have the feeling that the global bandwidth increases faster. :)
> >
> >  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?
> >>
> >
> > I don't think you can use this as is. It seems to be a collection of svg
> > icons that can be stacked with HTML and CSS.
> >
> > The Finnish community has managed what you are trying to do [1]. Their
> > style is probably partially generated by a script. If you end up with
> some
> > code, please create a project as part of the JOSM organization on github
> (
> > https://github.com/josm).
> >
> > [1] http://wiki.openstreetmap.org/wiki/Finland:Traffic_signs
> >
> >
> > Paul
> >
> > _______________________________________________
> > josm-dev mailing list
> > josm-dev at openstreetmap.org
> > https://lists.openstreetmap.org/listinfo/josm-dev
> >
> _______________________________________________
> josm-dev mailing list
> josm-dev at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/josm-dev
>


More information about the josm-dev mailing list