[MapProxy] OSM-Tiles in MapProxy 1.4

"Jäger, Frank (KRZ)" F.Jaeger at KRZ.DE
Tue Jun 5 04:43:59 PDT 2012


Hallo,
I have an MapProxy 1.1.2 running about a year.
Now all has to move to a new machine. I installed a MapProxy 1.4 as 'multiapp' and tried to use parts of the old configuration. 

It caches some OpenStreetMap-Tiles für local use as WMS.
This doesn't work on 1.4. I get only a blue background (see ?).


* base.yaml *
-------------

grids:
  global_mercator_osm:
    base: GLOBAL_MERCATOR
    num_levels: 19
    origin: nw


* projects/osm_mapnik.yaml *
----------------------------

services:
  wms:
    srs: ['EPSG:4326', 'EPSG:25832', 'EPSG:31467', 'EPSG:54004']
layers:
  - name: mapnik
    title: Mapnik
    sources: [osm_mapnik_c]
caches:
  osm_mapnik_c:
    grids: [global_mercator_osm]
    sources: [osm_mapnik_tile]
sources:
  osm_mapnik_tile:
    type: tile
    url: http://a.tile.openstreetmap.org/%(tms_path)s.png
    #origin: nw
    coverage:
      bbox: "451000,5737000,525000,5822000"
      bbox_srs: "EPSG:25832"

**

The "origin"-Option has moved from "sources" to "grids".
What else must change from MapProxy Vers. 1.1. to 1.4 to get it work?


Mit freundlichen Grüßen
Frank Jäger



More information about the MapProxy mailing list