<div dir="ltr">Donald,<br><br>Thanks for the examples. The first one returns the same error, the second one returns: loadOutputFormat(): General error message. OUTPUTFORMAT clause references driver CAIRO/PNG, but this driver isn't configured;<br>
<br>It is odd, I thought that you don t even need to declare an outputformat.<br><br>I must say that I am using GeoMoose top view the map file, an I have and extra section (compared to the ms5.0.0 version) which did not exist before (do I even need it?):<br>
<br><div><font size="1">WEB</font></div><div><font size="1"><span class="" style="white-space:pre"> </span>METADATA</font></div><div><font size="1"><span class="" style="white-space:pre"> </span>'ows_title' 'Parcel Maps'</font></div>
<div><font size="1"><span class="" style="white-space:pre"> </span>'ows_srs' 'EPSG:26915 EPSG:4326 EPSG:900913 EPSG:4269 EPSG:2277'</font></div><div><font size="1"><span class="" style="white-space:pre"> </span>'ows_enable_request' '*'</font></div>
<div><font size="1"><span class="" style="white-space:pre"> </span>'ows_onlineresource' '<a href="http://www.geomoose.org">http://www.geomoose.org</a>'</font></div><div><font size="1"><span class="" style="white-space:pre"> </span>END</font></div>
<div><font size="1">END</font><br><br>I was thinking that maybe it has something to do with the OWS but if I remove that part, again, it does not work. </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, Jul 26, 2013 at 3:04 PM, Donald Kerr <span dir="ltr"><<a href="mailto:donald.kerr@dkerr.co.uk" target="_blank">donald.kerr@dkerr.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-GB" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Robert,<u></u><u></u></span></p><p class="MsoNormal">
<span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I am using the following:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal" style="text-autospace:none"><b><span style="font-family:"System","sans-serif"">OUTPUTFORMAT<u></u><u></u></span></b></p>
<p class="MsoNormal" style="text-autospace:none"><b><span style="font-family:"System","sans-serif""> NAME "png"<u></u><u></u></span></b></p><p class="MsoNormal" style="text-autospace:none">
<b><span style="font-family:"System","sans-serif""> DRIVER "AGG/PNG"<u></u><u></u></span></b></p><p class="MsoNormal" style="text-autospace:none"><b><span style="font-family:"System","sans-serif""> MIMETYPE "image/png"<u></u><u></u></span></b></p>
<p class="MsoNormal" style="text-autospace:none"><b><span style="font-family:"System","sans-serif""> IMAGEMODE "RGBA"<u></u><u></u></span></b></p><p class="MsoNormal" style="text-autospace:none">
<b><span style="font-family:"System","sans-serif""> EXTENSION "png"<u></u><u></u></span></b></p><p class="MsoNormal" style="text-autospace:none"><b><span style="font-family:"System","sans-serif""> FORMATOPTION "GAMMA=0.75"<u></u><u></u></span></b></p>
<p class="MsoNormal" style="text-autospace:none"><b><span style="font-family:"System","sans-serif""> TRANSPARENT ON # Requires RGBA, not RGB otherwise errors. Also requires OFFSITE 255 255 255 in LAYER<u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span style="font-family:"System","sans-serif"">END</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Or, Using Cairo (though I still have some issues with labelling using this - </span><a href="https://github.com/mapserver/mapserver/issues/4581" target="_blank">https://github.com/mapserver/mapserver/issues/4581</a><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">):<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal" style="text-autospace:none"><b><span style="font-family:"System","sans-serif"">OUTPUTFORMAT<u></u><u></u></span></b></p>
<p class="MsoNormal" style="text-autospace:none"><b><span style="font-family:"System","sans-serif""> NAME "png"<u></u><u></u></span></b></p><p class="MsoNormal" style="text-autospace:none">
<b><span style="font-family:"System","sans-serif""> DRIVER "CAIRO/PNG"<u></u><u></u></span></b></p><p class="MsoNormal" style="text-autospace:none"><b><span style="font-family:"System","sans-serif""> MIMETYPE "image/png"<u></u><u></u></span></b></p>
<p class="MsoNormal" style="text-autospace:none"><b><span style="font-family:"System","sans-serif""> IMAGEMODE "RGBA"<u></u><u></u></span></b></p><p class="MsoNormal" style="text-autospace:none">
<b><span style="font-family:"System","sans-serif""> EXTENSION "png"<u></u><u></u></span></b></p><p class="MsoNormal" style="text-autospace:none"><b><span style="font-family:"System","sans-serif""> FORMATOPTION "GAMMA=0.75"<u></u><u></u></span></b></p>
<p class="MsoNormal" style="text-autospace:none"><b><span style="font-family:"System","sans-serif""> TRANSPARENT ON # Requires RGBA, not RGB otherwise errors. Also requires OFFSITE 255 255 255 in LAYER<u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span style="font-family:"System","sans-serif"">END<u></u><u></u></span></b></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Regards,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Donald<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mapserver-users-bounces@lists.osgeo.org</a> [mailto:<a href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mapserver-users-bounces@lists.osgeo.org</a>] <b>On Behalf Of </b>Robert R. Raiz<br>
<b>Sent:</b> 26 July 2013 13:00<br><b>To:</b> <a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br><b>Subject:</b> [mapserver-users] msWMSLoadGetMapParams(): Image handling error. Unsupported output format (image/png; bits=8)<u></u><u></u></span></p>
<div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Hello all, <br><br>I've been using the following OUTPUTFORMAT with mapserver 6:</span><u></u><u></u></p>
<div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""> </span><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">IMAGETYPE png</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">OUTPUTFORMAT</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">NAME "png8"</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">DRIVER AGG/PNG8</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">MIMETYPE "image/png; mode=8bit"</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">EXTENSION "png"</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">TRANSPARENT ON</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">IMAGEMODE RGBA</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">FORMATOPTION "QUANTIZE_FORCE=off"</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">FORMATOPTION "QUANTIZE_COLORS=256"</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">FORMATOPTION "INTERLACE=ON"</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">END</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u><u></u></span></p>
</div><p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><br>It works with vector data but it does a really bad job in rendering PIXMAP SYMBOLS, png files. <br>
No matter what other settings I tried in the OUTPUTFORMAT, I get the same error as stated in the subject field.<br><br>I tried every example from the documentation but anything else than what I have above, gives me that error.<br>
<br>Back in Mapserver5 I was using:</span><u></u><u></u></p><div><p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif""> IMAGETYPE png24</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">OUTPUTFORMAT</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif""> NAME 'AGGA'</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif""> DRIVER 'AGG/PNG'</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif""> IMAGEMODE RGBA</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif""> MIMETYPE "image/png"</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif""> EXTENSION "png"</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">END </span><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">It rendered everything ok but this does not work anymore as well.<br><br>Can you help me out in trying to fix this as to display everything smooth?<br>
<br>Thank you,<u></u><u></u></span></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal" style="margin-bottom:12.0pt">-- <br><b><i>Raiz Roland Robert</i></b><br><br><u></u><u></u></p></div></div>
</div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><b><i>Raiz Roland Robert</i></b><br><br><br>
</div>