<div dir="ltr"><span style="font-size:12.8000001907349px">Hello,</span><div style="font-size:12.8000001907349px"><br><div style="font-size:12.8000001907349px">We are using MapProxy 1.8.0, the problem is seen both running under Apache 2.2 and `<span style="font-size:12.8000001907349px">mapproxy-util serve-develop`.</span><br></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"><br></span></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">The source data are WMTS tiles in EPSG:21781 projection. When reprojecting to WGS1984, either as WMS or WMTS, some data are missing. This pattern is not shown with other projection, like EPSG:3857 (webmercator).</span></div><div style="font-size:12.8000001907349px"><br></div><div><div style="font-size:12.8000001907349px">The "minimal" config reproducing the error is in attachement (test.yaml). <span style="font-size:12.8000001907349px"> </span><span style="font-size:12.8000001907349px">On this screeshot, we see that the reprojected data (in green) are not displayed west of the prime origin projection prime meridian (600'000m, at Bern).</span></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">The light grey data are show for orientation only (source is another WMS service).</span></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><img src="cid:ii_14f97d9fee5f7906" alt="Images intégrées 1" width="348" height="182"><br></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">I did the following requests against <font face="monospace, monospace">mapproxy-util serve-develop --debug -b <a href="http://127.0.0.1:9001/" target="_blank">127.0.0.1:9001</a> mapproxy/test.yaml</font>:<br></div><div style="font-size:12.8000001907349px"><br><div><br></div><div><b>WMS</b></div><div><b><br></b></div><div><i>Both the EPSG:4326 and EPSG:4258 have truncated images west of Bern</i></div><div><br></div><div>  <a href="http://localhost:9001/service?LAYERS=ch.swisstopo.pixelkarte-farbe_20151231&FORMAT=image%2Fjpeg&SRS=EPSG%3A4258&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&BBOX=3.2209693748826,44.022010038859,12.747055982558,48.753510009559&WIDTH=1208&HEIGHT=600" target="_blank">http://localhost:9001/service?LAYERS=ch.swisstopo.pixelkarte-farbe_20151231&FORMAT=image%2Fjpeg&SRS=EPSG%3A4258&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&BBOX=3.2209693748826,44.022010038859,12.747055982558,48.753510009559&WIDTH=1208&HEIGHT=600</a><br></div><div><br></div><div> <a href="http://localhost:9001/service?LAYERS=ch.swisstopo.pixelkarte-farbe_20151231&FORMAT=image%2Fjpeg&SRS=EPSG%3A4326&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&BBOX=3.796635204651,44.219155870071,13.322721812327,48.950655840771&WIDTH=1208&HEIGHT=600" target="_blank">http://localhost:9001/service?LAYERS=ch.swisstopo.pixelkarte-farbe_20151231&FORMAT=image%2Fjpeg&SRS=EPSG%3A4326&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&BBOX=3.796635204651,44.219155870071,13.322721812327,48.950655840771&WIDTH=1208&HEIGHT=600</a><br></div><div><br></div><div><br></div><div><br></div><div><i>In the opposite, the image in EPSG:3857 is fine:</i></div><div><br></div><div>     <a href="http://localhost:9001/service?LAYERS=ch.swisstopo.pixelkarte-farbe_20151231&FORMAT=image%2Fjpeg&SRS=EPSG%3A3857&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&BBOX=368677.88243586,5636562.1333018,1499245.0927522,6198102.1384258&WIDTH=1208&HEIGHT=600" target="_blank">http://localhost:9001/service?LAYERS=ch.swisstopo.pixelkarte-farbe_20151231&FORMAT=image%2Fjpeg&SRS=EPSG%3A3857&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&BBOX=368677.88243586,5636562.1333018,1499245.0927522,6198102.1384258&WIDTH=1208&HEIGHT=600</a><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><b>WMTS</b></div><div><br></div><div><br></div><div><i>As observed with WMS, data west of Bern are missing, as in these two tiles (EPSG:4326 and EPSG:4258)</i></div><div><br></div><div>   <a href="http://localhost:9001/wmts/1.0.0/ch.swisstopo.pixelkarte-farbe/default/20151231/epsg_4326/8/266/61.jpeg" target="_blank">http://localhost:9001/wmts/1.0.0/ch.swisstopo.pixelkarte-farbe/default/20151231/epsg_4326/8/266/61.jpeg</a><br></div><div><br></div><div>    <a href="http://localhost:9001/wmts/1.0.0/ch.swisstopo.pixelkarte-farbe/default/20151231/epsg_4258/8/266/61.jpeg" target="_blank">http://localhost:9001/wmts/1.0.0/ch.swisstopo.pixelkarte-farbe/default/20151231/epsg_4258/8/266/61.jpeg</a><br></div><div><br></div><div><div><i>In the opposite, the image in EPSG:3857 is fine:</i><br></div><div><br></div><div>    <a href="http://localhost:9001/wmts/1.0.0/ch.swisstopo.pixelkarte-farbe/default/20151231/epsg_3857/8/133/90.jpeg" target="_blank">http://localhost:9001/wmts/1.0.0/ch.swisstopo.pixelkarte-farbe/default/20151231/epsg_3857/8/133/90.jpeg</a></div></div></div><div style="font-size:12.8000001907349px"><br></div><div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">So if I shift the meridian to the west, form the official definition:</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px"><font face="monospace, monospace"><21781> +proj=somerc +lat_0=46.95240555555556 <b>+lon_0=7.439583333333333</b> +k_0=1 <b>+x_0=600000</b> +y_0=200000 +ellps=bessel +towgs84=674.4,15.1,405.3,0,0,0,0 +units=m +no_defs  <></font></span></div></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">into (something very unprecise)</span><br></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><span style="font-family:monospace,monospace;font-size:12.8000001907349px"><21781> +proj=somerc +lat_0=46.95240555555556 </span><b style="font-family:monospace,monospace;font-size:12.8000001907349px">+lon_0=6.0</b><span style="font-family:monospace,monospace;font-size:12.8000001907349px"> +k_0=1 </span><b style="font-family:monospace,monospace;font-size:12.8000001907349px">+x_0=450000 </b><span style="font-family:monospace,monospace;font-size:12.8000001907349px">+y_0=200000 +ellps=bessel +towgs84=674.4,15.1,405.3,0,0,0,0 +units=m +no_defs  <></span><br></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">everything is fine, but that not the goal.</div></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">I hope, it is a bit clearer</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Thank you for any hints</div><div class=""><div id=":309" class="" tabindex="0"><img class="" src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif"></div></div><span class=""><font color="#888888"><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Marc</div></font></span></div>
</div>