I love this idea<br>Maybe the ability to give a feature priority level of &#39;label avoidance&#39;<br>So features like Contours (that may cover a map) can be given a low priority,<br>but features like main roads and points of interest might be given a high priority so they are always visible.<br>
<br>(I did play with rendering some of these items after the label cache, but that just meant the labels where now covered by the feature)<br><br>This sounds like a lot of work, but I don&#39;t know??<br><br clear="all">Matt  :)<br>
<br clear="all"><br><div class="gmail_quote">On Fri, Mar 23, 2012 at 1:16 PM, Brent Fraser <span dir="ltr">&lt;<a href="mailto:bfraser@geoanalytic.com">bfraser@geoanalytic.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Steve,<br>
<br>
 I wonder if it would be possible/economical to extend the label cache to have some kind of feature density &quot;map&quot;/weighted mask to help in determining a preferred label location...<br>
<br>
Best Regards,<br>
Brent Fraser<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On 3/22/2012 6:19 PM, Stephen Woodbridge wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 3/22/2012 8:09 PM, Matt McClelland wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi All<br>
<br>
Is there a way in mapserver (6.0) to prevent labels appearing over a map<br>
feature?<br>
<br>
I have a highway and I want to prevent labels (town and other names from<br>
other layers) sitting over the highway.<br>
I guess something like Buffer in labels.<br>
</blockquote>
<br>
No, when you go to process a label it knows nothing about what features have been rendered. I guess in theory you could add all the features to the label cache. I guessing that to do this you would need some keyword at the LAYER level to indicate that these features need to be added to the label cache, but nothing exists today that would do this.<br>

<br>
You might want to open a ticket for an enhancement and paste the cotent of your message and my response above into it.<br>
<br>
-Steve W<br>
______________________________<u></u>_________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.<u></u>org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/mapserver-<u></u>users</a><br>
<br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.<u></u>org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/mapserver-<u></u>users</a><br>
</div></div></blockquote></div><br>