<div dir="ltr"><div>Hi,</div><div><br></div><div>I have some questions around Mapproxy:</div><div><br></div><div>1. Quality issues with WMS source.</div><div>I have this source and this cache:<br></div><div></div><div>sources:<br></div><div>  pcrs:<br>    type: wms<br>    wms_opts:<br>      version: 1.3.0<br>    req:<br>      transparent: true<br>      layers: PCRS.LAMB93<br>      url: <a href="https://data.geopf.fr/wms-r/wms" target="_blank">https://data.geopf.fr/wms-r/wms</a></div><div>caches:<br></div><div>  cache_pcrs:<br>    grids: [webmercator]<br>    sources: [pcrs]<br>    cache:<br>      type: sqlite</div><div><br></div><div>(my webmercator grid is simply a redefinition of GLOBAL_WEBMERCATOR)</div><div><br></div><div>It
 works and I can serve this proxied layer. It's okay as long as I don't 
zoom in too much, however the quality of images served by the proxy gets
 really bad when zooming in a lot. How can I address this?</div><div><br></div><div>2. Upscaling/downscaling issues, grids, tile size questions.<br></div><div>I
 have a tile source that serves tiles in 512x512 (as opposed to 256x256 
for my other tile sources) and has a max zoom level of 15. A working 
solution that I've found is to define a grid specifically for those 
source tiles:</div><div>grids:<br>  webmercator:<br>    base: GLOBAL_WEBMERCATOR<br></div><div>  custom_grid:<br></div><div>    base: GLOBAL_WEBMERCATOR<br>    tile_size: [512, 512]<br>    num_levels: 16</div><div><br></div><div>But I was expecting the upscale_tiles/downscale_tiles cache options to handle this, but those seem to have no effect.</div><div>Another
 way to phrase this issue is, for a given source or for a given cache, 
how do I tell Mapproxy: fetch tiles for zoom levels within a range, then
 scale up/down if outside of that range? I am facing this issue both for
 XYZ tiles but also for WMS sources.</div><div>If I have some sources in
 256x256 and some in 512x512, do I have no other way but to create grids
 that fit the upstream tile format?<br></div><div><br></div><div>3. Docker, seeding.</div><div>I am using the Docker image <a href="http://ghcr.io/mapproxy/mapproxy/mapproxy:3.1.3-alpine-nginx" target="_blank">ghcr.io/mapproxy/mapproxy/mapproxy:3.1.3-alpine-nginx</a>
 to run Mapproxy. I have some caches that I want to seed/prep so that I 
can easily prepare combined mbtiles files for offline use. I have my 
seed config file and I trigger the seed by issuing:</div><div>docker exec -ti mapproxy mapproxy-seed -s config/seed.yaml -f config/mapproxy.yaml</div><div>(-ti optional)</div><div>Is
 there a more ergonomic way to implement seeding with this container 
image? Right now I have the seeding command triggered regularly via a 
systemd timer.<br></div><div><br></div><div>4. General config advice?</div><div>My
 mapproxy.yaml is quickly getting pretty big. While I've found yaml 
tricks (anchors) to avoid repetition, it seems like I can't use yaml 
includes to split my yaml configuration across multiple sub-files. And 
I'm only a hobbyist with limited amounts of data. Do you have any tips 
when it comes to configuration organisation?</div><div><br></div><div>Thanks for your help and for a great tool!</div></div>