[MapProxy] Grid Assert Error for WMTS.

Oliver Tonnhofer olt at omniscale.de
Mon Oct 1 05:01:42 PDT 2012


On 28.09.2012, at 18:37, Raffaello Bertini wrote:

> I've got an error with mapproxy 1.4 when a clients request a wmts map.
> here the error:
> 
>   File "C:\Python27\lib\site-packages\mapproxy-1.4.0-py2.7.egg\mapproxy\service\
> wmts.py", line 193, in __iter__
>     origin = self.grid.origin_tile(level, 'ul')
>   File "C:\Python27\lib\site-packages\mapproxy-1.4.0-py2.7.egg\mapproxy\grid.py"
> , line 443, in origin_tile
>     assert self.supports_access_with_origin(origin), 'TODO error exception'
> AssertionError: TODO error exception

Not all grids are valid for WMTS. 


> the grid config:
> grids:
>   global_mercator_osm:
>     origin: nw
>     #base: GLOBAL_MERCATOR
>     srs: 'EPSG:4326'
>     num_levels: 22
> 
> Can Someone help me to resolve this problem? 
> thanks.

Please provide your full configuration and an example request.

Regards,
Oliver

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








More information about the MapProxy mailing list