Hello All,<br><br>&nbsp; I&#39;m using Mapserver 5.2 and Openlayers 2.6 as my map interface.&nbsp; When called using Openlayers, Mapserver renders two LabelItems when the layer to be labels is of type &quot;polygon&quot;.&nbsp; I&#39;ve sort of fixed this issue by including PROCESSING &quot;LABEL_NO_CLIP=1&quot; in the Layer definition.<br>
<br>&nbsp; So, for the most part, it works OK.&nbsp; But on some generated maps, I still see one Layer that still renders two Labels.<br><br>&nbsp; I then noticed that if I tweaked the OpenLayers &quot;minScale&quot; value when defining a new map (see below), I could get suppression of the second label.<br>
<br>&nbsp;&nbsp; var map = new OpenLayers.Map( &#39;map&#39;, {controls: [], maxExtent: bounds, restrictedExtent: bounds, projection:&quot;none&quot;, minScale: 10000, units: &quot;m&quot; } );&nbsp; // change the minScale to 15 to suppress the 2nd label<br>
<br>&nbsp; I would like to remove the minScale variable from the Openlayers map definition, but that pesky second LabelItem keeps coming back.<br><br>&nbsp; Has anyone seen/fixed this problem?&nbsp; Should I create a bug ticket.&nbsp; FYI - I am cross-posting to the OpenLayers listserve to see if anyone there has experienced this problem.<br>
<br>&nbsp; Here is my Layer definition I&#39;ve been working with:<br><br>&nbsp; LAYER<br>&nbsp;&nbsp;&nbsp; NAME CR01<br>&nbsp;&nbsp;&nbsp; STATUS OFF<br>&nbsp;&nbsp;&nbsp; DATA cr.shp<br>&nbsp;&nbsp;&nbsp; TYPE POLYGON<br>&nbsp;&nbsp;&nbsp; CLASSITEM &quot;FIPS_ADMIN&quot;<br>&nbsp;&nbsp;&nbsp; LABELITEM &quot;ADMIN_NAME&quot;<br>
&nbsp;&nbsp;&nbsp; PROCESSING &quot;LABEL_NO_CLIP=1&quot;<br>&nbsp;&nbsp;&nbsp; CLASS<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAME &quot;FIPS_ADMIN&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EXPRESSION &quot;CR01&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 226 166 166 # E2A6A6<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OUTLINECOLOR 32 32 32<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LABEL<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 0 0 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TYPE TRUETYPE<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FONT verdana<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE 10<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ANTIALIAS TRUE<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; POSITION AUTO<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PARTIALS FALSE<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MINDISTANCE 300<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BUFFER 4<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END # end of label<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>&nbsp; END<br><br><br>Thanks!<br><br>Karl Suiter<br><br><br>