<div>hi, Adrian<br></div><div>try to add ... MIMETYPE &quot;image/png&quot;...</div><div>regards, michael</div><div><br></div><div class="gmail_quote">2009/10/14 Adrian Popa <span dir="ltr">&lt;<a href="mailto:adrian_gh.popa@romtelecom.ro">adrian_gh.popa@romtelecom.ro</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">



<div bgcolor="#ffffff" text="#000000">
Hello all, <br>
<br>
My goal is to setup tilecache (which is proving to be a real pain), and
so far I&#39;ve noticed that even if I configured my map to generate
noninterlaced PNGs (instructions here:
<a href="http://www.mapserver.org/faq.html#why-doesn-t-pil-python-imaging-library-open-my-pngs" target="_blank">http://www.mapserver.org/faq.html#why-doesn-t-pil-python-imaging-library-open-my-pngs</a>),
it still generates interlaced PNGs.<br>
<br>
Here is my outputformat (the only one defined) in my map:<br>
OUTPUTFORMAT<br>
    NAME &#39;AGG&#39;<br>
    DRIVER AGG/PNG<br>
    IMAGEMODE RGBA<br>
    TRANSPARENT ON<br>
    FORMATOPTION &quot;INTERLACE=OFF&quot;<br>
END<br>
<br>
The parameters that get sent to my mapserver instance are:<br>
<table selected cellpadding="0" cellspacing="0">
  <tbody><tr><td>BBOX</td><td><code>2896046.12635,5831228.011975,2935181.884825,5870363.77045</code></td></tr><tr><td>EXCEPTIONS</td><td><code>application/vnd.ogc.se_inimage</code></td></tr><tr><td>FORMAT</td><td><code>png</code></td>

</tr><tr><td>HEIGHT</td><td><code>256</code></td></tr><tr><td>LAYERS</td><td><code>Judete,RuralSate,Rural,Urban,roads,roads-buc,buildings,GranitaJudete</code></td></tr><tr><td>MAP</td><td><code>/var/www/html/map/rtc_base.map</code></td>

</tr><tr><td>MAP_IMAGETYPE</td><td><code>agg</code></td></tr><tr><td>MAXEXTENT</td><td><code>left-bottom=(20.26,43.16)
right-top=(29.7,48.46)</code></td></tr><tr><td>MAXRESOLUTION</td><td><code>156543</code></td></tr><tr><td>REQUEST</td><td><code>GetMap</code></td></tr><tr><td>SERVICE</td><td><code>WMS</code></td></tr><tr><td>SRS</td><td>

<code>EPSG:900913</code></td></tr><tr><td>STYLES</td><td><br>
      </td></tr><tr><td>TRANSITIONEFFECT</td><td><code>resize</code></td></tr><tr><td>TRANSPARENT</td><td><code>false</code></td></tr><tr><td>UNITS</td><td><code>m</code></td></tr><tr><td>VERSION</td><td><code>1.1.1</code></td>

</tr><tr><td>WIDTH</td><td><code>256</code></td></tr></tbody>
</table>
<br>
I&#39;m not sure if MAP_IMAGETYPE=agg is the one which selects the
outputformat or not, but the map seems to be rendered with AGG (I could
be wrong, of course).<br>
<br>
So, what am I missing here? Is there another parameter that should be
sent to mapserver to select the outputformat?<br>
<br>
By the way, the image file generated has these properties: img.png: PNG
image, 256 x 256, 8-bit colormap, interlaced<br>
<br>
Thanks,<br>
Adrian<br>
<br>
</div>

<br>_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br></blockquote></div><br>