[MapProxy] Strange output picture

Oliver Tonnhofer olt at omniscale.de
Mon Jul 9 03:02:56 PDT 2012


On 06.07.2012, at 17:23, Andrey Maraev wrote:
> sources: 
>   arcgis_tms:
>     type: tile
>     url: http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/%(z)s/%(y)s/%(x)s
> grids:
>   arcgis_online:
>     base: GLOBAL_MERCATOR
>     num_levels: 18
>     origin: nw

You need to reference the arcgis_online grid in your source configuration.
http://mapproxy.org/docs/nightly/sources.html#grid


[...]
> then I changed it to http://c.tile.openstreetmap.org/%s/%s/%s.png and get many mistakes like: TypeError: not enough arguments for format string,

You are missing the x, y, z arguments here (e.g. '%(x)s').


Regards,
Oliver

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






More information about the MapProxy mailing list