[MapProxy] cascading a tile service with space in url
LionelB
lionel.bargeot at gmail.com
Fri Jun 4 05:39:19 PDT 2021
Hello
I would like to cascade this service https://wxs.ign.fr/beta/geoportail/wmts
It works fine except for one layer/style :
https://wxs.ign.fr/beta/geoportail/wmts?service=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=CADASTRALPARCELS.PARCELLAIRE_EXPRESS&TILEMATRIXSET=PM&TILEMATRIX=%(z)s&TILEROW=%(y)s&TILECOL=%(x)s&FORMAT=image/png&STYLES=PCI
vecteur&
The problem is the space in STYLEs description : STYLES=PCI vecteur
Directly in
https://wxs.ign.fr/beta/geoportail/wmts?service=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=CADASTRALPARCELS.PARCELLAIRE_EXPRESS&TILEMATRIXSET=PM&TILEMATRIX=15&TILEROW=11464&TILECOL=16202&STYLE=PCI%20vecteur&FORMAT=image/png
works fine
But it doesn't work in my yaml config file, mapproxy crashes : TypeError:
not enough arguments for format string
I've already tried to escape space
 
\u0020
without success.
Many thanks
Lionel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20210604/b9b5455b/attachment.html>
More information about the MapProxy
mailing list