Skip to content

Commit e184772

Browse files
committedMar 27, 2019
use of SRCHEIGHT SRCWIDTH intead of HEIGHT WIDTH
1 parent 4c667ad commit e184772

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed
 

‎tests/src/python/test_qgsserver_wms_getlegendgraphic.py

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -468,8 +468,8 @@ def test_wms_GetLegendGraphic_BBox(self):
468468
"LAYER": "Country,Hello,db_point",
469469
"LAYERTITLE": "FALSE",
470470
"FORMAT": "image/png",
471-
"HEIGHT": "500",
472-
"WIDTH": "500",
471+
"SRCHEIGHT": "500",
472+
"SRCWIDTH": "500",
473473
"BBOX": "-151.7,-38.9,51.0,78.0",
474474
"CRS": "EPSG:4326"
475475
}.items())])
@@ -486,8 +486,8 @@ def test_wms_GetLegendGraphic_BBox2(self):
486486
"LAYER": "Country,Hello,db_point",
487487
"LAYERTITLE": "FALSE",
488488
"FORMAT": "image/png",
489-
"HEIGHT": "500",
490-
"WIDTH": "500",
489+
"SRCHEIGHT": "500",
490+
"SRCWIDTH": "500",
491491
"BBOX": "-76.08,-6.4,-19.38,38.04",
492492
"SRS": "EPSG:4326"
493493
}.items())])
@@ -503,8 +503,8 @@ def test_wms_GetLegendGraphic_EmptyLegend(self):
503503
"REQUEST": "GetLegendGraphic",
504504
"LAYER": "QGIS%20Server%20Hello%20World",
505505
"FORMAT": "image/png",
506-
"HEIGHT": "840",
507-
"WIDTH": "1226",
506+
"SRCHEIGHT": "840",
507+
"SRCWIDTH": "1226",
508508
"BBOX": "10.38450,-49.6370,73.8183,42.9461",
509509
"SRS": "EPSG:4326",
510510
"SCALE": "15466642"
@@ -525,8 +525,8 @@ def test_wms_GetLegendGraphic_wmsRootName(self):
525525
"REQUEST": "GetLegendGraphic",
526526
"LAYER": "QGIS%20Server%20-%20Grouped%20Layer",
527527
"FORMAT": "image/png",
528-
"HEIGHT": "840",
529-
"WIDTH": "1226",
528+
"SRCHEIGHT": "840",
529+
"SRCWIDTH": "1226",
530530
"BBOX": "609152,5808188,625492,5814318",
531531
"SRS": "EPSG:25832",
532532
"SCALE": "38976"
@@ -544,8 +544,8 @@ def test_wms_GetLegendGraphic_wmsRootName(self):
544544
"REQUEST": "GetLegendGraphic",
545545
"LAYER": "All_grouped_layers",
546546
"FORMAT": "image/png",
547-
"HEIGHT": "840",
548-
"WIDTH": "1226",
547+
"SRCHEIGHT": "840",
548+
"SRCWIDTH": "1226",
549549
"BBOX": "609152,5808188,625492,5814318",
550550
"SRS": "EPSG:25832",
551551
"SCALE": "38976"
@@ -563,8 +563,8 @@ def test_wms_GetLegendGraphic_ScaleSymbol_Min(self):
563563
"REQUEST": "GetLegendGraphic",
564564
"LAYER": "testlayer",
565565
"FORMAT": "image/png",
566-
"HEIGHT": "550",
567-
"WIDTH": "850",
566+
"SRCHEIGHT": "550",
567+
"SRCWIDTH": "850",
568568
"BBOX": "-608.4,-1002.6,698.2,1019.0",
569569
"CRS": "EPSG:4326"
570570
}.items())])
@@ -579,8 +579,8 @@ def test_wms_GetLegendGraphic_ScaleSymbol_Min(self):
579579
"REQUEST": "GetLegendGraphic",
580580
"LAYER": "testlayer",
581581
"FORMAT": "image/png",
582-
"HEIGHT": "550",
583-
"WIDTH": "850",
582+
"SRCHEIGHT": "550",
583+
"SRCWIDTH": "850",
584584
"BBOX": "-1261.7,-2013.5,1351.5,2029.9",
585585
"CRS": "EPSG:4326"
586586
}.items())])
@@ -596,8 +596,8 @@ def test_wms_GetLegendGraphic_ScaleSymbol_Scaled_01(self):
596596
"REQUEST": "GetLegendGraphic",
597597
"LAYER": "testlayer",
598598
"FORMAT": "image/png",
599-
"HEIGHT": "550",
600-
"WIDTH": "850",
599+
"SRCHEIGHT": "550",
600+
"SRCWIDTH": "850",
601601
"BBOX": "31.8,-12.0,58.0,28.4",
602602
"CRS": "EPSG:4326"
603603
}.items())])
@@ -613,8 +613,8 @@ def test_wms_GetLegendGraphic_ScaleSymbol_Scaled_02(self):
613613
"REQUEST": "GetLegendGraphic",
614614
"LAYER": "testlayer",
615615
"FORMAT": "image/png",
616-
"HEIGHT": "550",
617-
"WIDTH": "850",
616+
"SRCHEIGHT": "550",
617+
"SRCWIDTH": "850",
618618
"BBOX": "25.3,-22.1,64.5,38.5",
619619
"CRS": "EPSG:4326"
620620
}.items())])
@@ -630,8 +630,8 @@ def test_wms_GetLegendGraphic_ScaleSymbol_Max(self):
630630
"REQUEST": "GetLegendGraphic",
631631
"LAYER": "testlayer",
632632
"FORMAT": "image/png",
633-
"HEIGHT": "550",
634-
"WIDTH": "850",
633+
"SRCHEIGHT": "550",
634+
"SRCWIDTH": "850",
635635
"BBOX": "44.8,8.0,45.0,8.4",
636636
"CRS": "EPSG:4326"
637637
}.items())])
@@ -646,8 +646,8 @@ def test_wms_GetLegendGraphic_ScaleSymbol_Max(self):
646646
"REQUEST": "GetLegendGraphic",
647647
"LAYER": "testlayer",
648648
"FORMAT": "image/png",
649-
"HEIGHT": "550",
650-
"WIDTH": "850",
649+
"SRCHEIGHT": "550",
650+
"SRCWIDTH": "850",
651651
"BBOX": "43.6,6.2,46.2,10.2",
652652
"CRS": "EPSG:4326"
653653
}.items())])

0 commit comments

Comments
 (0)
Please sign in to comment.