<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>&nbsp;</div>
<div>I have already described my problem with WMS-GetLegendgraphic and AGG-Library (posted on 2008/05/07 with subject &quot;Some Problems with WMS-GetLegendGraphic using aggand pixmaps&quot;).</div>
<div>&nbsp;</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>&nbsp;</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>&nbsp;</div>
<div><img src="cid:911fb31e-c8fe-4b67-9405-5f0cd957fe88"> </div>
<div>&nbsp;</div>
<div>The definition looks like:</div>
<div>&nbsp;</div>
<div> OUTPUTFORMAT</div>
<div>&nbsp;&nbsp; NAME png</div>
<div>&nbsp;&nbsp; DRIVER &quot;GD/PNG&quot;</div>
<div>&nbsp;&nbsp; MIMETYPE &quot;image/png&quot;</div>
<div>&nbsp;&nbsp; EXTENSION PNG</div>
<div>&nbsp;&nbsp; IMAGEMODE RGBA </div>
<div>&nbsp;&nbsp; TRANSPARENT ON&nbsp; </div>
<div> END</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>Only changing the output-driver, I get the following picture:</div>
<div>&nbsp;</div>
<div><img src="cid:c148cc01-4c8e-49a5-9bfa-a4a7dc6096f1"> </div>
<div>&nbsp;</div>
<div>The definition looks like:</div>
<div>&nbsp;</div>
<div> OUTPUTFORMAT</div>
<div>&nbsp;&nbsp; MIMETYPE &quot;image/png&quot;</div>
<div>&nbsp;&nbsp; NAME 'AGG_Q'</div>
<div>&nbsp;&nbsp; DRIVER AGG/PNG</div>
<div>&nbsp;&nbsp; EXTENSION PNG</div>
<div>&nbsp;&nbsp; IMAGEMODE RGBA </div>
<div>&nbsp;&nbsp; TRANSPARENT ON&nbsp;&nbsp; </div>
<div> END</div>
<div>&nbsp;</div>
<div>The problem using AGG is this:</div>
<div>=======================</div>
<div>&nbsp;</div>
<div>If using a pixmap with &quot;KEYIMAGE &#8230;.&quot; </div>
<div>&nbsp;</div>
<div>&nbsp;&nbsp; CLASS</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp; NAME &quot;Topografische Karte 1:50.000&quot;</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp; KEYIMAGE &quot;/data/raster/topo_karten/tk50_legende.png&quot;</div>
<div>&nbsp;&nbsp; END</div>
<div>&nbsp;</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>&nbsp;</div>
<div>&nbsp;</div>
<div>Does anybody know, if this a problem of my map-file or this is a mapserver-bug ?</div>
<div>&nbsp;</div>
<div>I would be glad, if anybody can examine this persisting problem !</div>
<div>&nbsp;</div>
<div>greetings</div>
<div>&nbsp;</div>
<div>Herbert Schoenhammer</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
</font>
</body>
</html>