[mapserver-dev] Call for a 5.6.1 release...
Lime, Steve D (DNR)
Steve.Lime at state.mn.us
Mon Jan 4 12:24:10 EST 2010
I don't see class names in your data. Without those a legend will be blank regardless of layer status. Yes, legends do support TTF...
From: mapserver-dev-bounces at lists.osgeo.org [mailto:mapserver-dev-bounces at lists.osgeo.org] On Behalf Of Stephen Woodbridge
Sent: Sunday, January 03, 2010 11:22 PM
To: Lime, Steve D (DNR)
Cc: mapserver-dev at lists.osgeo.org
Subject: Re: [mapserver-dev] Call for a 5.6.1 release...
This is NOT PHP/Mapscript, I'm using the php to parse the a php object
and turn it into the mapfile, the write the mapfile to a temporary file
and generate the image. The LegendIcons work under the map, you can see
the gray mark in the lower left of the map which should be the legend.
Do legends work with truetype fonts? the map image is just a cgi request.
The generated mapfile is listed above the map.
Lime, Steve D (DNR) wrote:
> Hi Steve: Both a mode=legend and and embedded legend work for me:
> This mapfile has all default layers. Here's an example with layer toggling (version 5.4 works as well)...
> Guess we'll need more info...
> From: mapserver-dev-bounces at lists.osgeo.org [mapserver-dev-bounces at lists.osgeo.org] On Behalf Of Stephen Woodbridge [woodbri at swoodbridge.com]
> Sent: Saturday, January 02, 2010 5:06 PM
> To: Lime, Steve D (DNR)
> Cc: mapserver-dev at lists.osgeo.org
> Subject: Re: [mapserver-dev] Call for a 5.6.1 release...
> Lime, Steve D (DNR) wrote:
>> Hi all: I just fixed a couple of inconvenient bugs in 5.6 that broke some point-based queries via the CGI. Without the fixes some
>> folks won't be able to upgrade. I've got a whole bunch of query test cases I need to get into the automated testing to avoid this
>> in the future. Are others sitting on changes in the 5.6 trunk that could go into 5.6.1?
>> BTW Ticket is http://trac.osgeo.org/mapserver/ticket/3246...
> Can you verify the Legends embeded in the image work correctly?
> I just tried to generate one and I'm having troubles getting anything
> that looks like a legend to show up. I'm in rc5, but will upgrade to the
> released version and see if the makes a difference.
> IMAGECOLOR "#CCCCCC"
> OUTLINECOLOR "#000000"
> STATUS embed
> POSITION lr
> KEYSIZE 40 40
> KEYSPACING 5 5
> FONT "arial"
> SIZE 10
> TYPE TRUETYPE
> COLOR '#000000'
> Also tried it with mode=legend an get the same blank image.
> If its a bug let me know and I'll write a ticket if you want.
> -Steve W
> PS: Happy New Year Everyone.
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
mapserver-dev mailing list
mapserver-dev at lists.osgeo.org
More information about the mapserver-dev