<div dir="ltr"><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hello, we've been using MapTiler and MapProxy for several years now and have had good success streaming imagery using the File cache approach. We are moving to the cloud and instead want to use the mbtiles cache as a way of streaming since it is easier to move around than all the individual images. So far we have been unsuccessful in getting MapProxy to display the imagery. <br></div><div><div><br></div><div>I have uploaded mbtile as well as the image, cutline, and the configuration file for MapTiler Desktop. The mbtiles are in EPSG:3857 and with the hybrid jpg/png specified by a shapefile.  It's the same configuration we use for the File directory listing and it works fine that way. I also created a mbtile using only png but that didn't work either.

</div><div><br></div><div><a href="https://drive.google.com/drive/folders/1vmkzN9X7UBxJmR78EUHZUVI71FnqkEgm?usp=sharing" target="_blank">https://drive.google.com/drive/folders/1vmkzN9X7UBxJmR78EUHZUVI71FnqkEgm?usp=sharing</a></div><div><br></div><div><div><b>MapTiler Configuration</b></div><div><pre style="white-space:pre-wrap;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-size:14px"></pre></div></div><div><font face="monospace">-work_dir G:\work_dir -o G:\output\sample.mbtiles -srs EPSG:26911 -f hybridext jpg png8a -jpeg_quality 65 -zoom 0 19 -tms G:\image\sample.tif -cutline_proj G:\cutline\aoi.shp</font></div><div><br></div><div><div>I'm following the same configuration for the mbtiles cache per the documentation (<a href="https://mapproxy.org/docs/nightly/caches.html#cache-mbtiles" target="_blank">https://mapproxy.org/docs/nightly/caches.html#cache-mbtiles</a>) and use a grid but it only returns 400 and 500 errors. Tried flipping the origins but that didn't work either. </div></div><div><br></div><div><b>MapProxy Configuration</b></div><div><font face="monospace">caches:<br>  test_mbtiles_cache:<br>    sources: []<br>    grids: [</font>

<font face="monospace">mbtiles_grid ]<br>    cache:<br>      type: mbtiles<br>      filename: /var/mbtiles/sample.mbtiles</font></div><div><br></div><div><font face="monospace">grids:</font></div><div><font face="monospace">  mbtiles_grid:</font></div><font face="monospace">      base: GLOBAL_WEBMERCATOR<br>      origin: 'sw'<br>      bbox: [-116.376767,34.066863,-116.179884,34.257388]<br>      bbox_srs: 'EPSG:4326'</font><div><br></div><div>Any help is appreciated. Thanks.</div><div><br></div><div>--</div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><b>Bernard Conrad</b></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>