[MapProxy] wms-c Tileset bbox srs

lionel b lionel.bargeot at gmail.com
Tue Nov 29 09:57:35 EST 2011


Hi Oliver,

I Installed a fresh mapproxy 1.2.1 and configured a grid like this :

   myl93grid:
     srs: EPSG:2154
     bbox: [-357824, 6037007,1313633, 7230727]
     bbox_srs: 'EPSG:2154'
     res: [...]

And I have the same problem as before : the wms-c getcapabilities 
doesn't return the native srs bbox :

     <TileSet>
       <SRS>EPSG:2154</SRS>
       <BoundingBox SRS="EPSG:4326" minx="-12.2064499466" miny="40.6810042487"
maxx="11.89399372" maxy="52.1355668844" />


With the previous patched version I get :

  <TileSet>
       <SRS>EPSG:2154</SRS>
       <BoundingBox SRS="EPSG:2154" minx="-357824.0" miny="6037007.0" maxx="1313633.0"
maxy="7230727.0" />


Do I have to patch this mapproxy version too ?

Thanks,

Lionel


Le 28/09/2011 09:25, Oliver Tonnhofer a écrit :
> Hi Lionel,
>
> On 27.09.2011, at 10:41, lionel b wrote:
>> I found this answer  :
>> On 14.04.2011, at 09:12, Fabrellas Bertran, Isabel wrote:
>>>>   Hi,
>>>>   >   I see MapProxy does not advertise the BBOX for each supported SRS in the GetCapabilities request, only for EPSG:4326. Is there a way to modify it?
>> No, that's not configurable at the moment.
>>
>> Regards,
>> Oliver
>>
>> Will that be supported in the future ?
> That's a different issue. The WMS-C should return the BBOX in the SRS of the tile grid. So that one is a bug. I pushed a fix for that (in the 1.2.x and default branch).
>
> The capabilites now also contain the native BBOX of the layer (e.g. if your layer has a cache in EPSG:3857, you will also see that BBOX). This is in the default branch.
>
> To upgrade:
>    pip install -U --no-deps https://bitbucket.org/olt/mapproxy/get/default.tar.bz2
> or
>    pip install -U --no-deps https://bitbucket.org/olt/mapproxy/get/1.2.x.tar.bz2
>
>
> Thanks for reporting that issue.
>
> Regards,
> Oliver
>



More information about the MapProxy mailing list