[mapserver-users] MapCache: substitution in GetMap

thomas bonfort thomas.bonfort at gmail.com
Fri Nov 28 05:07:10 PST 2014


You need to add ZOOM as a dimension at the tileset level. It will be
validated in incoming requests and propagated to the WMS server.

--
thomas

On 28 November 2014 at 13:31, Vladimir <fl_v at inbox.ru> wrote:
> Hi All!
>
> I have getMap request to MapCache from OL3 with additional dynamic ZOOM
> parameter.
>
>
> http://myhost/mapcache/?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=true&LAYERS=test&WIDTH=384&HEIGHT=384&CRS=EPSG%3A3857&STYLES=&MAP_RESOLUTION=135&BBOX=8520588.417005166%2C5338362.055436708%2C8521811.40945773%2C5339585.047889271&ZOOM=15
>
> Further MapCache send request to my WMS service accordingly the
> configuration:
>
> <source name="vmap0" type="wms">
> <getmap>
> <params>
> <FORMAT>image/png</FORMAT>
> <LAYERS>mylayer</LAYERS>
> </params>
> </getmap>
> <http>
> <url>http://myhost/wms</url>
> </http>
> </source>
>
> But the additional ZOOM parameter is lost at this stage.
> Adding <ZOOM></ZOOM> in <params> adds empty key without value.
> How can I substitute this parameter to final request ?
>
> Thanks & best regards
>
>
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users


More information about the mapserver-users mailing list