[Potlatch-dev] MapCSS clarificiation
Andy Allan
gravitystorm at gmail.com
Fri Mar 11 13:04:38 GMT 2011
On Fri, Mar 11, 2011 at 12:41 PM, Serge Wroclawski <emacsen at gmail.com> wrote:
> I have a question about MapCSS.
>
> This may end up being moot, because the implementation may drive the
> standard,
There's multiple implementations, and some of them are much more
advanced than Halcyon is.
> way[highway=primary] .... color: red; ...
>
> way[name=Main Street] ... color: blue; ...
>
> Which rule would apply to the street?
Blue
> More importantly (since that queation can be tested), which is the right answer?
Rules are parsed in order and applied in order - it's the way that CSS
works too. Later rules can override ones set earlier.
Cheers,
Andy
More information about the Potlatch-dev
mailing list