2010/7/13 Sebastian Spaeth <[email protected]>:
> Hi all, this is my current z16 rendering (4096x4096 png) and I kind of
> like it: http://sspaeth.de/uploads/tmp/map16.png
>
> So far so good. Now, I get to the difficult stuff. E.g. when I have
> bridge=yes I need to at "1" to the z-index. (or add tag layer if it
> exists). My best bet is eval() so I need to start implementing that now
> :-).
In kothic, I do a render pass for every layer=. So, for good-looking
bridges you need to just set layer=1 in osm data ;)
> This is the example:
> { opacity: eval('population/100000'); }
>
> 1) How do we know that population is a tag name and not some string? Do we
> need something like "tag(population)" or "value(population)" to make
> clear what we want?
eval() synthax is described in
http://wiki.openstreetmap.org/wiki/MapCSS/0.2/eval
those examples are left from mapcss0.1.
--
Komяpa aka Darafei Praliaskouski
xmpp:[email protected] mailto:[email protected]
_______________________________________________
Mapcss mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/mapcss