Skip to content

Commit a9e5670

Browse files
committed
[QGIS-Server] Test: more ISO compatibility for WxS capabilities
1 parent f3d9e75 commit a9e5670

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

tests/testdata/qgis_server/getcapabilities.txt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ Content-Type: text/xml; charset=utf-8
77
<Name>WMS</Name>
88
<Title>QGIS TestProject</Title>
99
<Abstract>Some UTF8 text èòù</Abstract>
10+
<KeywordList>
11+
<Keyword vocabulary="ISO">infoMapAccessService</Keyword>
12+
</KeywordList>
1013
<OnlineResource xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href=""/>
1114
<ContactInformation>
1215
<ContactPersonPrimary>
@@ -16,8 +19,8 @@ Content-Type: text/xml; charset=utf-8
1619
<ContactVoiceTelephone></ContactVoiceTelephone>
1720
<ContactElectronicMailAddress>elpaso@itopen.it</ContactElectronicMailAddress>
1821
</ContactInformation>
19-
<Fees></Fees>
20-
<AccessConstraints></AccessConstraints>
22+
<Fees>conditions unknown</Fees>
23+
<AccessConstraints>None</AccessConstraints>
2124
</Service>
2225
<Capability>
2326
<Request>
@@ -106,6 +109,7 @@ Content-Type: text/xml; charset=utf-8
106109
<southBoundLatitude>44.9012</southBoundLatitude>
107110
<northBoundLatitude>44.9016</northBoundLatitude>
108111
</EX_GeographicBoundingBox>
112+
<BoundingBox CRS="EPSG:3857" maxx="913283" minx="913171" maxy="5.60604e+06" miny="5.60599e+06"/>
109113
<BoundingBox CRS="EPSG:4326" maxx="44.9016" minx="44.9012" maxy="8.20416" miny="8.20315"/>
110114
<Layer queryable="1">
111115
<Name>testlayer èé</Name>
@@ -119,6 +123,7 @@ Content-Type: text/xml; charset=utf-8
119123
<southBoundLatitude>44.9014</southBoundLatitude>
120124
<northBoundLatitude>44.9015</northBoundLatitude>
121125
</EX_GeographicBoundingBox>
126+
<BoundingBox CRS="EPSG:3857" maxx="913215" minx="913205" maxy="5.60603e+06" miny="5.60601e+06"/>
122127
<BoundingBox CRS="EPSG:4326" maxx="44.9015" minx="44.9014" maxy="8.20355" miny="8.20346"/>
123128
<Style>
124129
<Name>default</Name>

tests/testdata/qgis_server/getprojectsettings.txt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ Content-Type: text/xml; charset=utf-8
77
<Name>WMS</Name>
88
<Title>QGIS TestProject</Title>
99
<Abstract>Some UTF8 text èòù</Abstract>
10+
<KeywordList>
11+
<Keyword vocabulary="ISO">infoMapAccessService</Keyword>
12+
</KeywordList>
1013
<OnlineResource xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href=""/>
1114
<ContactInformation>
1215
<ContactPersonPrimary>
@@ -16,8 +19,8 @@ Content-Type: text/xml; charset=utf-8
1619
<ContactVoiceTelephone></ContactVoiceTelephone>
1720
<ContactElectronicMailAddress>elpaso@itopen.it</ContactElectronicMailAddress>
1821
</ContactInformation>
19-
<Fees></Fees>
20-
<AccessConstraints></AccessConstraints>
22+
<Fees>conditions unknown</Fees>
23+
<AccessConstraints>None</AccessConstraints>
2124
</Service>
2225
<Capability>
2326
<Request>
@@ -119,6 +122,7 @@ Content-Type: text/xml; charset=utf-8
119122
<southBoundLatitude>44.9012</southBoundLatitude>
120123
<northBoundLatitude>44.9016</northBoundLatitude>
121124
</EX_GeographicBoundingBox>
125+
<BoundingBox CRS="EPSG:3857" maxx="913283" minx="913171" maxy="5.60604e+06" miny="5.60599e+06"/>
122126
<BoundingBox CRS="EPSG:4326" maxx="44.9016" minx="44.9012" maxy="8.20416" miny="8.20315"/>
123127
<Layer displayField="name" geometryType="WKBPoint" queryable="1" visible="1">
124128
<Name>testlayer èé</Name>
@@ -132,6 +136,7 @@ Content-Type: text/xml; charset=utf-8
132136
<southBoundLatitude>44.9014</southBoundLatitude>
133137
<northBoundLatitude>44.9015</northBoundLatitude>
134138
</EX_GeographicBoundingBox>
139+
<BoundingBox CRS="EPSG:3857" maxx="913215" minx="913205" maxy="5.60603e+06" miny="5.60601e+06"/>
135140
<BoundingBox CRS="EPSG:4326" maxx="44.9015" minx="44.9014" maxy="8.20355" miny="8.20346"/>
136141
<Style>
137142
<Name>default</Name>

0 commit comments

Comments
 (0)