On Thu, Feb 24, 2011 at 10:23 PM, Sebastian Klein
<[email protected]> wrote:
> At the same time, it should be possible to _modify_ the rules from the base
> style. (That's what the "cascading" css is all about, right.) E.g. in the
> last example (more POI symbols) it doesn't make sense to have 2 symbols of
> different size, overlapping each other. You either replace the symbol or
> keep the old.

Ah, ok. So the base style defines a certain look for, say
"cycleway=lane", defining a "/lane" subpart, like:

way[cycleway=lane]/bikelane { casing-color: blue; ... }

A user could come along and say the bike lanes should be red...

way/bikelane { casing-color: red; }

That raises the question whether the syntax should distinguish between
defining a subpart, and merely referring to one.

Are there other use cases? It does still seem a bit of an uncommon case here.

Steve

_______________________________________________
Mapcss mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/mapcss

Reply via email to