<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style>.EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; }</style>
</head>
<body>
<font face="Arial, sans-serif" size="2">
<div>Hi list,</div>
<div> </div>
<div>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").</div>
<div> </div>
<div>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. </div>
<div> </div>
<div>Now i want to publish an example. Using GD as driver for creating the output, i get the correct legend-image:</div>
<div> </div>
<div><img src="cid:911fb31e-c8fe-4b67-9405-5f0cd957fe88"> </div>
<div> </div>
<div>The definition looks like:</div>
<div> </div>
<div> OUTPUTFORMAT</div>
<div> NAME png</div>
<div> DRIVER "GD/PNG"</div>
<div> MIMETYPE "image/png"</div>
<div> EXTENSION PNG</div>
<div> IMAGEMODE RGBA </div>
<div> TRANSPARENT ON </div>
<div> END</div>
<div> </div>
<div> </div>
<div>Only changing the output-driver, I get the following picture:</div>
<div> </div>
<div><img src="cid:c148cc01-4c8e-49a5-9bfa-a4a7dc6096f1"> </div>
<div> </div>
<div>The definition looks like:</div>
<div> </div>
<div> OUTPUTFORMAT</div>
<div> MIMETYPE "image/png"</div>
<div> NAME 'AGG_Q'</div>
<div> DRIVER AGG/PNG</div>
<div> EXTENSION PNG</div>
<div> IMAGEMODE RGBA </div>
<div> TRANSPARENT ON </div>
<div> END</div>
<div> </div>
<div>The problem using AGG is this:</div>
<div>=======================</div>
<div> </div>
<div>If using a pixmap with "KEYIMAGE …." </div>
<div> </div>
<div> CLASS</div>
<div> NAME "Topografische Karte 1:50.000"</div>
<div> KEYIMAGE "/data/raster/topo_karten/tk50_legende.png"</div>
<div> END</div>
<div> </div>
<div>only a part of the raster-image is used for generating the legend (the right side of th picture, the middle of the picture).</div>
<div> </div>
<div> </div>
<div>Does anybody know, if this a problem of my map-file or this is a mapserver-bug ?</div>
<div> </div>
<div>I would be glad, if anybody can examine this persisting problem !</div>
<div> </div>
<div>greetings</div>
<div> </div>
<div>Herbert Schoenhammer</div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
</font>
</body>
</html>