AW: [mapserver-users] Again: Some Problems with WMS-GetLegendGraphic using aggand pixmaps
Schönhammer, Herbert
Schoenhammer.Herbert at Regensburg.de
Thu Jul 24 07:34:51 PDT 2008
Hi, Thomas,
yes I think it is a scaling problem. I have generatd a ticket and assigned it to you (#2715).
thanks
Herbert Schoenhammer
>-----Ursprüngliche Nachricht-----
>Von: thomas bonfort [mailto:thomas.bonfort at gmail.com]
>Gesendet: Mittwoch, 23. Juli 2008 14:34
>An: Schönhammer, Herbert
>Cc: Mapserver-users (mapserver-users at lists.osgeo.org)
>Betreff: Re: [mapserver-users] Again: Some Problems with
>WMS-GetLegendGraphic using aggand pixmaps
>
>
>Hi,
>what you mean is that the key image isn't scaled, as it is with GD ?
>If so, can you open a bug for this issue, and assign it to me
>(tbonfort)
>
>thanks,
>--
>Thomas Bonfort
>Camptocamp France SAS
>http://www.camptocamp.com
>
>On Wed, Jul 23, 2008 at 1:43 PM, Schönhammer, Herbert
><Schoenhammer.Herbert at regensburg.de> wrote:
>> Hi list,
>>
>> I have already described my problem with WMS-GetLegendgraphic and
>> AGG-Library (posted on 2008/05/07 with subject "Some Problems with
>> WMS-GetLegendGraphic using aggand pixmaps").
>>
>> But i did not get any reply until now. So I made some tests
>with Mapserver
>> 5.2.0 and i recognized the same problems as posted earlier.
>>
>> Now i want to publish an example. Using GD as driver for creating the
>> output, i get the correct legend-image:
>>
>>
>> The definition looks like:
>>
>> OUTPUTFORMAT
>> NAME png
>> DRIVER "GD/PNG"
>> MIMETYPE "image/png"
>> EXTENSION PNG
>> IMAGEMODE RGBA
>> TRANSPARENT ON
>> END
>>
>>
>> Only changing the output-driver, I get the following picture:
>>
>>
>> The definition looks like:
>>
>> OUTPUTFORMAT
>> MIMETYPE "image/png"
>> NAME 'AGG_Q'
>> DRIVER AGG/PNG
>> EXTENSION PNG
>> IMAGEMODE RGBA
>> TRANSPARENT ON
>> END
>>
>> The problem using AGG is this:
>> =======================
>>
>> If using a pixmap with "KEYIMAGE ...."
>>
>> CLASS
>> NAME "Topografische Karte 1:50.000"
>> KEYIMAGE "/data/raster/topo_karten/tk50_legende.png"
>> END
>>
>> only a part of the raster-image is used for generating the
>legend (the right
>> side of th picture, the middle of the picture).
>>
>>
>> Does anybody know, if this a problem of my map-file or this is a
>> mapserver-bug ?
>>
>> I would be glad, if anybody can examine this persisting problem !
>>
>> greetings
>>
>> Herbert Schoenhammer
>>
>>
>>
>>
>>
>> _______________________________________________
>> 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