[mapserver-users] Legend difference in 5.6.1 and 6.4.1
thomas bonfort
thomas.bonfort at gmail.com
Mon Apr 27 23:11:42 PDT 2015
Are you using the GD or AGG renderer? Do all truetype fonts exhibit
this behavior? Can you test the 7.0 beta on this? Can you provide a
self contained test-case to reproduce this?
Lots of questions :)
--
thomas
On 28 April 2015 at 06:19, mapserver <mapserver at markus-spring.de> wrote:
> Steve et. al.,
> this legend issue is a major showstopper and makes GetLegendGraphic quite
> useless if you need utf-8 characters with truetype.
>
> Is there any solution for this?
>
> Best regards - Markus
>
> Am 23.04.2015 um 09:45 schrieb mapserver:
>>
>> I am migrating my mapserver application from 5.6.1 to 6.4.1 and have
>> observed a
>> difference in the created legend images, i.e. truncating of class names -
>> which
>> makes the legend image unusable in the end
>>
>> The legend definition on both platforms is as such:
>>
>> LEGEND
>> KEYSIZE 22 12
>> LABEL
>> TYPE TRUETYPE
>> FONT arial
>> SIZE 8
>> COLOR 0 0 0
>> WRAP "@"
>> END
>> STATUS ON
>> END # legend
>>
>> Mapfile: Umlauts in html-encoding like
>> CLASS NAME "Öffentlicher Träger"
>>
>> I have to use a truetype font, otherwise I can't render the German
>> umlauts.
>>
>> mapserver 5.6.1 gives this result:
>>
>>
>> http://maps.muenchen.de/wms-2/rgu/behindertenheime?version=1.1.1&service=WMS&request=GetLegendGraphic&layer=l0&format=image/png&STYLE=default
>>
>> and mapserver 6.4.1 gives this one:
>>
>>
>> http://kronos.muenchen.de/wms/rgu/behindertenheime?version=1.1.1&service=WMS&request=GetLegendGraphic&layer=l0&format=image/png&STYLE=default
>>
>> Have I missed something in the migration guide? Or are there parameter
>> available
>> to increase the legend size?
>>
>> Best regards - Markus
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list