[MapProxy] Problem with custom projections

Oliver Tonnhofer olt at omniscale.de
Fri Dec 17 04:41:46 EST 2010


On 17.12.2010, at 10:37, Guillaume Sueur wrote:

> got it : in grid.py, line 80, default bbox for 4326 shouldn't use -90 and 90 but -89.9999 and +89.9999
> 
> hope that helps


Not really. As I have written, the BBOX is the base of the grid calculations and a small change here will result in large errors in the BBOX of the tiles at level 16, 17, etc. 

If it works for you, then you can define your own grid:

  mygrid:
    base: GLOBAL_GEODETIC
    bbox: [-180, -89.9999999, 180, 89.9999999]


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