<div dir="ltr">Thanks for the feedback! I haven't gained much from it, however. So, in short my question to you is: How can I <span style="font-family:arial,sans-serif;font-size:13px">make a WMS request that contains 2 layers from separate caches (one vector/png, one aerial/jpeg) as FORMAT=image/JPEG and the response tile would be a single jpeg tile with the vectors transparent on top of the imagery in version Mapproxy version 1.5?</span><div>
<span style="font-family:arial,sans-serif;font-size:13px">I do appreciate your time and thought for this!</span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 16, 2013 at 3:37 AM, Oliver Tonnhofer <span dir="ltr"><<a href="mailto:olt@omniscale.de" target="_blank">olt@omniscale.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
On 15.07.2013, at 16:20, Jeremy Holt wrote:<br>
<br>
> Sure thing,<br>
> Attached are the configs (trimmed) for both versions of mapproxy. These focus on two related layers that exist across versions.<br>
> As stated, the same request is being made to both mapproxy instances, but with different results. You should see the error output by following the second link provided, but I've included that as well.<br>
<br>
</div>You configuration contains other layers than your example request and the srs file is missing. So I couldn't reproduce your setup.<br>
<br>
What I noticed though is that the srs block in the globals is not indented (mapproxy-util serve-develop warns about that) and supported_srs/supported_formats are options of the source itself and do not belong in the req block.<br>

<br>
And now I see that you are making a WMS-C request:<br>
<br>
<a href="http://mp1.adc4gis.com/mapproxy/service?SRS=EPSG%3A103930&LAYERS=polkcowi_aerial2010_gm,polkcowi&FORMAT=image%2Fjpeg&TILED=true&TILESORIGIN=144243.59%2C32764.71&WIDTH=256&HEIGHT=256&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&BBOX=537723.80375,207644.805,581443.8275,251364.82875" target="_blank">http://mp1.adc4gis.com/mapproxy/service?SRS=EPSG%3A103930&LAYERS=polkcowi_aerial2010_gm,polkcowi&FORMAT=image%2Fjpeg&TILED=true&TILESORIGIN=144243.59%2C32764.71&WIDTH=256&HEIGHT=256&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&BBOX=537723.80375,207644.805,581443.8275,251364.82875</a><br>

<br>
MapProxy directly returns tiles from the cache with tiled=true and it will never do any reprojection, tile-merging or _format_ conversion. Since the cache is in JPEG you cannot make a WMS-C request for PNG.<br>
See <a href="http://mapproxy.org/docs/nightly/services.html#wms-c" target="_blank">http://mapproxy.org/docs/nightly/services.html#wms-c</a><br>
<div class="im"><br>
<br>
> Note that the WMS requests are the same parameters (albeit different sources), and if you change the format type to PNG, it will respond with only the vector layer and not the aerial.<br>
<br>
</div>Try to add `transparent: true` to the req block of the overlay.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
Regards,<br>
Oliver<br>
<br>
--<br>
Oliver Tonnhofer    | Omniscale GmbH & Co KG    | <a href="http://omniscale.com" target="_blank">http://omniscale.com</a><br>
<a href="http://mapproxy.org" target="_blank">http://mapproxy.org</a> | <a href="https://github.com/olt" target="_blank">https://github.com/olt</a>    | @oltonn<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Jeremy Holt<br>GIS Consultant<br>Applied Data Consultants, Inc.<br><a href="http://www.adc4gis.com" target="_blank">www.adc4gis.com</a><br>715-874-4397 ext. 243<br>

</div>