File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -125,6 +125,12 @@ def test_project_wms(self):
125
125
'FEATURE_COUNT=10&FILTER=testlayer%20%C3%A8%C3%A9' + urllib .parse .quote (':"NAME" = \' two\' OR "utf8nameè" = \' three èé↓\' ' ),
126
126
'wms_getfeatureinfo_filter_or_utf8' )
127
127
128
+ # Test DescribeLayer
129
+ self .wms_request_compare ('DescribeLayer' ,
130
+ '&layers=testlayer%20%C3%A8%C3%A9&' +
131
+ 'SLD_VERSION=1.1.0' ,
132
+ 'describelayer' )
133
+
128
134
def wms_inspire_request_compare (self , request ):
129
135
"""WMS INSPIRE tests"""
130
136
project = self .testdata_path + "test_project_inspire.qgs"
Original file line number Diff line number Diff line change
1
+ *****
2
+ Content-Type: text/xml; charset=utf-8
3
+
4
+ <?xml version="1.0" encoding="utf-8"?>
5
+ <DescribeLayerResponse xmlns="http://www.opengis.net/sld" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ows="http://www.opengis.net/ows" xsi:schemaLocation="http://www.opengis.net/sld http://schemas.opengis.net/sld/1.1.0/DescribeLayer.xsd" xmlns:se="http://www.opengis.net/se" xmlns:xlink="http://www.w3.org/1999/xlink">
6
+ <Version>1.1.0</Version>
7
+ <LayerDescription>
8
+ <owsType>wfs</owsType>
9
+ <se:OnlineResource xlink:type="simple" xlink:href="https://www.qgis.org/?*****"/>
10
+ <TypeName>
11
+ <se:FeatureTypeName>testlayer èé</se:FeatureTypeName>
12
+ </TypeName>
13
+ </LayerDescription>
14
+ </DescribeLayerResponse>
You can’t perform that action at this time.
0 commit comments