Hi<div><br></div><div>I recently upgraded a mapserver 5.2 server to 5.6.6 and it has &quot;broken&quot; my abiltity to get legend icons WITHOUT labels and a specificied size</div><div><br></div><div>here is my legend block from my mapfile</div>
<div><br></div><div><div>LEGEND</div><div>    IMAGECOLOR 255 255 255</div><div>    KEYSIZE 20 10</div><div>    KEYSPACING 5 5</div><div>    LABEL</div><div>      SIZE MEDIUM</div><div>      TYPE BITMAP</div><div>      BUFFER 0</div>
<div>      COLOR 0 0 0</div><div>      FORCE FALSE</div><div>      MINDISTANCE -1</div><div>      MINFEATURESIZE -1</div><div>      OFFSET 0 0</div><div>      PARTIALS TRUE</div><div>    END</div><div>    POSITION LL</div>
<div>    STATUS OFF</div><div>  END</div></div><div><br></div><div><br></div><div>and here is my RULE for the layer</div><div><br></div><div><div> CLASS</div><div>      NAME &quot;AboveNet&quot;</div><div>      STYLE</div>
<div>        ANGLE 360</div><div>        COLOR 0 0 255</div><div>        OPACITY 100</div><div>        SYMBOL 0</div><div>        WIDTH 4</div><div>      END</div><div>    END</div></div><div><br></div><div> and here is my request</div>
<div><br></div><div>http://&lt;server&gt;/cgi-bin/mapserv?map=/home/fiberlocatormaps/mapfiles/fiberlocator.map&amp;LAYER=l_abovenet&amp;RULE=AboveNet&amp;SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetLegendGraphic&amp;FORMAT=image%2Fpng&amp;WIDTH=16&amp;HEIGHT=16</div>
<div><br></div><div><br></div><div>When I make this call on the new server, I ALWAY get back a legend graphic with a label. On the old server, i get back a nice 16x16 png. I have read in some place about ommiting the RULE in the request, but this didnt work for me. It still returns the label. If i remove the CLASS from the mapfile, it returns an &quot;empty&quot; image</div>
<div><br></div><div>My question is what changed and how do i go about fixing or rectifying the problem?</div><div><br>-- <br>Scott Stewart<br>Principal<br>NBT Solutions LLC<br>phone: (757)941-5110<br>email: <a href="mailto:scott.stewart@nbtsolutions.com">scott.stewart@nbtsolutions.com</a><br>
website:<a href="http://www.nbtsolutions.com">www.nbtsolutions.com</a><br>
</div>