<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div id="yui_3_16_0_ym19_1_1491555031702_2641">Dear all,</div><div id="yui_3_16_0_ym19_1_1491555031702_2642"><br></div><div dir="ltr">I used gdal2tiles.py generate tiles from imagery. I added these tile as a cache in mapproxy without source.</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3238"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3237">Now, I want to render these imagery tiles on top of openstreetmap.</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3236"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3213">I does work, but where the imagery is supposed to be transparent, it will draw a gray color.</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3212"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3211">If I look at the imagery layer alone in QGIS it is transparent.</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3210"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3209">In some sources it is possible to specify that it is transparent, but you cannot do that for caches.</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3209"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3209">Does anybody now how to make a cache without source transparent?</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3208"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3207">Fragement of my configuration file:</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3206"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_2980">layers:</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_2981"> - name: osm</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_2982"> title: Open Street Map</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_2983"> sources: [osm_cache]</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_2984"> - name: imagery<br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3006"> title: Imagery</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3007"> sources: [imagery_cache]</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3008"> - name: imagery_with_openstreetmap</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3009"> title: Imagery with Openstreetmap</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3010"> sources: [imagery_with_openstreetmap_cache]</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3011"><br id="yui_3_16_0_ym19_1_1491555031702_3012"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3013">caches:</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3014"> osm_cache:</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3015"> grids: [webmercator]</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3016"> sources: [osm_source]</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3017"> cache:</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3018"> type: geopackage<br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3021"> filename: openstreetmap.gpkg</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3022"> table_name: tiles</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3023"> imagery_cache:<br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3066"> grids: [oefengrid]</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3067"> sources: []</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3068"> cache:</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3069"> type: file</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3070"> directory_layout: tms</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3071"> directory: /some_directory/tiles</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3072"> imagery_with_openstreetmap_cache:</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3073"> grids: [webmercator]</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3074"> sources: [osm_cache, imagery_cache]</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3075"><br id="yui_3_16_0_ym19_1_1491555031702_3076"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3077"><br id="yui_3_16_0_ym19_1_1491555031702_3078"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3079">sources:</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3080"> osm_source:</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3081"> type: tile</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3082"> url: 'http://a.tile.openstreetmap.org/%(z)s/%(x)s/%(y)s.png'</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3083"> grid: webmercator</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3084"> transparent: true</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3085"> </div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3108">grids:</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3109"> webmercator:</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3110"> base: GLOBAL_WEBMERCATOR</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3111"> srs: EPSG:3857</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3112"> oefengrid:</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3113"> base: GLOBAL_WEBMERCATOR</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3114"> srs: 'EPSG:3857'</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3115"> origin: 'sw'</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3116"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3116"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3116">Thanks in advance.</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3116"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3116">Rode Biet.</div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3116"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1491555031702_3116"> </div></div></body></html>