[mapserver-commits] [mapserver/mapserver] e88939: WMS Client - Fixes GetLegendGraphic in WMS 1.3.0
Jeff McKenna
noreply at github.com
Mon Feb 17 12:04:42 PST 2020
Branch: refs/heads/master
Home: https://github.com/mapserver/mapserver
Commit: e88939a0b844e7c9e70520eb3e69a99acbdb719b
https://github.com/mapserver/mapserver/commit/e88939a0b844e7c9e70520eb3e69a99acbdb719b
Author: Erik Ravhed <erik.ravhed at gmail.com>
Date: 2019-11-19 (Tue, 19 Nov 2019)
Changed paths:
M mapwmslayer.c
M msautotest/pymod/mstestlib.py
A msautotest/wxs/expected/wms_client_111_legendgraphic.png
A msautotest/wxs/expected/wms_client_130_legendgraphic.png
M msautotest/wxs/wms_client_111.map
M msautotest/wxs/wms_client_130.map
Log Message:
-----------
WMS Client - Fixes GetLegendGraphic in WMS 1.3.0
SLD_VERSION parameter is mandatory in GetLegendGraphic as specified by SLD version 1.1.0. This commit adds this parameter when requesting WMS services with version 1.3.0 or higher.
In addition to this it also fixes style parameter: in GetLegendGraphic it should be named STYLE and not STYLES.
Two new testcases has been added for the WMS client which will test GetLegendGraphic functionality for both WMS 1.1.1 and WMS 1.3.0.
Commit: 14cb6c793093f1ba385009f3f503b9c63ecd9391
https://github.com/mapserver/mapserver/commit/14cb6c793093f1ba385009f3f503b9c63ecd9391
Author: Jeff McKenna <jmckenna at gatewaygeomatics.com>
Date: 2020-02-17 (Mon, 17 Feb 2020)
Changed paths:
M mapwmslayer.c
M msautotest/pymod/mstestlib.py
A msautotest/wxs/expected/wms_client_111_legendgraphic.png
A msautotest/wxs/expected/wms_client_130_legendgraphic.png
M msautotest/wxs/wms_client_111.map
M msautotest/wxs/wms_client_130.map
Log Message:
-----------
Merge pull request #5924 from ravhed/getlegendgraphic_style
WMS Client - Fixes GetLegendGraphic in WMS 1.3.0
Compare: https://github.com/mapserver/mapserver/compare/271761c1061a...14cb6c793093
More information about the mapserver-commits
mailing list