[MapProxy] Style configuration of a wms

Cahy Tinne Tinne.Cahy at geosolutions.be
Wed Sep 24 00:56:41 PDT 2014


Hi,

Thanks for the reply. I am using mapproxy 1.7.1. This actually does work. The problem I was having that the configuration parameter forward_req_params: ['styles'] was present. So the default style was always applied.

Kind regards,

Tinne

________________________________________
Van: Oliver Tonnhofer [olt at omniscale.de]
Verzonden: dinsdag 23 september 2014 16:57
Aan: Cahy Tinne
CC: MapProxy at lists.osgeo.org
Onderwerp: Re: [MapProxy] Style configuration of a wms

Hi,

On 23.09.2014, at 16:04, Cahy Tinne wrote:
> The representation of the wms I am using changes completely  when using different style parameters in the getMap request (even the number of features changes). I am trying to configure the mapproxy.yaml file so the custom style parameter is used.
>
> In the following case the styles parameter is ignored. The return getMap is in default style instead of Erfgoedetalage_AMK.
>
> sources:
>   ...
>   rce_wms_featureinfo:
>     ....
>     req:
>       url: http://services.rce.geovoorziening.nl/ows?
>       layers: rce:ArcheologicalMonuments
>       styles: Erfgoedetalage_AMK


This should work. Which version of MapProxy do you use and what output do get from mapproxy-util serve-develop?


Regards,
Oliver

--
Oliver Tonnhofer  | Omniscale GmbH & Co KG  | http://omniscale.com
OpenStreetMap WMS and tile services         | http://maps.omniscale.com



More information about the MapProxy mailing list