<html><head><base href="x-msg://743/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Frederick,<div><br></div><div><div>you have to add the origin parameter to the grid and not to the source. Using the origin parameter with a source is deprecated since version 1.3.0. </div><div><br></div><div>For example, this should be work: </div><div><br></div><div>sources:</div><div>  osm_tms:</div><div>    type: tile</div><div>    grid: global_mercator_osm</div><div>    url: <a href="http://c.tile.openstreetmap.org/%(tms_path)s.png">http://c.tile.openstreetmap.org/%(tms_path)s.png</a></div><div><br></div><div>grids:</div><div>  global_mercator_osm:</div><div>    base: GLOBAL_MERCATOR</div><div>    num_levels: 18</div><div>    origin: nw</div></div><div><br></div><div>By the way, remember that the OpenStreetMap project has limited resources. </div><div><br></div><div>Best regards</div><div>Dominik</div><div><br></div><div><br><div><div>Am 25.06.2012 um 13:05 schrieb Frederick Löbig:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="hmmessage" style="font-size: 10pt; font-family: Tahoma; "><div dir="ltr">Hi List,<div><br></div><div>Glad I found this mailing list because I'm pretty new to Mapproxy. What I've seen so far is very impressive!!</div><div><br></div><div>So, I got almost everything running fine. The core idea is, to use mapproxy as a proxy to provide OSM Tileserver tiles via a WMS, because the software I am using can't handle direct Tileserver requests and therefore has to use WMS. I've been playing around with rendering OSM tiles by myself with PostGIS and GeoServer, but either seeding the tiles with GWC or directly rendering the maps needs a lot of server power as all of you might know. So I thought, Mapproxy is the way to go!</div><div><br></div><div>The problem I have now is: I have the mapproxy up and running and when I add a WMS layer, the tiles appear, so no problem with the data connection there. Unfortunately, the tiles are in the wrong order, even with the recommended "origin" setting. You can find a screenshot of the resulting map here:</div><div><br></div><div><a href="http://www.electricuted.com/mapproxy_map.PNG">http://www.electricuted.com/mapproxy_map.PNG</a> </div><div><br></div><div>The configuration file I am using is the following (I have tried to have it very compact, so that it's not confusing):</div><div><br></div><div>-------------------------------------------------------------------------</div><div><pre style="word-wrap: break-word; white-space: pre-wrap; ">#MapProxy Test server for OpenStreetMap Data

services:
   demo:
   kml:
   tms:
   wms:
     srs: ['EPSG:4326', 'EPSG:900913', 'EPSG:3857', 'EPSG:25832']
     image_formats: ['image/jpeg', 'image/png']
     md:
       title: MapProxy OpenStreetMap WMS Proxy
       abstract: MapProxy Test Server for OpenStreetMap Data
       fees: 'None'

layers:
   - name: osm
     title: OpenStreetMap
     sources: [osm_cache]

caches:
   osm_cache:
     grids: [global_mercator_osm]
     sources: [osm_tms]

sources:
   osm_tms:
     type: tile
     url: <a href="http://c.tile.openstreetmap.org/%(tms_path)s.png">http://c.tile.openstreetmap.org/%(tms_path)s.png</a>
     origin: nw

grids:
   global_mercator_osm:
     base: GLOBAL_MERCATOR
     num_levels: 18

   image:
       #resampling_method: nearest
       resampling_method: bicubic</pre>------------------------------------------------------------------------- </div><div><br></div><div>I can imagine, that it only is a very small thing I forgot or misconigured. Hopefully, some of you can help me with this :)</div><div><br></div><div>Thanks in advance,</div><div>Freddy</div><div><br><div>---<br><b><span class="ecxApple-style-span" style="font-family: arial; font-weight: normal; font-size: small; "><b>B.Eng. Frederick Löbig<br></b></span></b><span class="ecxApple-style-span" style="font-family: arial; font-weight: normal; font-size: small; ">Ingenieur für Geomatik und Geodäsie</span><br><b><span class="ecxApple-style-span" style="font-family: arial; font-weight: normal; font-size: small; "><b><br></b>Röderichstraße 59<br>60489 Frankfurt am Main<br>---<br>E:: <a href="mailto:Frederick.Loebig@grunsnid.de">Frederick.Loebig@grunsnid.de</a><br>P: +49 (0) 69 - 78 99 52 41<br>M: +49 (0) 174 - 70 89 296<br>---<br><b>Office:</b><br><b>euNetworks GmbH</b><br>Ludwig-Landmann-Straße 405<div>60486 Frankfurt am Main</div><div>P: +49 (0) 69 - 90 554 - 534<br>E: <a href="mailto:Frederick.Loebig@eunetworks.com">Frederick.Loebig@eunetworks.com</a><br>S: floebig<br><br>This email and any attachments may contain confidential and/or legally privileged information. If you are not the intended recipient, please delete the email without reading it and notify the sender.</div></span></b></div><div style="z-index: -1; top: 0px; left: 0px; width: 798px; height: 294px; "></div></div></div>_______________________________________________<br>MapProxy mailing list<br><a href="mailto:MapProxy@lists.osgeo.org">MapProxy@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/mapproxy">http://lists.osgeo.org/mailman/listinfo/mapproxy</a><br></div></blockquote></div><br></div></body></html>