Hi!

1. Unary tests
--------------
The MapCSS 0.2 specification[1] says the following about unary tests:
  way[highway]       /* Matches against all ways with the highway tag set */
  way[!highway]      /* Matches against all ways with the highway tag not set 
(or set to no/false) */

Question: Wouldn't it be more logical if the first statement does not match
ways with the highway tag set to no or false?

2. Eval boolean type
--------------------
A boolean
  expression is considered "false" if it equals to "0", "no", "false" or ""
  (empty string); [2]

Question: Shouldn't the unary test (above) also consider "0" as false?

[1] http://wiki.openstreetmap.org/wiki/MapCSS/0.2#Tests
[2] http://wiki.openstreetmap.org/wiki/MapCSS/0.2/eval

greetings,
        Stephan
-- 
Seid unbequem, seid Sand, nicht Öl im Getriebe der Welt! - Günther Eich
,---------------------------------------------------------------------.
| Stephan Bösch-Plepelits,                                            |
| Technische Universität Wien   -    Studien Informatik & Raumplanung |
| Projects:                                                           |
| > openstreetbrowser.org > couchsurfing.org > tubasis.at > bl.mud.at |
| Contact:                                                            |
| > Mail: [email protected] > Blog: plepe.at                         |
| > Twitter: twitter.com/plepe > Jabber: [email protected]              |
`---------------------------------------------------------------------'

_______________________________________________
Mapcss mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/mapcss

Reply via email to