[Geomoose-users] Unsupported output format (image/png;bits=8)

James Klassen klassen.js at gmail.com
Tue Aug 13 08:43:12 PDT 2013


On 2013/8/13 9:19 AM, Eli Adam wrote:
>
> > <map-source name="parcels" type="mapserver">
> >                 <file>./demo/parcels/parcels.map</file>
> >                 <layer name="parcels" status="on"/>
> >                 <param name="FORMAT" value="image/png;bits=8"/>
> >  </map-source>
>
> Tricky. 
>
> I see that you got that from the demo example,
> http://trac.osgeo.org/geomoose/browser/geomoose2/branches/geomoose-2.6/conf/mapbook.xml#L102 
> I'm wondering if the documentation should be updated in
> http://www.geomoose.org/docs/mapbook.html#map-source or in the adding
> a layer section or the geomoose_globals.map section of
> http://www.geomoose.org/howto/layer.html
>
> Is there a reason to include the FORMAT parameter in the mapbook? 
>
> Thoughts?
>
I never include FORMAT in my mapbooks.  I am guessing that it was there
to try and force 8-bit PNGs (instead of true color PNGs which are the
default when AGG is used with MapServer) because Internet Explorer 6
couldn't handle transparency in true color PNGs. 

I also don't use type="mapserver" in my mapbooks anymore.  Ticket #187
covers some of this.  There are likely also documentation updates that
should happen.

http://trac.osgeo.org/geomoose/ticket/187


More information about the Geomoose-users mailing list