Skip to content
Permalink
Browse files

Merge pull request #6565 from tudorbarascu/styles_opacities

add server test for GetMap with opacities and non-default styles
  • Loading branch information
m-kuhn committed Mar 9, 2018
2 parents 0079034 + 10cfca4 commit e1f5c3fe3e52b065cd40ca69666a85b4ca6b1969
@@ -811,6 +811,25 @@ def test_wms_getmap_opacities(self):
r, h = self._result(self._execute_request(qs))
self._img_diff_error(r, h, "WMS_GetMap_Opacities2")

# Test OPACITIES with specific STYLES
qs = "?" + "&".join(["%s=%s" % i for i in list({
"MAP": urllib.parse.quote(self.projectPath),
"SERVICE": "WMS",
"VERSION": "1.1.1",
"REQUEST": "GetMap",
"LAYERS": "Country,Hello,dem",
"STYLES": "origin,default,default",
"FORMAT": "image/png",
"BBOX": "-16817707,-4710778,5696513,14587125",
"HEIGHT": "500",
"WIDTH": "500",
"CRS": "EPSG:3857",
"OPACITIES": "125,50,150"
}.items())])

r, h = self._result(self._execute_request(qs))
self._img_diff_error(r, h, "WMS_GetMap_Opacities3")

def test_wms_getmap_highlight(self):
# highlight layer with color separated from sld
qs = "?" + "&".join(["%s=%s" % i for i in list({
Binary file not shown.

0 comments on commit e1f5c3f

Please sign in to comment.
You can’t perform that action at this time.