<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class="">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.</div><div class=""><br class=""></div><div class="">I did fresh installation of MapProxy 1.8.0 and my current mapproxy.yaml looks like this:</div><div class=""><br class=""></div><div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class=""><div class="">services:</div></div><div class=""><div class=""> demo:</div></div><div class=""><div class=""> tms:</div></div><div class=""><div class=""> use_grid_names: false</div></div><div class=""><div class=""> origin: 'nw'</div></div><div class=""><div class=""><br class=""></div></div><div class=""><div class="">layers:</div></div><div class=""><div class=""> - name: sverige</div></div><div class=""><div class=""> title: sverige</div></div><div class=""><div class=""> sources: [cache_sverige]</div></div><div class=""><div class=""><br class=""></div></div><div class=""><div class="">caches:</div></div><div class=""><div class=""> cache_sverige:</div></div><div class=""><div class=""> grids: [GLOBAL_WEBMERCATOR]</div></div><div class=""><div class=""> meta_size: [4, 4]</div></div><div class=""><div class=""> sources: [cache_sverige_original]</div></div><div class=""><div class=""> disable_storage: true</div></div><div class=""><div class=""> cache:</div></div><div class=""><div class=""> type: mbtiles</div></div><div class=""><div class=""> cache_sverige_original:</div></div><div class=""><div class=""> grids: [grid_sverige]</div></div><div class=""><div class=""> disable_storage: true</div></div><div class=""><div class=""> sources: [source_sverige]</div></div><div class=""><div class=""><br class=""></div></div><div class=""><div class="">sources:</div></div><div class=""><div class=""> source_sverige:</div></div><div class=""><div class=""> type: tile</div></div><div class=""><div class=""> grid: grid_sverige</div></div><div class=""><div class=""> url: '<a href="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'" class="">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'</a></div></div><div class=""><div class=""><br class=""></div></div><div class=""><div class="">grids:</div></div><div class=""><div class=""> grid_sverige:</div></div><div class=""><div class=""> srs: EPSG:25833</div></div><div class=""><div class=""> bbox: "227879.8880, 3932632.6543, 1044484.3835, 8893131.0281"</div></div><div class=""><div class=""> origin: nw</div></div></blockquote><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Basically what I am doing here is to get tiles in global_webmercator from EPSG:25833 source. GetCapabilities of the source is here <a href="http://opencache.statkart.no/gatekeeper/gk/gk.open_wmts?service=WMTS&request=GetCapabilities&version=1.0.0" class="">http://opencache.statkart.no/gatekeeper/gk/gk.open_wmts?service=WMTS&request=GetCapabilities&version=1.0.0</a>. 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.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">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?</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Best Regards,</div><div class="">Mikko Kutilainen</div><div class=""><br class=""></div></body></html>