bradh / mapnik-utils

Automatically exported from code.google.com/p/mapnik-utils
0 stars 0 forks source link

Targeting multiple attributes #39

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Is there a means to target multiple attribute values in a single declaration?

something like...

.thisLayer[state=LA && population>1000] 
{
  do stuff
}

Original issue reported on code.google.com by cangece...@gmail.com on 15 Jul 2010 at 3:53

GoogleCodeExporter commented 9 years ago
They can be combined, like this to mean "and":

   .thisLayer[state=LA][population>1000] { ... }

...and like this to mean "or": 

   .thisLayer[state=LA], .thisLayer[population>1000] { ... }

Original comment by mike%sta...@gtempaccount.com on 15 Jul 2010 at 4:08

GoogleCodeExporter commented 9 years ago
Ah, perfect, thank you

Original comment by cangece...@gmail.com on 15 Jul 2010 at 5:17