[MapProxy] How to reproject OSM tiles

gdis at arcor.de gdis at arcor.de
Mon Jan 21 03:57:40 PST 2013


Hi all,

I want to reproject OSM tiles to EPSG:31466? so I can use it as WMS (is it also possible to serve it as TMS?)
I have a osm source with a custom grid and a cache:

caches:
  osm_tile_cache:
    grids: [GLOBAL_MERCATOR]
    sources: [osm_tiles]

sources:
  osm_tiles:
    type: tile
    grid: global_mercator_osm
    url: http://tile.openstreetmap.org/%(tms_path)s.%(format)s

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


But how do i serve these tiles in EPSG:31466?
I tried another custom grid with EPSG:31466 and created a cache with that grid. Unfortunately without any luck. MapProxy said that the EPSG do not match.
Anyone has a tip for me?

Thank you very much.

Cheers
HS


More information about the MapProxy mailing list