<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Andrey,<div><br></div><div>you also have to add the grid to the source for example like this:</div><div><br></div><div><div>sources:</div><div>  osm_tms:</div><div>    type: tile</div><div>    grid: grid_osm # ADD GRID TO SOURCE</div><div>    url: <a href="http://c.tile.openstreetmap.org/%(z)s/%(x)s/%(y)s.png">http://c.tile.openstreetmap.org/%(z)s/%(x)s/%(y)s.png</a></div><div><br></div><div>grids:</div><div>  grid_osm:</div><div>    base: GLOBAL_MERCATOR</div><div>    num_levels: 18</div><div>    origin: nw</div></div><div><br></div><div>Regards</div><div>Dominik</div><div><br></div><div>-- </div><div><div><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div>Dominik Helle <<a href="mailto:helle@omniscale.de">helle@omniscale.de</a>><br>Omniscale GmbH & Co KG | <a href="http://omniscale.com/">http://omniscale.com</a>  <br>MapProxy | <a href="http://mapproxy.org">http://mapproxy.org</a></div><div><br></div><div><br></div><div><br></div></span></div></div><div><div>Am 11.07.2012 um 09:54 schrieb Andrey Maraev:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>I changed it:</div><div><div>sources:</div><div>  osm_tms:</div><div>     type: tile</div><div>     url: <a href="http://c.tile.openstreetmap.org/%(z)s/%(x)s/%(y)s.png">http://c.tile.openstreetmap.org/%(z)s/%(x)s/%(y)s.png</a></div>
<div>  arcgis_tms:</div><div>     type: tile</div><div>     url: <a href="http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/%(z)s/%(y)s/%(x)s">http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/%(z)s/%(y)s/%(x)s</a></div>
<div>grids:</div><div>  grid_osm:</div><div>    tile_size: [256, 256]</div><div>    srs: EPSG:3857</div><div>    origin: nw</div><div>  grid_arcgis:</div><div>    tile_size: [256, 256]</div><div>    srs: EPSG:3857</div><div>
    origin: nw</div><div>   </div></div><div>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 
<span style="font-family:arial,sans-serif;font-size:13px;white-space:nowrap;background-color:rgb(255,255,255)">specifically</span> should I do with my grids? </div><div>P.S: Maybee should I set some resolutions or something else? The browser's caches have already cleared but result is the same(</div>
<br><br><div class="gmail_quote">2012/7/9 Oliver Tonnhofer <span dir="ltr"><<a href="mailto:olt@omniscale.de" target="_blank">olt@omniscale.de</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
On 06.07.2012, at 17:23, Andrey Maraev wrote:<br>
> sources:<br>
>   arcgis_tms:<br>
>     type: tile<br>
>     url: <a href="http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/%(z)s/%(y)s/%(x)s" target="_blank">http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/%(z)s/%(y)s/%(x)s</a><br>

> grids:<br>
>   arcgis_online:<br>
>     base: GLOBAL_MERCATOR<br>
>     num_levels: 18<br>
>     origin: nw<br>
<br>
</div>You need to reference the arcgis_online grid in your source configuration.<br>
<a href="http://mapproxy.org/docs/nightly/sources.html#grid" target="_blank">http://mapproxy.org/docs/nightly/sources.html#grid</a><br>
<br>
<br>
[...]<br>
<div class="im">> then I changed it to <a href="http://c.tile.openstreetmap.org/%s/%s/%s.png" target="_blank">http://c.tile.openstreetmap.org/%s/%s/%s.png</a> and get many mistakes like: TypeError: not enough arguments for format string,<br>

<br>
</div>You are missing the x, y, z arguments here (e.g. '%(x)s').<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
Regards,<br>
Oliver<br>
<br>
--<br>
Oliver Tonnhofer    | Omniscale GmbH & Co KG    | <a href="http://omniscale.de/" target="_blank">http://omniscale.de</a><br>
<a href="http://mapproxy.org/" target="_blank">http://mapproxy.org</a> | <a href="https://bitbucket.org/olt" target="_blank">https://bitbucket.org/olt</a> | @oltonn<br>
<br>
<br>
<br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>lernen,lernen und lernen<br><br>
_______________________________________________<br>MapProxy mailing list<br><a href="mailto:MapProxy@lists.osgeo.org">MapProxy@lists.osgeo.org</a><br>http://lists.osgeo.org/mailman/listinfo/mapproxy<br></blockquote></div><br></body></html>