Skip to content
Permalink
Browse files

add server test for GetMap with styles and opacities

  • Loading branch information
tudorbarascu committed Mar 9, 2018
1 parent b0cd3fb commit 10cfca48d60209af56ddc64e9ef9c16c6b032f87
@@ -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 10cfca4

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