Skip to content

Commit 88e9e84

Browse files
committed
test for GetFeatureinfo value map relation values
1 parent 4c8b159 commit 88e9e84

File tree

3 files changed

+497
-0
lines changed

3 files changed

+497
-0
lines changed

tests/src/python/test_qgsserver_wms_getfeatureinfo.py

+14
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,20 @@ def testGetFeatureInfo(self):
167167
'wms_getfeatureinfo_notvisible',
168168
'test_project_scalevisibility.qgs')
169169

170+
# Test GetFeatureInfo resolves value map widget values
171+
mypath = self.testdata_path + "test_project_values.qgs"
172+
self.wms_request_compare('GetFeatureInfo',
173+
'&layers=layer0&styles=&' +
174+
'VERSION=1.3.0&' +
175+
'info_format=text%2Fxml&' +
176+
'width=926&height=787&srs=EPSG%3A4326' +
177+
'&bbox=912217,5605059,914099,5606652' +
178+
'&CRS=EPSG:3857' +
179+
'&FEATURE_COUNT=10' +
180+
'&QUERY_LAYERS=layer0&I=487&J=308',
181+
'wms_getfeatureinfo-values1-text-xml',
182+
'test_project_values.qgs')
183+
170184
def testGetFeatureInfoFilter(self):
171185
# Test getfeatureinfo response xml
172186

0 commit comments

Comments
 (0)