[Geomoose-users] Unsupported output format (image/png;bits=8)
Robert R. Raiz
raizrobert at gmail.com
Wed Jul 24 06:03:08 PDT 2013
I read all day about the outputs and it seems that it should display
everything ok even if I do not specify the outputformat.
Everything I modify returns *"msWMSLoadGetMapParams(): Image handling
error. Unsupported output format (image/png;bits=8)"*
Is it possible ?! to come from the following part:
WEB
METADATA
'ows_title' 'Parcel Maps'
'ows_srs' 'EPSG:26915 EPSG:4326 EPSG:900913 EPSG:4269 EPSG:2277'
'ows_enable_request' '*'
'ows_onlineresource' 'http://www.geomoose.org'
END
END
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.
On Wed, Jul 24, 2013 at 8:53 AM, Robert R. Raiz <raizrobert at gmail.com>wrote:
> Hello Brent,
>
> I tried but I get the same error:
>
> "msWMSLoadGetMapParams(): Image handling error. Unsupported output format
> (image/png;bits=8)."
>
> 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.
>
>
> On Tue, Jul 23, 2013 at 5:53 PM, Brent Fraser <bfraser at geoanalytic.com>wrote:
>
>> Try
>>
>> MIMETYPE "image/png; mode=8bit"
>>
>>
>> Best Regards,
>> Brent Fraser
>>
>> On 7/23/2013 8:10 AM, Robert R. Raiz wrote:
>>
>> Hello Mark,
>>
>> Sorry, I forgot to mention that I am not using at all
>> geomoose_globals.map
>>
>> I've set my parameters to use my simbolset, fonts.. the only thing I kept
>> from geomoose_globals. map is the WEB-METADATA section.
>>
>> If I paste in the mapfile what you just forwarded..well..I keep getting
>> the same message:
>>
>> <?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
>> <!DOCTYPE ServiceExceptionReport SYSTEM "
>> http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd">
>> <ServiceExceptionReport version="1.1.1">
>> <ServiceException code="InvalidFormat">
>> msWMSLoadGetMapParams(): Image handling error. Unsupported output format
>> (image/png;bits=8).
>> </ServiceException>
>> </ServiceExceptionReport>
>>
>> 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.
>>
>>
>> On Tue, Jul 23, 2013 at 4:33 PM, Mark Volz <MarkVolz at co.lyon.mn.us>wrote:
>>
>>> Robert,
>>>
>>>
>>>
>>> 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:
>>>
>>>
>>>
>>>
>>>
>>> #do not include geomoose globals which uses png8
>>>
>>> #Include ../ geomoose_globals.map
>>>
>>>
>>>
>>> #add the portions from geomoose_globals that you need
>>>
>>>
>>>
>>> FONTSET "../../fonts/fontset.list"
>>>
>>> SYMBOLSET "../../symbols/symbol.sym"
>>>
>>>
>>>
>>> # prevent the pink screen of death on large monitors
>>>
>>> MAXSIZE 10000
>>>
>>>
>>>
>>> #TRANSPARENT TRUE
>>>
>>>
>>>
>>> # Does this stuff even need to be set in MS 6.x? JSK
>>>
>>> OUTPUTFORMAT
>>>
>>> NAME 'agg/png'
>>>
>>> DRIVER AGG/PNG
>>>
>>> IMAGEMODE RGBA
>>>
>>> FORMATOPTION "TRANSPARENT=TRUE"
>>>
>>> TRANSPARENT ON
>>>
>>> MIMETYPE "image/png"
>>>
>>> END
>>>
>>>
>>>
>>> IMAGETYPE agg/png # use the output format named
>>> ‘agg/png’
>>>
>>>
>>>
>>> IMAGECOLOR 255 255 255
>>>
>>>
>>>
>>> Mark Volz, GISP
>>>
>>> GIS Specialist
>>>
>>>
>>>
>>> *From:* geomoose-users-bounces at lists.osgeo.org [mailto:
>>> geomoose-users-bounces at lists.osgeo.org] *On Behalf Of *Robert R. Raiz
>>> *Sent:* Tuesday, July 23, 2013 8:04 AM
>>> *To:* geomoose-users at lists.osgeo.org
>>> *Subject:* Re: [Geomoose-users] Unsupported output format
>>> (image/png;bits=8)
>>>
>>>
>>>
>>> Sorry, somehow gmail keyboard shortcuts made a fool out of me and sent
>>> the email to soon;
>>>
>>> The problem is that now, all my png images (PIXMAP) render really badly.
>>> They look quite bad.
>>>
>>> Whatever I try to modify in the map file at the OUTPUTFORMAT parameter,
>>> I keep getting:
>>>
>>> <ServiceException code="InvalidFormat">
>>>
>>> msWMSLoadGetMapParams(): Image handling error. Unsupported output format
>>> (image/png;bits=8).
>>>
>>>
>>>
>>> I tried to change every parameter but I still get that error. If I use MIMETYPE
>>> "image/png;bits=8" it works with vector files, but my icons (PIXMAP - png
>>> images) do not render well.
>>>
>>> Any Ideas?
>>>
>>>
>>>
>>> On Tue, Jul 23, 2013 at 4:00 PM, Robert R. Raiz <raizrobert at gmail.com>
>>> wrote:
>>>
>>> Hello all,
>>>
>>> I am struggling with this error.
>>>
>>> In the past (with Mapserver5) I was using:
>>>
>>> IMAGETYPE png24
>>>
>>> OUTPUTFORMAT
>>>
>>> NAME 'AGGA'
>>>
>>> DRIVER 'AGG/PNG'
>>>
>>> IMAGEMODE RGBA
>>>
>>> MIMETYPE "image/png"
>>>
>>> EXTENSION "png"
>>>
>>> END
>>>
>>>
>>> Now I have:
>>>
>>> OUTPUTFORMAT
>>>
>>> NAME "png8"
>>>
>>> DRIVER AGG/PNG8
>>>
>>> MIMETYPE "image/png;bits=8"
>>>
>>> EXTENSION "png"
>>>
>>> TRANSPARENT ON
>>>
>>> IMAGEMODE RGBA
>>>
>>> FORMATOPTION "QUANTIZE_FORCE=on"
>>>
>>> FORMATOPTION "QUANTIZE_COLORS=256"
>>>
>>> FORMATOPTION "INTERLACE=OFF"
>>>
>>> END
>>>
>>> --
>>> *Raiz Roland Robert*
>>>
>>>
>>>
>>>
>>>
>>> --
>>> *Raiz Roland Robert*
>>>
>>>
>>
>>
>> --
>> *Raiz Roland Robert*
>>
>>
>>
>>
>> _______________________________________________
>> Geomoose-users mailing listGeomoose-users at lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/geomoose-users
>>
>>
>>
>
>
> --
> *Raiz Roland Robert*
>
>
>
--
*Raiz Roland Robert*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20130724/84390054/attachment-0001.html>
More information about the Geomoose-users
mailing list