<div class="gmail_quote">Thanx Oliver,<div>yes, I was using this:</div><div><div class="im"><div>sources: </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" target="_blank">http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/%(z)s/%(y)s/%(x)s</a></div>
</div><div class="im"><div>grids:</div><div> arcgis_online:</div><div> base: GLOBAL_MERCATOR</div><div> num_levels: 18</div></div><div> <b>origin: nw</b></div><div><b><br></b></div><div>But I'm still getting this mix: <a href="http://img-fotki.yandex.ru/get/5804/5372191.0/0_76c21_4563963e_orig" target="_blank">http://img-fotki.yandex.ru/get/5804/5372191.0/0_76c21_4563963e_orig</a></div>
I suppose I have false url and should change this:
%(z)s/%(y)s/%(x)s </div><div>Also I tried OSM url like: <a href="http://c.tile.openstreetmap.org/%(tms_path)s.png" target="_blank">http://c.tile.openstreetmap.org/%(tms_path)s.png</a> and get the same strange picture, 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: <b>TypeError: not enough arguments for format string, </b>finally I added supported_format: image/png but the problem remained.</div>
<div>Any ideas?<div><div class="h5"><br><div class="gmail_quote"><br></div><div class="gmail_quote">2012/7/5 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><br>
On 05.07.2012, at 16:51, Andrey Maraev wrote:<br>
> Could you please give me advice what I am doing wrong?<br>
><br>
</div><div>> 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>
<br>
</div>I guess that this service has a different origin (north west instead of the default TMS origin (south west)).<br>
You need to create a grid with origin: nw and use that grid for your tile source.<br>
<br>
<a href="http://mapproxy.org/docs/nightly/configuration.html#id5" target="_blank">http://mapproxy.org/docs/nightly/configuration.html#id5</a><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>
Regards,<br>
Oliver<br>
<span><font color="#888888"><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>
</font></span></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br>lernen,lernen und lernen<br><br>
</font></span></div>
</div><br><br clear="all"><div><br></div>-- <br>lernen,lernen und lernen<br><br>