On Tue, Sep 14, 2010 at 11:03 AM, Andreas Hocevar <[email protected]> wrote: > Hi, > > in WMS, the param to set is not "map_imagetype", but "format". And you have > to provide a format that your mapfile knows about (e.g. "image/gif"). >
Brilliant! The above works. I wonder from where I got "map_imagetype"... I am darned sure I didn't dream it up, am just not that creative. Anyway, now I get gifs back. > Regards, > Andreas. > > On Sep 14, 2010, at 10:52 , P Kishor wrote: > >> My MapServer WMS server is capable of sending back GIFs or 8-bit PNGs, >> and I have tested it via cgi calls that it does so successfully. >> However, even though I have `map_imagetype: "gif",` set in my WMS >> layer definition, I only get back truecolor PNGs. What gives? >> >> -- >> Puneet Kishor >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.osgeo.org/mailman/listinfo/openlayers-users > > > > -- > Andreas Hocevar > OpenGeo - http://opengeo.org/ > Expert service straight from the developers. > > -- Puneet Kishor http://www.punkish.org Carbon Model http://carbonmodel.org Charter Member, Open Source Geospatial Foundation http://www.osgeo.org Science Commons Fellow, http://sciencecommons.org/about/whoweare/kishor Nelson Institute, UW-Madison http://www.nelson.wisc.edu ----------------------------------------------------------------------- Assertions are politics; backing up assertions with evidence is science ======================================================================= _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
