[mapserver-users] Wrong/different legend generation

Dejan Gambin dejan.gambin at coin.hr
Thu Feb 20 00:20:04 PST 2014


Hi,

I am using GetLegendGraphic request for generating legends in my OL application. Everything was fine in previous MapServer version 6.0.3. The request like this:

http://my.site.com/cgi-bin/mywms6?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&FORMAT=image/png&LAYER=my_layer

returned an image like in attached image1.png. The same request in 6.4.1 returned an image like in attached image2.png. The legend part of mapfile is:

LEGEND
  OUTLINECOLOR 194 194 194 
  KEYSIZE 25 18
  KEYSPACING 8 5
  LABEL
    COLOR 255 0 0
    FONT Arial
    SIZE 8
    TYPE truetype
    OFFSET 0 -5
  END
END

Is it a bug or should I hopefully just configure things differently?

Thanks very much

regards, dejan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: image2.png
Type: image/png
Size: 13373 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20140220/60cf2fbd/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image1.png
Type: image/png
Size: 11642 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20140220/60cf2fbd/attachment-0003.png>
-------------- next part --------------





More information about the mapserver-users mailing list