<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p></p>
<div>Dear list,</div>
<div><br>
</div>
<div>my goal is to render map tiles from an osm database with Tilemill in two different styles (lowdetail and highdetail) and serve them in different projections via MapProxy (1.9.0). Exporting the tiles as mbtiles and serving them in Webmercator/Mercator works
 so far. I was told Mapproxy can reproject and cache tiles on the fly but i cannot get the reprojection from WEBMERCATOR to GLOBAL_GEODETIC to work with the configuration listed below. Maybe i missed something? I also tried another configuration based on the
 Example here https://mapproxy.org/docs/latest/configuration_examples.html#reprojecting-tiles. But the result looks similar, i can only see the lower half of the worldmap. After changing the config i also cleared the browser image cache.</div>
<div><br>
</div>
<div>Do i need to install specific software modules for this to work? Please push me in the right direction. Below some specific information:</div>
<div><br>
</div>
<div>Map pictures from both projections in the demo service:</div>
<div>EPSG:3857 https://owncloud.nowcast.de/index.php/s/K3buSnz5XN9xdlf</div>
<div>EPSG:4326 https://owncloud.nowcast.de/index.php/s/OS2mMmFclQAXnxe</div>
<div><br>
</div>
<div>Here is the projection used for the tiles:</div>
<div>+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over</div>
<div><br>
</div>
<div>And the mapproxy.yaml:</div>
<div>services:</div>
<div>  demo:</div>
<div>  tms:</div>
<div>    use_grid_names: true</div>
<div>    #origin for /tiles service</div>
<div>    origin: nw</div>
<div>layers:</div>
<div>  - name: linetview_ld</div>
<div>    title: LINET view (Low Detail)</div>
<div>    sources: [lowdetail_cache]</div>
<div>  - name: linetview_hd</div>
<div>    title: LINET view (High Detail)</div>
<div>    sources: [highdetail_cache]</div>
<div>caches:</div>
<div>  lowdetail_cache:</div>
<div>    grids: [epsg3857, epsg4326]</div>
<div>    sources: []</div>
<div>    cache:</div>
<div>      type: mbtiles</div>
<div>      filename: /home/mapproxy/mapproxy/ma-linetview-ld.mbtiles</div>
<div>  highdetail_cache:</div>
<div>    grids: [epsg3857, epsg4326]</div>
<div>    sources: []</div>
<div>    cache:</div>
<div>      type: mbtiles</div>
<div>      filename: /home/mapproxy/mapproxy/ma-linetview-hd.mbtiles</div>
<div>grids:</div>
<div>  epsg3857:</div>
<div>    base: GLOBAL_WEBMERCATOR</div>
<div>    origin: sw</div>
<div>  epsg4326:</div>
<div>    base: GLOBAL_GEODETIC</div>
<div>    #res_factor: 'sqrt2'</div>
<div>globals:</div>
<div>  image:</div>
<div>    resampling: bicubic</div>
<div><br>
</div>
<div>Thanks in advance!</div>
<div><br>
</div>
<div>Kind regards,</div>
<div><br>
</div>
<div>Marc Schenke</div>
<br>
<p></p>
</div>
</body>
</html>