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

Lime, Steve D (MNIT) Steve.Lime at state.mn.us
Sun Mar 30 10:06:16 PDT 2014


Certainly looks like a bug but it would help to see the layer defs for one of the solid fills layers and one of the line layers. Are you setting map resolution explicitly? --Steve

________________________________
From: mapserver-users-bounces at lists.osgeo.org [mapserver-users-bounces at lists.osgeo.org] on behalf of Dejan Gambin [dejan.gambin at coin.hr]
Sent: Friday, March 28, 2014 5:10 PM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] Fwd: Wrong/different legend generation

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<mailto:dejan.gambin at coin.hr>>
Date: 20. veljače 2014. 09:20:04 GMT+0100
To: mapserver-users at lists.osgeo.org<mailto: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

[cid:F50C06C6-BDC8-41AF-B14A-920BD6E6107C][cid:4473B56C-8103-4E44-B722-56A35558536F]


_______________________________________________
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/20140330/bf7a6cf3/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image2.png
Type: image/png
Size: 13373 bytes
Desc: image2.png
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20140330/bf7a6cf3/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image1.png
Type: image/png
Size: 11642 bytes
Desc: image1.png
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20140330/bf7a6cf3/attachment-0003.png>


More information about the mapserver-users mailing list