[MapProxy] non-MIME supported format for WMS source
Pestereva, Anna
apestereva at aerialservicesinc.com
Wed Jul 22 20:34:43 PDT 2015
Hello all,
I am trying to use a WMS source that only works when requested in 'JPG'
format, not 'image/jpeg'. I am trying following in my configuration:
lidar_wms:
type: wms
req:
url: http://ortho.gis.iastate.edu/server.cgi?wmtver=1.0
layers: lidar_hs
transparent: true
supported_srs: ['EPSG:26915']
supported_formats: ['JPG']
coverage:
bbox: [-96.8, 39, -90, 45.1]
bbox_srs: 'EPSG:4326'
globals:
image:
formats:
JPG:
format: image/jpeg
However I am still receiving error response from the server - "Unsupported
format image/jpg. Try JPG instead." So it looks like even when specifying
custom format xxx, Mapproxy sends request as image/xxx. But this source
will only accept exact 'JPG' requests.
What can I do to make it work?
Example of successful request:
http://ortho.gis.iastate.edu/server.cgi?wmtver=1.0&SERVICE=WMS&REQUEST=GetMap&VERSION=1.1.1&LAYERS=lidar_hs&FORMAT=JPG&HEIGHT=256&WIDTH=256&SRS=EPSG%3A26915&BBOX=524288,4587520,655360,4718592
Thank you!
--
*Anna Pestereva | Application Developer & Cartographer*
*Aerial Services, Inc. (ASI) *
Office: (319) 277-0436 | Fax: (866) 800-4799
6315 Chancellor Drive | Cedar Falls, Iowa 50613
APestereva at AerialServicesInc.com <apestereva at AerialServicesInc.com> |
LinkedIn <http://www.linkedin.com/in/annapestereva>
*www.AerialServicesInc.com* <http://www.aerialservicesinc.com/> |
Photo{blog}metry <http://aerialservicesinc.com/photoblogmetry/>*
<http://www.aerialservicesinc.com/>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20150722/7f3f1e5b/attachment.html>
More information about the MapProxy
mailing list