[mapserver-users] Fwd: Wrong/different legend generation

Dejan Gambin dejan.gambin at coin.hr
Fri Mar 28 15:10:03 PDT 2014


Does anyone have a clue about this? Not sure if this is a bug or not :-(

thx, dejan

Begin forwarded message:

> From: Dejan Gambin <dejan.gambin at coin.hr>
> Date: 20. veljače 2014. 09:20:04 GMT+0100
> To: mapserver-users at lists.osgeo.org
> Subject: [mapserver-users] Wrong/different legend generation
> 
> 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
> 
> 
> 
> 
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20140328/cfaae281/attachment.htm>
-------------- 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/20140328/cfaae281/attachment.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/20140328/cfaae281/attachment-0001.png>


More information about the MapServer-users mailing list