mirror of
https://github.com/qgis/QGIS.git
synced 2025-06-19 00:02:48 -04:00
Add unit tests
This commit is contained in:
parent
db4a2dda9f
commit
6ea2cd63ba
@ -48,11 +48,11 @@ class TestQgsServerWMSTestBase(QgsServerTestBase):
|
||||
# Set to True to re-generate reference files for this class
|
||||
regenerate_reference = False
|
||||
|
||||
def wms_request_compare(self, request, extra=None, reference_file=None, project='test_project.qgs'):
|
||||
def wms_request_compare(self, request, extra=None, reference_file=None, project='test_project.qgs', version='1.3.0'):
|
||||
project = self.testdata_path + project
|
||||
assert os.path.exists(project), "Project file not found: " + project
|
||||
|
||||
query_string = 'https://www.qgis.org/?MAP=%s&SERVICE=WMS&VERSION=1.3&REQUEST=%s' % (urllib.parse.quote(project), request)
|
||||
query_string = 'https://www.qgis.org/?MAP=%s&SERVICE=WMS&VERSION=%s&REQUEST=%s' % (urllib.parse.quote(project), version, request)
|
||||
if extra is not None:
|
||||
query_string += extra
|
||||
header, body = self._execute_request(query_string)
|
||||
@ -65,7 +65,8 @@ class TestQgsServerWMSTestBase(QgsServerTestBase):
|
||||
response = re.sub(RE_STRIP_UNCHECKABLE, b'*****', response)
|
||||
expected = re.sub(RE_STRIP_UNCHECKABLE, b'*****', expected)
|
||||
|
||||
self.assertXMLEqual(response, expected, msg="request %s failed.\nQuery: %s\nExpected file: %s\nResponse:\n%s" % (query_string, request, reference_path, response.decode('utf-8')))
|
||||
msg = "request %s failed.\nQuery: %s\nExpected file: %s\nResponse:\n%s" % (query_string, request, reference_path, response.decode('utf-8'))
|
||||
self.assertXMLEqual(response, expected, msg=msg)
|
||||
|
||||
|
||||
class TestQgsServerWMS(TestQgsServerWMSTestBase):
|
||||
@ -163,6 +164,50 @@ class TestQgsServerWMS(TestQgsServerWMSTestBase):
|
||||
|
||||
self.wms_request_compare('GetCapabilities', reference_file='wms_getcapabilities_without_title', project='test_project_without_title.qgs')
|
||||
|
||||
def test_wms_getcapabilities_versions(self):
|
||||
# default version 1.3.0 when empty VERSION parameter
|
||||
project = os.path.join(self.testdata_path, "test_project.qgs")
|
||||
qs = "?" + "&".join(["%s=%s" % i for i in list({
|
||||
"MAP": urllib.parse.quote(project),
|
||||
"SERVICE": "WMS",
|
||||
"REQUEST": "GetCapabilities",
|
||||
}.items())])
|
||||
|
||||
r, h = self._result(self._execute_request(qs))
|
||||
self.wms_request_compare(qs, reference_file='wms_getcapabilities_1_3_0', version='')
|
||||
|
||||
# default version 1.3.0 when VERSION = 1.3.0 parameter
|
||||
project = os.path.join(self.testdata_path, "test_project.qgs")
|
||||
qs = "?" + "&".join(["%s=%s" % i for i in list({
|
||||
"MAP": urllib.parse.quote(project),
|
||||
"SERVICE": "WMS",
|
||||
"REQUEST": "GetCapabilities",
|
||||
}.items())])
|
||||
|
||||
r, h = self._result(self._execute_request(qs))
|
||||
self.wms_request_compare(qs, reference_file='wms_getcapabilities_1_3_0', version='1.3.0')
|
||||
|
||||
# version 1.1.1
|
||||
project = os.path.join(self.testdata_path, "test_project.qgs")
|
||||
qs = "?" + "&".join(["%s=%s" % i for i in list({
|
||||
"MAP": urllib.parse.quote(project),
|
||||
"SERVICE": "WMS",
|
||||
"REQUEST": "GetCapabilities",
|
||||
}.items())])
|
||||
|
||||
self.wms_request_compare(qs, reference_file='wms_getcapabilities_1_1_1', version='1.1.1')
|
||||
|
||||
# default version 1.3.0 when invalid VERSION parameter
|
||||
project = os.path.join(self.testdata_path, "test_project.qgs")
|
||||
qs = "?" + "&".join(["%s=%s" % i for i in list({
|
||||
"MAP": urllib.parse.quote(project),
|
||||
"SERVICE": "WMS",
|
||||
"REQUEST": "GetCapabilities",
|
||||
}.items())])
|
||||
|
||||
r, h = self._result(self._execute_request(qs))
|
||||
self.wms_request_compare(qs, reference_file='wms_getcapabilities_1_3_0', version='33.33.33')
|
||||
|
||||
def test_wms_getcapabilities_url(self):
|
||||
# empty url in project
|
||||
project = os.path.join(self.testdata_path, "test_project_without_urls.qgs")
|
||||
@ -244,7 +289,7 @@ class TestQgsServerWMS(TestQgsServerWMSTestBase):
|
||||
f.close()
|
||||
|
||||
# clean header in doc
|
||||
doc = doc.replace('Content-Length: 5775\n', '')
|
||||
doc = doc.replace('Content-Length: 6575\n', '')
|
||||
doc = doc.replace('Content-Type: text/xml; charset=utf-8\n\n', '')
|
||||
doc = doc.replace('<?xml version="1.0" encoding="utf-8"?>\n', '')
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
Content-Length: 5775
|
||||
Content-Length: 6575
|
||||
Content-Type: text/xml; charset=utf-8
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<WMS_Capabilities xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:qgs="http://www.qgis.org/wms" xmlns="http://www.opengis.net/wms" xsi:schemaLocation="http://www.opengis.net/wms http://schemas.opengis.net/wms/1.3.0/capabilities_1_3_0.xsd http://www.opengis.net/sld http://schemas.opengis.net/sld/1.1.0/sld_capabilities.xsd http://www.qgis.org/wms https://www.qgis.org/?MAP=tests/testdata/qgis_server/test_project.qgs&SERVICE=WMS&REQUEST=GetSchemaExtension" version="1.3" xmlns:sld="http://www.opengis.net/sld">
|
||||
<WMS_Capabilities xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:qgs="http://www.qgis.org/wms" xmlns="http://www.opengis.net/wms" xsi:schemaLocation="http://www.opengis.net/wms http://schemas.opengis.net/wms/1.3.0/capabilities_1_3_0.xsd http://www.opengis.net/sld http://schemas.opengis.net/sld/1.1.0/sld_capabilities.xsd http://www.qgis.org/wms https://www.qgis.org/?MAP=tests/testdata/qgis_server/test_project.qgs&SERVICE=WMS&REQUEST=GetSchemaExtension" version="1.3.0" xmlns:sld="http://www.opengis.net/sld">
|
||||
<Service>
|
||||
<Name>WMS</Name>
|
||||
<Title>QGIS TestProject</Title>
|
||||
@ -97,6 +97,7 @@ Content-Type: text/xml; charset=utf-8
|
||||
<Exception>
|
||||
<Format>XML</Format>
|
||||
</Exception>
|
||||
<sld:UserDefinedSymbolization SupportSLD="1" RemoteWCS="0" UserLayer="0" InlineFeature="0" RemoteWFS="0" UserStyle="1"/>
|
||||
<Layer>
|
||||
<Title>QGIS Test Project</Title>
|
||||
<Abstract>QGIS Test Project</Abstract>
|
||||
@ -135,7 +136,7 @@ Content-Type: text/xml; charset=utf-8
|
||||
<Title>default</Title>
|
||||
<LegendURL>
|
||||
<Format>image/png</Format>
|
||||
<OnlineResource xlink:type="simple" xlink:href="https://www.qgis.org/?MAP=tests/testdata/qgis_server/test_project.qgs&SERVICE=WMS&VERSION=1.3&REQUEST=GetLegendGraphic&LAYER=testlayer èé&FORMAT=image/png&STYLE=default" xmlns:xlink="http://www.w3.org/1999/xlink"/>
|
||||
<OnlineResource xlink:type="simple" xlink:href="https://www.qgis.org/?MAP=tests/testdata/qgis_server/test_project.qgs&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetLegendGraphic&LAYER=testlayer èé&FORMAT=image/png&STYLE=default" xmlns:xlink="http://www.w3.org/1999/xlink"/>
|
||||
</LegendURL>
|
||||
</Style>
|
||||
</Layer>
|
||||
|
135
tests/testdata/qgis_server/wms_getcapabilities_1_1_1.txt
vendored
Normal file
135
tests/testdata/qgis_server/wms_getcapabilities_1_1_1.txt
vendored
Normal file
@ -0,0 +1,135 @@
|
||||
*****
|
||||
Content-Type: text/xml; charset=utf-8
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE WMT_MS_Capabilities SYSTEM 'http://schemas.opengis.net/wms/1.1.1/WMS_MS_Capabilities.dtd'>
|
||||
<WMT_MS_Capabilities version="1.1.1">
|
||||
<Service>
|
||||
<Name>WMS</Name>
|
||||
<Title>QGIS TestProject</Title>
|
||||
<Abstract><![CDATA[Some UTF8 text èòù]]></Abstract>
|
||||
<KeywordList>
|
||||
<Keyword vocabulary="ISO">infoMapAccessService</Keyword>
|
||||
</KeywordList>
|
||||
<OnlineResource xlink:type="simple" xlink:href="https://www.qgis.org/?*****" xmlns:xlink="http://www.w3.org/1999/xlink"/>
|
||||
<ContactInformation>
|
||||
<ContactPersonPrimary>
|
||||
<ContactPerson>Alessandro Pasotti</ContactPerson>
|
||||
<ContactOrganization>QGIS dev team</ContactOrganization>
|
||||
</ContactPersonPrimary>
|
||||
<ContactElectronicMailAddress>elpaso@itopen.it</ContactElectronicMailAddress>
|
||||
</ContactInformation>
|
||||
<Fees>conditions unknown</Fees>
|
||||
<AccessConstraints>None</AccessConstraints>
|
||||
</Service>
|
||||
<Capability>
|
||||
<Request>
|
||||
<GetCapabilities>
|
||||
<Format>application/vnd.ogc.wms_xml</Format>
|
||||
<DCPType>
|
||||
<HTTP>
|
||||
<Get>
|
||||
<OnlineResource xlink:type="simple" xlink:href="https://www.qgis.org/?*****" xmlns:xlink="http://www.w3.org/1999/xlink"/>
|
||||
</Get>
|
||||
</HTTP>
|
||||
</DCPType>
|
||||
</GetCapabilities>
|
||||
<GetMap>
|
||||
<Format>image/jpeg</Format>
|
||||
<Format>image/png</Format>
|
||||
<Format>image/png; mode=16bit</Format>
|
||||
<Format>image/png; mode=8bit</Format>
|
||||
<Format>image/png; mode=1bit</Format>
|
||||
<Format>application/dxf</Format>
|
||||
<DCPType>
|
||||
<HTTP>
|
||||
<Get>
|
||||
<OnlineResource xlink:type="simple" xlink:href="https://www.qgis.org/?*****" xmlns:xlink="http://www.w3.org/1999/xlink"/>
|
||||
</Get>
|
||||
</HTTP>
|
||||
</DCPType>
|
||||
</GetMap>
|
||||
<GetFeatureInfo>
|
||||
<Format>text/plain</Format>
|
||||
<Format>text/html</Format>
|
||||
<Format>text/xml</Format>
|
||||
<Format>application/vnd.ogc.gml</Format>
|
||||
<Format>application/vnd.ogc.gml/3.1.1</Format>
|
||||
<DCPType>
|
||||
<HTTP>
|
||||
<Get>
|
||||
<OnlineResource xlink:type="simple" xlink:href="https://www.qgis.org/?*****" xmlns:xlink="http://www.w3.org/1999/xlink"/>
|
||||
</Get>
|
||||
</HTTP>
|
||||
</DCPType>
|
||||
</GetFeatureInfo>
|
||||
<GetLegendGraphic>
|
||||
<Format>image/jpeg</Format>
|
||||
<Format>image/png</Format>
|
||||
<DCPType>
|
||||
<HTTP>
|
||||
<Get>
|
||||
<OnlineResource xlink:type="simple" xlink:href="https://www.qgis.org/?*****" xmlns:xlink="http://www.w3.org/1999/xlink"/>
|
||||
</Get>
|
||||
</HTTP>
|
||||
</DCPType>
|
||||
</GetLegendGraphic>
|
||||
<DescribeLayer>
|
||||
<Format>text/xml</Format>
|
||||
<DCPType>
|
||||
<HTTP>
|
||||
<Get>
|
||||
<OnlineResource xlink:type="simple" xlink:href="https://www.qgis.org/?*****" xmlns:xlink="http://www.w3.org/1999/xlink"/>
|
||||
</Get>
|
||||
</HTTP>
|
||||
</DCPType>
|
||||
</DescribeLayer>
|
||||
<GetStyles>
|
||||
<Format>text/xml</Format>
|
||||
<DCPType>
|
||||
<HTTP>
|
||||
<Get>
|
||||
<OnlineResource xlink:type="simple" xlink:href="https://www.qgis.org/?*****" xmlns:xlink="http://www.w3.org/1999/xlink"/>
|
||||
</Get>
|
||||
</HTTP>
|
||||
</DCPType>
|
||||
</GetStyles>
|
||||
</Request>
|
||||
<Exception>
|
||||
<Format>application/vnd.ogc.se_xml</Format>
|
||||
</Exception>
|
||||
<Layer>
|
||||
<Title>QGIS Test Project</Title>
|
||||
<Abstract>QGIS Test Project</Abstract>
|
||||
<SRS>CRS:84</SRS>
|
||||
<SRS>EPSG:4326</SRS>
|
||||
<SRS>EPSG:3857</SRS>
|
||||
<LatLonBoundingBox maxy="44.9016" maxx="8.20416" miny="44.9012" minx="8.20315"/>
|
||||
<BoundingBox maxy="5.60604e+06" SRS="EPSG:3857" maxx="913283" miny="5.60599e+06" minx="913171"/>
|
||||
<BoundingBox maxy="44.9016" SRS="EPSG:4326" maxx="8.20416" miny="44.9012" minx="8.20315"/>
|
||||
<Name>QGIS Test Project</Name>
|
||||
<KeywordList>
|
||||
<Keyword vocabulary="ISO">infoMapAccessService</Keyword>
|
||||
</KeywordList>
|
||||
<Layer queryable="1">
|
||||
<Name>testlayer èé</Name>
|
||||
<Title>A test vector layer</Title>
|
||||
<Abstract>A test vector layer with unicode òà</Abstract>
|
||||
<SRS>CRS:84</SRS>
|
||||
<SRS>EPSG:4326</SRS>
|
||||
<SRS>EPSG:3857</SRS>
|
||||
<LatLonBoundingBox maxy="44.9015" maxx="8.20355" miny="44.9014" minx="8.20346"/>
|
||||
<BoundingBox maxy="5.60603e+06" SRS="EPSG:3857" maxx="913215" miny="5.60601e+06" minx="913205"/>
|
||||
<BoundingBox maxy="44.9015" SRS="EPSG:4326" maxx="8.20355" miny="44.9014" minx="8.20346"/>
|
||||
<Style>
|
||||
<Name>default</Name>
|
||||
<Title>default</Title>
|
||||
<LegendURL>
|
||||
<Format>image/png</Format>
|
||||
<OnlineResource xlink:type="simple" xlink:href="https://www.qgis.org/?*****" xmlns:xlink="http://www.w3.org/1999/xlink"/>
|
||||
</LegendURL>
|
||||
</Style>
|
||||
</Layer>
|
||||
</Layer>
|
||||
</Capability>
|
||||
</WMT_MS_Capabilities>
|
145
tests/testdata/qgis_server/wms_getcapabilities_1_3_0.txt
vendored
Normal file
145
tests/testdata/qgis_server/wms_getcapabilities_1_3_0.txt
vendored
Normal file
@ -0,0 +1,145 @@
|
||||
Content-Length: 6575
|
||||
Content-Type: text/xml; charset=utf-8
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<WMS_Capabilities xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:qgs="http://www.qgis.org/wms" xmlns="http://www.opengis.net/wms" xsi:schemaLocation="http://www.opengis.net/wms http://schemas.opengis.net/wms/1.3.0/capabilities_1_3_0.xsd http://www.opengis.net/sld http://schemas.opengis.net/sld/1.1.0/sld_capabilities.xsd http://www.qgis.org/wms https://www.qgis.org/?MAP=tests/testdata/qgis_server/test_project.qgs&SERVICE=WMS&REQUEST=GetSchemaExtension" version="1.3.0" xmlns:sld="http://www.opengis.net/sld">
|
||||
<Service>
|
||||
<Name>WMS</Name>
|
||||
<Title>QGIS TestProject</Title>
|
||||
<Abstract><![CDATA[Some UTF8 text èòù]]></Abstract>
|
||||
<KeywordList>
|
||||
<Keyword vocabulary="ISO">infoMapAccessService</Keyword>
|
||||
</KeywordList>
|
||||
<OnlineResource xlink:type="simple" xlink:href="https://www.qgis.org/?MAP=tests/testdata/qgis_server/test_project.qgs&" xmlns:xlink="http://www.w3.org/1999/xlink"/>
|
||||
<ContactInformation>
|
||||
<ContactPersonPrimary>
|
||||
<ContactPerson>Alessandro Pasotti</ContactPerson>
|
||||
<ContactOrganization>QGIS dev team</ContactOrganization>
|
||||
</ContactPersonPrimary>
|
||||
<ContactElectronicMailAddress>elpaso@itopen.it</ContactElectronicMailAddress>
|
||||
</ContactInformation>
|
||||
<Fees>conditions unknown</Fees>
|
||||
<AccessConstraints>None</AccessConstraints>
|
||||
</Service>
|
||||
<Capability>
|
||||
<Request>
|
||||
<GetCapabilities>
|
||||
<Format>text/xml</Format>
|
||||
<DCPType>
|
||||
<HTTP>
|
||||
<Get>
|
||||
<OnlineResource xlink:type="simple" xlink:href="https://www.qgis.org/?MAP=tests/testdata/qgis_server/test_project.qgs&" xmlns:xlink="http://www.w3.org/1999/xlink"/>
|
||||
</Get>
|
||||
</HTTP>
|
||||
</DCPType>
|
||||
</GetCapabilities>
|
||||
<GetMap>
|
||||
<Format>image/jpeg</Format>
|
||||
<Format>image/png</Format>
|
||||
<Format>image/png; mode=16bit</Format>
|
||||
<Format>image/png; mode=8bit</Format>
|
||||
<Format>image/png; mode=1bit</Format>
|
||||
<Format>application/dxf</Format>
|
||||
<DCPType>
|
||||
<HTTP>
|
||||
<Get>
|
||||
<OnlineResource xlink:type="simple" xlink:href="https://www.qgis.org/?MAP=tests/testdata/qgis_server/test_project.qgs&" xmlns:xlink="http://www.w3.org/1999/xlink"/>
|
||||
</Get>
|
||||
</HTTP>
|
||||
</DCPType>
|
||||
</GetMap>
|
||||
<GetFeatureInfo>
|
||||
<Format>text/plain</Format>
|
||||
<Format>text/html</Format>
|
||||
<Format>text/xml</Format>
|
||||
<Format>application/vnd.ogc.gml</Format>
|
||||
<Format>application/vnd.ogc.gml/3.1.1</Format>
|
||||
<DCPType>
|
||||
<HTTP>
|
||||
<Get>
|
||||
<OnlineResource xlink:type="simple" xlink:href="https://www.qgis.org/?MAP=tests/testdata/qgis_server/test_project.qgs&" xmlns:xlink="http://www.w3.org/1999/xlink"/>
|
||||
</Get>
|
||||
</HTTP>
|
||||
</DCPType>
|
||||
</GetFeatureInfo>
|
||||
<sld:GetLegendGraphic>
|
||||
<Format>image/jpeg</Format>
|
||||
<Format>image/png</Format>
|
||||
<DCPType>
|
||||
<HTTP>
|
||||
<Get>
|
||||
<OnlineResource xlink:type="simple" xlink:href="https://www.qgis.org/?MAP=tests/testdata/qgis_server/test_project.qgs&" xmlns:xlink="http://www.w3.org/1999/xlink"/>
|
||||
</Get>
|
||||
</HTTP>
|
||||
</DCPType>
|
||||
</sld:GetLegendGraphic>
|
||||
<sld:DescribeLayer>
|
||||
<Format>text/xml</Format>
|
||||
<DCPType>
|
||||
<HTTP>
|
||||
<Get>
|
||||
<OnlineResource xlink:type="simple" xlink:href="https://www.qgis.org/?MAP=tests/testdata/qgis_server/test_project.qgs&" xmlns:xlink="http://www.w3.org/1999/xlink"/>
|
||||
</Get>
|
||||
</HTTP>
|
||||
</DCPType>
|
||||
</sld:DescribeLayer>
|
||||
<qgs:GetStyles>
|
||||
<Format>text/xml</Format>
|
||||
<DCPType>
|
||||
<HTTP>
|
||||
<Get>
|
||||
<OnlineResource xlink:type="simple" xlink:href="https://www.qgis.org/?MAP=tests/testdata/qgis_server/test_project.qgs&" xmlns:xlink="http://www.w3.org/1999/xlink"/>
|
||||
</Get>
|
||||
</HTTP>
|
||||
</DCPType>
|
||||
</qgs:GetStyles>
|
||||
</Request>
|
||||
<Exception>
|
||||
<Format>XML</Format>
|
||||
</Exception>
|
||||
<sld:UserDefinedSymbolization SupportSLD="1" RemoteWCS="0" UserLayer="0" InlineFeature="0" RemoteWFS="0" UserStyle="1"/>
|
||||
<Layer>
|
||||
<Title>QGIS Test Project</Title>
|
||||
<Abstract>QGIS Test Project</Abstract>
|
||||
<CRS>CRS:84</CRS>
|
||||
<CRS>EPSG:4326</CRS>
|
||||
<CRS>EPSG:3857</CRS>
|
||||
<EX_GeographicBoundingBox>
|
||||
<westBoundLongitude>8.20315</westBoundLongitude>
|
||||
<eastBoundLongitude>8.20416</eastBoundLongitude>
|
||||
<southBoundLatitude>44.9012</southBoundLatitude>
|
||||
<northBoundLatitude>44.9016</northBoundLatitude>
|
||||
</EX_GeographicBoundingBox>
|
||||
<BoundingBox maxy="5.60604e+06" maxx="913283" miny="5.60599e+06" CRS="EPSG:3857" minx="913171"/>
|
||||
<BoundingBox maxy="8.20416" maxx="44.9016" miny="8.20315" CRS="EPSG:4326" minx="44.9012"/>
|
||||
<Name>QGIS Test Project</Name>
|
||||
<KeywordList>
|
||||
<Keyword vocabulary="ISO">infoMapAccessService</Keyword>
|
||||
</KeywordList>
|
||||
<Layer queryable="1">
|
||||
<Name>testlayer èé</Name>
|
||||
<Title>A test vector layer</Title>
|
||||
<Abstract>A test vector layer with unicode òà</Abstract>
|
||||
<CRS>CRS:84</CRS>
|
||||
<CRS>EPSG:4326</CRS>
|
||||
<CRS>EPSG:3857</CRS>
|
||||
<EX_GeographicBoundingBox>
|
||||
<westBoundLongitude>8.20346</westBoundLongitude>
|
||||
<eastBoundLongitude>8.20355</eastBoundLongitude>
|
||||
<southBoundLatitude>44.9014</southBoundLatitude>
|
||||
<northBoundLatitude>44.9015</northBoundLatitude>
|
||||
</EX_GeographicBoundingBox>
|
||||
<BoundingBox maxy="5.60603e+06" maxx="913215" miny="5.60601e+06" CRS="EPSG:3857" minx="913205"/>
|
||||
<BoundingBox maxy="8.20355" maxx="44.9015" miny="8.20346" CRS="EPSG:4326" minx="44.9014"/>
|
||||
<Style>
|
||||
<Name>default</Name>
|
||||
<Title>default</Title>
|
||||
<LegendURL>
|
||||
<Format>image/png</Format>
|
||||
<OnlineResource xlink:type="simple" xlink:href="https://www.qgis.org/?MAP=tests/testdata/qgis_server/test_project.qgs&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetLegendGraphic&LAYER=testlayer èé&FORMAT=image/png&STYLE=default" xmlns:xlink="http://www.w3.org/1999/xlink"/>
|
||||
</LegendURL>
|
||||
</Style>
|
||||
</Layer>
|
||||
</Layer>
|
||||
</Capability>
|
||||
</WMS_Capabilities>
|
Loading…
x
Reference in New Issue
Block a user