[MapProxy] Y Axis issue

Oliver Tonnhofer olt at omniscale.de
Mon Jul 31 01:59:13 PDT 2017


Hi,

a tile source has a grid as well. 

Try:

    sources:
      gisdb_tms:
        grid: webmercator
	type: tile
        url: http://localhost:1234/styles/positron/%(z)s/%(x)s/%(y)s.png
        transparent: true


Regards,
Oliver

-- 
Oliver Tonnhofer  | Omniscale GmbH & Co KG  | https://omniscale.com
OpenStreetMap WMS and tile services         | https://maps.omniscale.com





> On 28.07.2017, at 11:59, Oliver Baadte <Oliver.Baadte at kleffmann.com> wrote:
> 
> I’m using Tilserver-GL to server tiles. In order to get a WMS, I want to use MapProxy to convert TMS to WMS. The Problem is that the Y axis seems to be reversed and any changes on SRS, GRID, ORIGIN etc. seem to be ignored. This is my MapProxy.YAML:
>  
> services:
>       demo:
>       tms:
>         use_grid_names: true
>         # origin for /tiles service
>         origin: 'nw'
>       kml:
>           use_grid_names: true
>       wmts:
>       wms:
>         md:
>           title: MapProxy WMS Proxy
>           abstract: This is a minimal MapProxy example.
>     
>     layers:
>       - name: gisdb
>         title: gisdb WMS
>         sources: [gisdb_cache]
>     
>     caches:
>       gisdb_cache:
>         grids: [osm_grid]
>         sources: [gisdb_tms]
>         disable_storage: true
>     
>     sources:
>       gisdb_tms:
>         type: tile
>         url: http://localhost:1234/styles/positron/%(z)s/%(x)s/%(y)s.png
>         transparent: true
>     
>      grids:
>         webmercator:
>             base: GLOBAL_WEBMERCATOR
>         osm_grid:
>             base: GLOBAL_MERCATOR
>             srs: 'EPSG:3857'
>            origin: 'sw'
>     globals:
> <Untitled.png>_______________________________________________
> MapProxy mailing list
> MapProxy at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapproxy



More information about the MapProxy mailing list