select output type on cgi query string?

Pericles S. Nacionales naci0002 at UMN.EDU
Wed Apr 26 11:41:38 PDT 2006


John,

Try adding &map_imagetype=png24 (or png/jpeg) for non-WMS MapServer CGI 
requests.

-Perry

John Cole wrote:
> Brock,
>   Thanks, but that doesn't seem to work in the cgi mode (at least on my
> 4.8.1).
> 
> John
> 
> -----Original Message-----
> From: Brock Anderson [mailto:banders at refractions.net] 
> Sent: Wednesday, April 26, 2006 1:22 PM
> To: John Cole
> Cc: MAPSERVER-USERS at LISTS.UMN.EDU
> Subject: Re: [UMN_MAPSERVER-USERS] select output type on cgi query string?
> 
> John,
> 
> Mapserver WMS lets you specify the output format in the URL.  Just add:
> 
>     &format=png  (or jpeg, gif, etc.)
> 
> ... to the request.  I'm not sure if non-WMS requests allow a similar 
> argument.
> 
> Brock
> 
> 
> John Cole wrote:
> 
>> Is it possible to select the output type with the cgi query string?  When
> we
>> are using teraserver as a background, jpg looks best, but without it, png
>> looks best.  It would be nice to be able to switch that when the teraserver
>> raster layers are selected.
>>
>> Thanks,
>>
>> John Cole
>> <DIV><FONT size=1 face="Verdana">This email and any files transmitted with
> it are confidential and intended solely for the use of the individual or
> entity to whom they are addressed. If you have received this email in error
> please notify the sender. This message contains confidential information and
> is intended only for the individual named. If you are not the named
> addressee you should not disseminate, distribute or copy this e-mail.
> </FONT></DIV>
>>  
>>
> <DIV><FONT size=1 face="Verdana">This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. </FONT></DIV>
> 
> .
> 



More information about the MapServer-users mailing list