[mapserver-users] MapCache: substitution in GetMap

Vladimir fl_v at inbox.ru
Thu Dec 11 02:07:38 PST 2014


Thomas. Thank you very much. Sorry for the late response. 
There is question about type.
Performs "intervals" the validation or "regex" should be used? Best regards.

Fri, 28 Nov 2014 14:07:10 +0100 от thomas bonfort <thomas.bonfort at gmail.com>:
>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


-- 
Владимир
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20141211/cb31546b/attachment.html>


More information about the mapserver-users mailing list