[MapProxy] Python 3 support for MapProxy

Jean-Claude Repetto jrepetto at free.fr
Mon Jan 6 03:11:44 PST 2014


Le 06/01/2014 09:31, Oliver Tonnhofer a écrit :
>
> What Python version are you using? And what request did you make?
>

Hello,

I am using Python 3.3.2.
The error message is displayed every time I try to open 
http://localhost:8080 in a browser. The request times out.

The osm.xml file contains :


services:
   demo:
   wms:
     srs: ['EPSG:3857']
     image_formats: ['image/png']
     md:
       title: OpenStreetMap
       online_resource: http://www.openstreetmap.org

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

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

sources:
   osm_tms:
     type: tile
     grid: pseudo_mercator
     url: http://b.tile.openstreetmap.org/%(tms_path)s.png
     transparent: true

grids:
   pseudo_mercator:
      srs: 'EPSG:3857'
      bbox: [-20037508.34, -20037508.34, 20037508.34, 20037508.34]
      origin: nw

globals:
   cache:
     base_dir: './cache_data'
     lock_dir: './cache_data/locks'

   image:
       resampling_method: nearest



Regards,
Jean-Claude




More information about the MapProxy mailing list