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) _______________________________________________ josm-dev mailing list [EMAIL PROTECTED] http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/josm-dev