[MapProxy] Strange output picture

Andrey Maraev asmaraev at gmail.com
Wed Jul 11 00:54:01 PDT 2012


I changed it:
sources:
  osm_tms:
     type: tile
     url: http://c.tile.openstreetmap.org/%(z)s/%(x)s/%(y)s.png
  arcgis_tms:
     type: tile
     url:
http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/%(z)s/%(y)s/%(x)s
grids:
  grid_osm:
    tile_size: [256, 256]
    srs: EPSG:3857
    origin: nw
  grid_arcgis:
    tile_size: [256, 256]
    srs: EPSG:3857
    origin: nw

First level shows fine but then I still see the same confuse picture. A
feeling that origin:nw is not work well. Dears, what am I doing wrong?
What  specifically should I do with my grids?
P.S: Maybee should I set some resolutions or something else? The browser's
caches have already cleared but result is the same(


2012/7/9 Oliver Tonnhofer <olt at omniscale.de>

>
> 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
>
>
>
>
>


-- 
lernen,lernen und lernen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20120711/8a65bc12/attachment.html>


More information about the MapProxy mailing list