[mapserver-users] Again: Some Problems with WMS-GetLegendGraphic using aggand pixmaps

thomas bonfort thomas.bonfort at gmail.com
Wed Jul 23 05:34:11 PDT 2008


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