[josm-dev] Combining mappaint styles

Dirk Stöcker openstreetmap at dstoecker.de
Thu Aug 28 21:09:08 BST 2008


Hello,

as there have been no comments, I did what I want.

So it is now implemented as follows:

a) in style files there is a new type <linemod>
b) this types parameters are equal to <line>. Only one additional type is
    mode. It may be "over" or "under". Width also supports "-x", "+x" and
    "x%" for specifications relative to main way.
c) The colour field now also supports an alpha channel (using a forth set
    of hex values).
d) All types also support parameter priority, which are used when multiple
    styles exists. For lines, nodes and areas the style with highest
    priority is used.
e) Overlays are not limited. Multiple styles may get used here.

I added one style for bridges and an highway/tram overlay style.
The ones of you with more graphical determination, please fix the design, 
so it looks better :-)

Ciao
-- 
http://www.dstoecker.eu/ (PGP key available)




More information about the josm-dev mailing list