<div dir="ltr">I read all day about the outputs and it seems that it should display everything ok even if I do not specify the outputformat.<br><br>Everything I modify returns <i>"msWMSLoadGetMapParams(): Image handling error. Unsupported output format (image/png;bits=8)"</i><div>
<br>Is it possible ?! to come from the following part:<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 did not use this before and I wonder if the MIMTYPE is somehow returned all the time as png 8 bit. If I remove this part, again, I get an error.</div></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Wed, Jul 24, 2013 at 8:53 AM, Robert R. Raiz <span dir="ltr"><<a href="mailto:raizrobert@gmail.com" target="_blank">raizrobert@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hello Brent,<br><br>I tried but I get the same error:<div class="im"><br><font size="1">"msWMSLoadGetMapParams(): Image handling error. Unsupported output format (image/png;bits=8)."</font><div><font size="1"><br>
</font></div></div><div>Maybe it has something to do with how MapSever was installed. I'll try the mailing list over there to find a way to solve this.</div></div><div class="gmail_extra"><div><div class="h5"><br><br>
<div class="gmail_quote">On Tue, Jul 23, 2013 at 5:53 PM, Brent Fraser <span dir="ltr"><<a href="mailto:bfraser@geoanalytic.com" target="_blank">bfraser@geoanalytic.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>Try<br>
<br>
<pre><span>MIMETYPE</span> <span>"image/png; mode=8bit"
</span></pre>
<pre cols="72">Best Regards,
Brent Fraser</pre><div><div>
On 7/23/2013 8:10 AM, Robert R. Raiz wrote:<br>
</div></div></div>
<blockquote type="cite"><div><div>
<div dir="ltr">Hello Mark,<br>
<br>
Sorry, I forgot to mention that I am not using at all <span style="font-family:Calibri,sans-serif"><span style="color:rgb(31,73,125);font-size:15px">geomoose_globals.map</span><br>
<br>
<span style="color:rgb(31,73,125);font-size:15px">I've set my
parameters to use my simbolset, fonts.. the only thing I
kept from geomoose_globals. map is the WEB-METADATA section.</span><br>
<br>
<span style="color:rgb(31,73,125);font-size:15px">If I paste
in the mapfile what you just forwarded..well..I keep getting
the same message: </span><br>
<br>
<div style="color:rgb(31,73,125)"><?xml version='1.0'
encoding="ISO-8859-1" standalone="no" ?></div>
<div style="color:rgb(31,73,125)"><!DOCTYPE
ServiceExceptionReport SYSTEM "<a href="http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd" target="_blank">http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd</a>"></div>
<div style="color:rgb(31,73,125)"><ServiceExceptionReport
version="1.1.1"></div>
<div style="color:rgb(31,73,125)"><ServiceException
code="InvalidFormat"></div>
<div style="color:rgb(31,73,125)">
msWMSLoadGetMapParams(): Image handling error. Unsupported
output format (image/png;bits=8).</div>
<div style="color:rgb(31,73,125)"></ServiceException></div>
<div><font color="#1f497d"></ServiceExceptionReport></font><br>
<br>
<font color="#000000">I tried all the outputformats in the
mapserver documentation but I keep getting this error. I
thought it is hard-coded somewhere to use the outputformat
mentioned in the first email.</font></div>
</span></div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Tue, Jul 23, 2013 at 4:33 PM, Mark
Volz <span dir="ltr"><<a href="mailto:MarkVolz@co.lyon.mn.us" target="_blank">MarkVolz@co.lyon.mn.us</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Robert,</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">geomoose_globals.map,
which is included on most of the demo map files
assigns png8 as the default output format. This
format works well for vector layers, but not raster
layers. You might want to change your map file like
such:</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">#do
not include geomoose globals which uses png8</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">#Include
../ geomoose_globals.map</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">#add
the portions from geomoose_globals that you need</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">
FONTSET "../../fonts/fontset.list"</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">
SYMBOLSET "../../symbols/symbol.sym"</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">
# prevent the pink screen of death on large monitors</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">
MAXSIZE 10000</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">
#TRANSPARENT TRUE</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">
# Does this stuff even need to be set in MS 6.x?
JSK</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">
OUTPUTFORMAT</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">
NAME 'agg/png'</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">
DRIVER AGG/PNG</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">
IMAGEMODE RGBA</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">
FORMATOPTION "TRANSPARENT=TRUE"</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">
TRANSPARENT ON</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">
MIMETYPE "image/png"</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">
END
</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">
IMAGETYPE agg/png # use the output format named
‘agg/png’</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">
</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">
IMAGECOLOR 255 255 255</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Mark
Volz, GISP</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">GIS
Specialist</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
<a href="mailto:geomoose-users-bounces@lists.osgeo.org" target="_blank">geomoose-users-bounces@lists.osgeo.org</a>
[mailto:<a href="mailto:geomoose-users-bounces@lists.osgeo.org" target="_blank">geomoose-users-bounces@lists.osgeo.org</a>]
<b>On Behalf Of </b>Robert R. Raiz<br>
<b>Sent:</b> Tuesday, July 23, 2013 8:04 AM<br>
<b>To:</b> <a href="mailto:geomoose-users@lists.osgeo.org" target="_blank">geomoose-users@lists.osgeo.org</a><br>
<b>Subject:</b> Re: [Geomoose-users]
Unsupported output format (image/png;bits=8)</span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">Sorry, somehow gmail
keyboard shortcuts made a fool out of me and
sent the email to soon;<br>
<br>
The problem is that now, all my png images
(PIXMAP) render really badly. They look quite
bad.<br>
<br>
Whatever I try to modify in the map file at
the OUTPUTFORMAT parameter, I keep getting:</p>
<div>
<p class="MsoNormal"><ServiceException
code="InvalidFormat"></p>
</div>
<div>
<p class="MsoNormal">msWMSLoadGetMapParams():
Image handling error. Unsupported output
format (image/png;bits=8).</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">I tried to change every
parameter but I still get that error. If I
use <span style="font-size:10.0pt;font-family:"Arial","sans-serif"">MIMETYPE
"image/png;bits=8" it works with vector
files, but my icons (PIXMAP - png images)
do not render well.<br>
<br>
Any Ideas?</span></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"> </p>
<div>
<p class="MsoNormal">On Tue, Jul 23, 2013 at
4:00 PM, Robert R. Raiz <<a href="mailto:raizrobert@gmail.com" target="_blank">raizrobert@gmail.com</a>>
wrote:</p>
<div>
<p class="MsoNormal">Hello all,<br>
<br>
I am struggling with this error. <br>
<br>
In the past (with Mapserver5) I was using:<br>
<br clear="all">
</p>
<div>
<div>
<p class="MsoNormal"> IMAGETYPE png24</p>
</div>
<div>
<p class="MsoNormal">OUTPUTFORMAT</p>
</div>
<div>
<p class="MsoNormal">NAME 'AGGA'</p>
</div>
<div>
<p class="MsoNormal">DRIVER 'AGG/PNG'</p>
</div>
<div>
<p class="MsoNormal">IMAGEMODE RGBA</p>
</div>
<div>
<p class="MsoNormal">MIMETYPE
"image/png"</p>
</div>
<div>
<p class="MsoNormal">EXTENSION "png"</p>
</div>
<div>
<p class="MsoNormal">END </p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
Now I have:</p>
<div>
<p class="MsoNormal">OUTPUTFORMAT</p>
</div>
<div>
<p class="MsoNormal">NAME "png8"</p>
</div>
<div>
<p class="MsoNormal">DRIVER AGG/PNG8</p>
</div>
<div>
<p class="MsoNormal">MIMETYPE
"image/png;bits=8"</p>
</div>
<div>
<p class="MsoNormal">EXTENSION "png"</p>
</div>
<div>
<p class="MsoNormal">TRANSPARENT ON</p>
</div>
<div>
<p class="MsoNormal">IMAGEMODE RGBA</p>
</div>
<div>
<p class="MsoNormal">FORMATOPTION
"QUANTIZE_FORCE=on"</p>
</div>
<div>
<p class="MsoNormal">FORMATOPTION
"QUANTIZE_COLORS=256"</p>
</div>
<div>
<p class="MsoNormal">FORMATOPTION
"INTERLACE=OFF"</p>
</div>
<div>
<p class="MsoNormal">END</p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span><span style="color:#888888">--
</span></span><span style="color:#888888"><br>
<span><b><i>Raiz Roland Robert</i></b></span><br>
<br>
</span></p>
</div>
</div>
<p class="MsoNormal"><br>
<br clear="all">
</p>
<div>
<p class="MsoNormal"> </p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">-- <br>
<b><i>Raiz Roland Robert</i></b><br>
<br>
</p>
</div>
</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>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
Geomoose-users mailing list
<a href="mailto:Geomoose-users@lists.osgeo.org" target="_blank">Geomoose-users@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a>
</pre>
</blockquote>
<br>
</div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><b><i>Raiz Roland Robert</i></b><br><br><br>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><b><i>Raiz Roland Robert</i></b><br><br><br>
</div>