[Potlatch-dev] working with range attribute selector

Komяpa me at komzpa.net
Wed Nov 2 16:57:36 GMT 2011


> way[cable=optic][total_fibres=<4] {width: 2;}
> way[cable=optic][total_fibres=<23] {width: 3;}
> way[cable=optic][total_fibres=<46] {width: 4;}
> way[cable=optic][total_fibres=<92] {width: 5;}
> But the problem is that i can only make it display two widths, apparently 2
> and 3. If i specify total_fibres=44, for example, it doesn't work/changes.
> What am i doing wrong?

The sign is called "less or equal" and is spelled "<=", if I remember correctly.


-- 
Darafei "Komяpa" Praliaskouski
OSM BY Team - http://openstreetmap.by/
xmpp:me at komzpa.net mailto:me at komzpa.net



More information about the Potlatch-dev mailing list