[mapserver-users] Problems in making AGG outputformat for WMS
Yewondwossen Assefa
yassefa at dmsolutions.ca
Wed Mar 25 07:42:11 PDT 2009
Hi There,
It is a bug. ticket related to it is
http://trac.osgeo.org/mapserver/ticket/2957 and should be available for
the next MapServer release.
Best Regards,
Rahkonen Jukka wrote:
> Hi,
>
> This MapServer version is 5.2.1 from MS4W, and it tells me for examle:
>
> MapServer version 5.2.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
> OUTPUT=PDF OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG ....
>
> So it should support AGG rendering. Now I have created agg OUTPUTFORMAT
> about as adviced in
> http://www.mapserver.org/output/agg.html
>
> OUTPUTFORMAT
> NAME "AGG"
> MIMETYPE "image/pngagg"
> DRIVER "AGG/PNG"
> EXTENSION "png"
> IMAGEMODE RGB
> END
>
> However, this mimetype is not included in the WMS 1.1.1 GetCapabilities
> document
> <GetMap>
> <Format>image/gif</Format>
> <Format>image/png</Format>
> <Format>image/png; mode=24bit</Format>
>
> If I edit OUTPUTFORMAT to have DRIVER "GD/PNG" then my own outputformat
> is included in GetCapabilies.
>
> <GetMap>
> <Format>image/pngagg</Format>
> <Format>image/gif</Format>
> <Format>image/png</Format>
> <Format>image/png; mode=24bit</Format>
>
> The problem is that AGG outputformat does not appear on the
> GetCapabilities and thus WMS clients can not show it on menu. If I edit
> WMS getMap request manually to use &FORMAT=image/pngagg it works. For
> me this looks like a small bug. Is it perhaps reported already, or even
> corrected?
>
> -Jukka Rahkonen-
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
--
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst
Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/
Phone: (613) 565-5056 (ext 14)
Fax: (613) 565-0925
----------------------------------------------------------------
More information about the MapServer-users
mailing list