[Mapcss] Filter proposal

Komяpa me at komzpa.net
Wed Jul 7 08:52:06 BST 2010


Hi,
> Often, I want to specify "aliases" so that landuse=park and
> landuse=garden render the same. Right now, I can do that

0) Let me quote openstreetinfo.mapcss:

way[natural=forest], way[natural=wood],
way[landuse=forest], way[landuse=wood]
    {fill-color: #68ec80; color: #45a56b}

I don't really think that [landuse=forest|wood] syntax is required.
1) you can't match tags with pipe char in value using that,
2) all tricky syntax proposals make writing parsers hell for
newcomers. We want world domination for mapcss don't we? ;)


-- 
Komяpa aka Darafei Praliaskouski
http://osm.komzpa.net xmpp:me at komzpa.net mailto:me at komzpa.net




More information about the Mapcss mailing list