[MapProxy] ERROR - SRS of cache and tile source do not match: SRS('EPSG:900913') != SRS('EPSG:4326')

Oliver Tonnhofer olt at omniscale.de
Thu Nov 7 06:09:28 PST 2013


On 07.11.2013, at 14:54, G. Allegri wrote:

> I'm obtaining the error in the subject when I access my_layer via WMS service. In the configuration I've set the grid to GLOBAL_GEODETIC and I thought it was enough to define the grid SRS. What am I doing wrong?
> [....]
> caches:
>   my_cache:
>     grids: [geodetic]
>     sources: [my_source]
> 
> sources:
>   my_source:
>     type: tile
>     url: my_url
     grid: geodetic

The tile source defaults to GLOBAL_MERCATOR and you need to it explicitly if you want to use another grid.

Regards,
Oliver

-- 
Oliver Tonnhofer    | Omniscale GmbH & Co KG    | http://omniscale.com
http://mapproxy.org | https://github.com/olt    | @oltonn









More information about the MapProxy mailing list