[MapProxy] wmts kvp - internal error when getting tile
Oliver Tonnhofer
olt at omniscale.de
Mon Jun 19 23:59:17 PDT 2017
Hi,
this is related to https://github.com/mapproxy/mapproxy/issues/315
Regards,
Oliver
--
Oliver Tonnhofer | Omniscale GmbH & Co KG | https://omniscale.com
OpenStreetMap WMS and tile services | https://maps.omniscale.com
> On 13.06.2017, at 17:19, Travis Kirstine <traviskirstine at gmail.com> wrote:
>
> I'm getting a internal error when fetching a tile from the WMTS KVP service using QGIS.
> From some older posting it appears that there can be a issue with the client application incorrectly requesting the tilematrix as a string (1 instead of 01). However I would expect this to work at higher tilematrixes > 10 which it doesn't
>
> The error is below:
>
>
> Traceback (most recent call last):
> File "/usr/lib64/python2.7/site-packages/mapproxy/wsgiapp.py", line 189, in __call__
> resp = self.handlers[handler_name].handle(req)
> File "/usr/lib64/python2.7/site-packages/mapproxy/service/ows.py", line 38, in handle
> return self.services[service].handle(req)
> File "/usr/lib64/python2.7/site-packages/mapproxy/service/base.py", line 30, in handle
> return handler(parsed_req)
> File "/usr/lib64/python2.7/site-packages/mapproxy/service/wmts.py", line 93, in tile
> tile = tile_layer.render(request, coverage=limited_to, decorate_img=decorate_img)
> File "/usr/lib64/python2.7/site-packages/mapproxy/service/tile.py", line 308, in render
> dimensions=dimensions, with_metadata=True)
> File "/usr/lib64/python2.7/site-packages/mapproxy/cache/tile.py", line 110, in load_tile_coord
> self.cache.load_tile(tile, with_metadata)
> File "/usr/lib64/python2.7/site-packages/mapproxy/cache/riak.py", line 132, in load_tile
> res = self._get_object(tile.coord)
> File "/usr/lib64/python2.7/site-packages/mapproxy/cache/riak.py", line 64, in _get_object
> key = '%(z)d_%(x)d_%(y)d' % locals()
> TypeError: %d format: a number is required, not unicode
>
> _______________________________________________
> MapProxy mailing list
> MapProxy at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapproxy
More information about the MapProxy
mailing list