Change Output Format
Yewondwossen Assefa
assefa at DMSOLUTIONS.CA
Mon Jul 4 11:52:31 PDT 2005
You could use selectOutputFormat on the map object. Here is the
description for this function :
int selectOutputFormat(string type)
Selects the output format to be used in the map.
Returns MS_SUCCESS/MS_FAILURE.
Note : the type used should correspond to one of the output
formats declared in the map file.
The type argument passed is compared with the mimetype
parameter in the output format structure and then to
the name parameter in the structure.
Later,
Abe Gillespie wrote:
> Can the output type (PNG, JPEG, GIF, etc.) be changed on the fly via
> PHP MapScript? If so, would someone include example code please?
>
> Thanks.
> -Abe
>
>
--
----------------------------------------------------------------
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