[MapProxy] Merged Tiles- Differences Between Versions

Jeremy Holt jholt at adc4gis.com
Thu Jul 18 08:37:31 PDT 2013


Thanks for the feedback! I haven't gained much from it, however. So, in
short my question to you is: How can I 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?
I do appreciate your time and thought for this!


On Tue, Jul 16, 2013 at 3:37 AM, Oliver Tonnhofer <olt at omniscale.de> wrote:

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


-- 
Jeremy Holt
GIS Consultant
Applied Data Consultants, Inc.
www.adc4gis.com
715-874-4397 ext. 243
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20130718/32ae0cf1/attachment.html>


More information about the MapProxy mailing list