Kumar,<br><br><div><span class="gmail_quote">On 9/21/05, <b class="gmail_sendername">Kumar</b> &lt;<a href="mailto:kumar@newfields.com">kumar@newfields.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have 2 layers, one is a polygon layer and the other is a centroid of the<br>polygon. When I draw the polygon layer and label it, it overlaps the<br>centroid symbol and blocks it. Is there a way in mapfile, that I can specify
<br>the centroid layer to be drawn on top of the label. Or make it detect the<br>layer and move the label accordingly??.</blockquote><div><br>
The default behavior is to cache all the labels and draw them on top
after all layers are rendered.&nbsp; You can use LABELCACHE OFF to draw
the labels with the layer so that any layers after it are drawn on top:<br>
<br>
from the docs:<br>
-------------------<br>
<span class="term">LABELCACHE [on|off]</span>
<dl>
<dd><p>Specifies
whether labels should be drawn as the features for this layer are
drawn, or whether they should be cached and drawn after all layers have
been drawn. Default is on. Label overlap removal, auto placement etc...
are only available when the label cache is active.</p></dd>
</dl>
<br>
&nbsp;Of course that last line about no overlap removal might make the results kind of messy but it's worth a shot.<br>
</div></div><br>-- <br>Matt Perry<br><a href="mailto:perrygeo@gmail.com">perrygeo@gmail.com</a><br><a href="http://www.perrygeo.net">http://www.perrygeo.net</a>