Skip to content
Browse files
add disabled server test for gpkg getfeatureinfo filter
  • Loading branch information
tudorbarascu committed Jun 28, 2018
1 parent 52664b6 commit deb9f590fdc2ac43345863961a8593afef41be8d
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 0 deletions.
@@ -233,6 +233,21 @@ def testGetFeatureInfoRelationReference(self):

# TODO make filter work with gpkg and move test inside testGetFeatureInfoFilter function
def testGetFeatureInfoFilterGPKG(self):
# 'test_project.qgz' ='test_project.qgs' but with a gpkg source + different fid
# Regression for #8656 Test getfeatureinfo response xml with gpkg datasource
# Mind the gap! (the space in the FILTER expression)
'&layers=testlayer%20%C3%A8%C3%A9&' +
'INFO_FORMAT=text%2Fxml&' +
'width=600&height=400&srs=EPSG%3A3857&' +
'query_layers=testlayer%20%C3%A8%C3%A9&' +
'FEATURE_COUNT=10&FILTER=testlayer%20%C3%A8%C3%A9' + urllib.parse.quote(':"NAME" = \'two\''),

def testGetFeatureInfoFilter(self):
# Test getfeatureinfo response xml

Binary file not shown.
Binary file not shown.
@@ -0,0 +1,14 @@
Content-Length: 577
Content-Type: text/xml; charset=utf-8

<BoundingBox maxy="5606017.87425818" maxx="913214.67407005" miny="5606017.87425818" CRS="EPSG:3857" minx="913214.67407005"/>
<Layer name="testlayer èé">
<Feature id="2">
<Attribute value="2" name="id"/>
<Attribute value="two" name="name"/>
<Attribute value="two àò" name="utf8nameè"/>
<BoundingBox maxy="5606017.8743" maxx="913214.6741" miny="5606017.8743" CRS="EPSG:3857" minx="913214.6741"/>

0 comments on commit deb9f59

Please sign in to comment.