Unfortunately the layers don't seem to be supported in Potlatch yet. I guess my alternative is to do something like this:<div><br></div><div><div>node[FCode=73002][Status=GAZ] { icon-image: usgs/school_GAZ.png; }</div>
<div>node[FCode=73002][Status=EDIT] { icon-image: usgs/school_EDIT.png; }</div><div>node[FCode=73002][Status=QC1] { icon-image: usgs/school_QC1.png; }</div><div><br></div><div>And build the background into the PNG image.</div>
<div><br></div><div>Thanks,</div><div>-Eric</div><div><br clear="all">-=--=---=----=----=---=--=-=--=---=----=---=--=-=-<br>Eric B. Wolf                           720-334-7734<br><br><br><br>
<br><br><div class="gmail_quote">On Tue, Nov 29, 2011 at 5:13 PM, Thomas Davie <span dir="ltr"><<a href="mailto:tom.davie@gmail.com">tom.davie@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 29 Nov 2011, at 23:32, Eric Wolf wrote:<br>
<br>
> Prior to Potlatch 2.3, I was able to use z-index to display a node with an icon based on one tag and a background based on another tag. For instance:<br>
><br>
>   node[FCode=73002] { icon-image: usgs/school.png; z-index: 20; }<br>
>   node[Status=GAZ]{ icon-image: usgs/red28.png; z-index: 19; }<br>
>   node[Status=EDIT]{ icon-image: usgs/yellow28.png; z-index: 19; }<br>
>   node[Status=QC1] { icon-image: usgs/green28.png; z-index: 19; }<br>
><br>
> Would yield my school.png icon with either a red, yellow or green "halo" depending on the value of the "Status" tag.<br>
<br>
</div>As far as my understanding of MapCSS goes this sounds like a bug in earlier versions of Potlatch – the way this should work is that the later icon-image should overrule the earlier one, as should the later z-index.<br>

<br>
> Any hints or suggestions?<br>
<br>
I'm not sure that Potlatch supports this, because it's a MapCSS extension, but some renderers support layer identifiers.  This allows you to extend the selector by specifying a "layer" after selecting the node, your above example would look something like this:<br>

<br>
  node[FCode=73002]::School { icon-image: usgs/school.png; z-index: 20; }<br>
  node[Status=GAZ]::Background { icon-image: usgs/red28.png; z-index: 19; }<br>
  node[Status=EDIT]::Background { icon-image: usgs/yellow28.png; z-index: 19; }<br>
  node[Status=QC1]::Background  { icon-image: usgs/green28.png; z-index: 19; }<br>
<br>
Thanks<br>
<br>
Tom Davie<br>
_______________________________________________<br>
Mapcss mailing list<br>
<a href="mailto:Mapcss@openstreetmap.org">Mapcss@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/mapcss" target="_blank">http://lists.openstreetmap.org/listinfo/mapcss</a><br>
</blockquote></div><br></div></div>