[josm-dev] Combining mappaint styles

Ulf Lamping ulf.lamping at googlemail.com
Wed Aug 27 18:54:45 BST 2008


Dirk Stöcker schrieb:
> On Wed, 27 Aug 2008, Ulf Lamping wrote:
> 
>> I was thinking about the representation, and the best idea I got aware
>> of was to display the part of the way being a bridge (or tunnel) simply
>> a little bit (1/2px?) wider than the normally used width.
> 
> Don't think that is visible enough.

Ooops, I've meant 1 or 2 pixel, not 1/2px!

> 
>> My first thought was to use something like a specially dashed (dotted,
>> ...) way, but that would be hard to distinguish from other dashed stuff
>> (like tracks) and also probably hard to "visually get" for very short
>> bridges (tunnels).
> 
> What about alpha shaded lines? E.g. if you overlap a street with a 20% 
> black line for tunnel or 20% green for bridge or something like that.

At least on my laptop screen I guess I wouldn't see a big difference, as 
20% alpha shade won't be really well visually distinguishable!

> 
>> Obviously, I haven't tried this out, so the best would be to have a
>> prototype and have a look at it :-)
> 
> Well, the design of the XML and the implementation depends a lot on the 
> fact how to display it later.
> 

This prototype won't need any XML and no big implementation changes.

Why not just draw some of the possible solutions directly on the screen 
with the JAVA methods in question and have a look at the "visual 
results" to get a feeling what might work best.

Regards, ULFL




More information about the josm-dev mailing list