[MapProxy] Merged Tiles- Differences Between Versions

Oliver Tonnhofer olt at omniscale.de
Tue Jul 16 01:37:08 PDT 2013


On 15.07.2013, at 16:20, Jeremy Holt wrote:

> Sure thing, 
> Attached are the configs (trimmed) for both versions of mapproxy. These focus on two related layers that exist across versions.
> 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.

You configuration contains other layers than your example request and the srs file is missing. So I couldn't reproduce your setup.

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.

And now I see that you are making a WMS-C request:

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

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.
See http://mapproxy.org/docs/nightly/services.html#wms-c


> 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.

Try to add `transparent: true` to the req block of the overlay.



Regards,
Oliver

-- 
Oliver Tonnhofer    | Omniscale GmbH & Co KG    | http://omniscale.com
http://mapproxy.org | https://github.com/olt    | @oltonn









More information about the MapProxy mailing list