[MapProxy] problem with WMS srs and bbox parameters in 0.9.0

Oliver Tonnhofer tonnhofer at omniscale.de
Fri Oct 22 02:34:36 EDT 2010


Hi,

On 21.10.2010, at 11:24, Sebastian Schwarz wrote:
>  But in the GetCapabilities-request of MapProxy both the bounding box and the projection of our WMS service are stated in standard WGS84 (EPSG:4326):
> 
> ...
> <Layer>
>    <Name>test</Name>
>    <Title>Test</Title>
>    <LatLonBoundingBox minx="11.6926977132" miny="53.9807254192" maxx="12.5224060274" maxy="54.3142074928" />
>    <BoundingBox SRS="EPSG:4326" minx="11.6926977132" miny="53.9807254192" maxx="12.5224060274" maxy="54.3142074928" />
> </Layer>
> ...

MapProxy only advertises EPSG:4326 BBOX since most clients can reproject that and a list with all configured SRS would become quite large. But it might be a good feature to have more that one SRS as an option.

> And in the GetMap-request the SRS parameter is EPSG:4326 and the bounding box is everything but correct:
> 
> LAYERS=test&FORMAT=image/png&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application/vnd.ogc.se_inimage&SRS=EPSG:4326&BBOX=-210.9375,-140.625,210.9375,140.625&WIDTH=600&HEIGHT=400 HTTP/1.1" 200 1092 "http://kataster1.sv.rostock.de:8180/demo/?wms_layer=test&format=image/png 

If I see it correctly, then this request is from your client. So it shouldn't be an issue of MapProxy.

> So, some wrong or forgotten parameter somewhere in the MapProxy configuration files (most probably in the mapproxy.yaml) is sort of forcing the usage of EPSG:4326 and consequently leading to what seems to us as an unwanted "reprojection" from EPSG:4326 to EPSG:4326 with the parameters of the reprojection from EPSG:2398 to EPSG:4326. 

Maybe, I can't tell you that without any configuration. :)

Regards,
Oliver

-- 
Oliver Tonnhofer <olt at omniscale.de>
Omniscale - Dominik Helle, Oliver Tonnhofer GbR
Nadorster Str. 60, 26123 Oldenburg
Tel: +49(0)441/9392774-2 (Fax: 9)



More information about the MapProxy mailing list