[mapserver-users] make wms clients use jpeg

Paolo Corti pcorti at gmail.com
Wed Mar 21 05:20:00 EDT 2012


On Wed, Mar 21, 2012 at 10:06 AM, Mark Volz <volzmark at yahoo.com> wrote:
> Hello,
>
> When using the WMS server, Is there a way to force wms clients to use jpeg?
>   I noticed Arcmap is trying to request png files, and I would prefer it to
> use jpeg instead.
>

As far as I know you cannot, but you could use Apache URL rewriting
[1] for getting your purpose and overriding the FORMAT parameter in
the request
P

[1] http://mapserver.org/ogc/wms_server.html#changing-the-online-resource-url

-- 
Paolo Corti
Geospatial software developer
web: http://www.paolocorti.net
twitter: @capooti
skype: capooti


More information about the mapserver-users mailing list