[MapProxy] Fwd: Strange output picture

Andrey Maraev asmaraev at gmail.com
Fri Jul 6 08:23:04 PDT 2012


Thanx Oliver,
yes, I was using this:
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*
*
*
But I'm still getting this mix:
http://img-fotki.yandex.ru/get/5804/5372191.0/0_76c21_4563963e_orig
I suppose I have false url and should change this:  %(z)s/%(y)s/%(x)s
Also I tried OSM url like:
http://c.tile.openstreetmap.org/%(tms_path)s.png and get the same strange
picture, then I changed it to
http://c.tile.openstreetmap.org/%s/%s/%s.pngand get many mistakes
like:
*TypeError: not enough arguments for format string, *finally I added
supported_format: image/png but the problem remained.
Any ideas?


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

>
> On 05.07.2012, at 16:51, Andrey Maraev wrote:
> > Could you please give me advice what I am doing wrong?
> >
> > sources:
> >   arcgis_tms:
> >     type: tile
> >     url:
> http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/%(z)s/%(y)s/%(x)s
>
> I guess that this service has a different origin (north west instead of
> the default TMS origin (south west)).
> You need to create a grid with origin: nw and use that grid for your tile
> source.
>
> http://mapproxy.org/docs/nightly/configuration.html#id5
> http://mapproxy.org/docs/nightly/sources.html#grid
>
>
>
> Regards,
> Oliver
>
> --
> Oliver Tonnhofer    | Omniscale GmbH & Co KG    | http://omniscale.de
> http://mapproxy.org | https://bitbucket.org/olt | @oltonn
>
>
>
>
>


-- 
lernen,lernen und lernen




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


More information about the MapProxy mailing list