[josm-dev] JOSM rendering improvements the last days - I'm guilty!
Dirk Stöcker
openstreetmap at dstoecker.de
Thu Jul 24 11:06:45 BST 2008
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 :-)
Ciao
--
http://www.dstoecker.eu/ (PGP key available)
More information about the josm-dev
mailing list