[josm-dev] JOSM rendering improvements the last days - I'm guilty!

Ulf Lamping ulf.lamping at googlemail.com
Mon Aug 4 21:22:50 BST 2008


Dirk Stöcker schrieb:
> On Wed, 23 Jul 2008, Ulf Lamping wrote:
>
>   
>>>  a) Would it be useful to add a new key to condition?
>>>
>>>  You now do 3 times (yes, true, 1)
>>>          <condition k="oneway" v="yes"/>
>>>
>>>  I would suggest a
>>>          <condition k="oneway" b="yes"/>
>>>  where b (boolean) catches all boolean values.
>>>
>>>  Helpful? If yes, I would implement it.
>>>
>>>       
>> Sounds reasonable.
>>     
>
> Ok. Now two new options exist:
> a) replace k= by b= to make a boolean test (like also done e.g. in preset 
> tester and other places).
> b) remove k= and b= totally to test against existence of the key.
>
> I changed the first part of the styles/standard/elemstyles.xml to 
> introduce this new features, but left the remaining parts unmodified (I 
> don't want to break anything :-)
>
>   
a) You mean replace v by b, right? That would be the way to go IMHO.

b) You mean remove k and v totally, right? I don't like that thing, as 
the existance of the key and if it's yes, true, 1, ... is really a 
different thing.

Regards, ULFL





More information about the josm-dev mailing list