[MapProxy] URL with @ symbol in mapproxy.yaml

Ben Field ben at geocaching.com
Thu Jan 11 13:41:20 PST 2018


That results in an internal error:  "TypeError: not enough arguments for
format string".

But that made me try this:
http://localhost/tiles/%(tms_path)s/whatever%%402x.png

And that works.  Thanks for the assistance.



On Thu, Jan 11, 2018 at 12:17 PM, Denis Rykov <rykovd at gmail.com> wrote:

> Hello,
>
> Could you try such URL format:
> http://localhost/tiles/%(tms_path)s/whatever%402x.png?
>
> On Wed, Jan 10, 2018 at 8:12 AM, Ben Field <ben at geocaching.com> wrote:
> > When defining a tile source in mapproxy.yaml that has an @ in the URL
> > parameter, it's effectively hosing everything preceding it.
> >
> > For example, if the URL is defined like this:
> >
> > url: http://localhost/tiles/%(tms_path)s/whatever at 2x.png
> >
> >
> > MapProxy will generate the following error:
> >
> > No response from URL "http://2x.png": Name or service not known
> >
> >
> > I tried escaping it, but that didn't work.  Is this a bug or is there
> some
> > way to use the @ symbol in the URL?  This issue didn't exist in MapProxy
> > v1.9.0.
> >
> >
> >
> >
> >
> > _______________________________________________
> > MapProxy mailing list
> > MapProxy at lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/mapproxy
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20180111/30f225ac/attachment.html>


More information about the MapProxy mailing list