[MapProxy] WMTS source reprojection problem

Oliver Tonnhofer olt at omniscale.de
Tue Feb 9 06:50:49 PST 2016


Hi,

grid_sverige must match the EPSG:25832 tilematrixset from your source.

See: https://lists.osgeo.org/pipermail/mapproxy/2013-August/001674.html
 

Regards,
Oliver

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




> On 07.02.2016, at 16:31, Mikko Kutilainen <mikko93 at gmail.com> wrote:
> 
> Hi,
> I would like to use WMTS service as a source with projection EPSG:3006 and serve that as tiles in global_webmercator grid. I am demonstrating my problem with other grid and source because the one I want to use is not public.
> 
> I did fresh installation of MapProxy 1.8.0 and my current mapproxy.yaml looks like this:
> 
> 
> services:
>   demo:
>   tms:
>     use_grid_names: false
>     origin: 'nw'
> 
> layers:
>   - name: sverige
>     title: sverige
>     sources: [cache_sverige]
> 
> caches:
>   cache_sverige:
>     grids: [GLOBAL_WEBMERCATOR]
>     meta_size: [4, 4]
>     sources: [cache_sverige_original]
>     disable_storage: true
>     cache:
>       type: mbtiles
>   cache_sverige_original:
>     grids: [grid_sverige]
>     disable_storage: true
>     sources: [source_sverige]
> 
> sources:
>   source_sverige:
>     type: tile
>     grid: grid_sverige
>     url: 'http://opencache.statkart.no/gatekeeper/gk/gk.open_wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=europa&STYLE=default&TILEMATRIXSET=EPSG:25833&TILEMATRIX=EPSG:25833:%(z)s&TILEROW=%(y)s&TILECOL=%(x)s&FORMAT=image/png'
> 
> grids:
>   grid_sverige:
>     srs: EPSG:25833
>     bbox: "227879.8880, 3932632.6543, 1044484.3835, 8893131.0281"
>     origin: nw
> 
> 
> 
> Basically what I am doing here is to get tiles in global_webmercator from EPSG:25833 source. GetCapabilities of the source is here http://opencache.statkart.no/gatekeeper/gk/gk.open_wmts?service=WMTS&request=GetCapabilities&version=1.0.0. I know there would be tiles in correct projection, but I want to test reprojection because there is no other projections in my source what I want to use.
> 
> 
> With request "/tiles/sverige_EPSG3857/9/278/141.png" I get just blue ocean tile instead of land piece from sverige. I have been struggling with this problem for one week now. Can anyone say what I am doing wrong with the reproduction?
> 
> 
> 
> 
> 
> Best Regards,
> Mikko Kutilainen
> 
> _______________________________________________
> MapProxy mailing list
> MapProxy at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapproxy



More information about the MapProxy mailing list