Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
2,563 additions
and
851 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+4.34 KB
...es/qgis_server/WMS_GetMap_ContextRendering/WMS_GetMap_ContextRendering_mask.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.62 KB
...es/qgis_server/WMS_GetMap_LabelingSettings/WMS_GetMap_LabelingSettings_mask.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+934 Bytes
(100%)
...ntrol_images/qgis_server/WMS_GetPrint_Highlight/WMS_GetPrint_Highlight_mask.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
246 changes: 246 additions & 0 deletions
246
tests/testdata/qgis_server/getcapabilities_without_map_param.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,246 @@ | ||
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/?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/" 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/?" 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> | ||
<sld: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> | ||
</sld:GetLegendGraphic> | ||
<sld: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> | ||
</sld:DescribeLayer> | ||
<qgs: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> | ||
</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>layer_with_short_name</Name> | ||
<Title>A Layer with a short name</Title> | ||
<Abstract>A Layer with an abstract</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/?&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetLegendGraphic&LAYER=layer_with_short_name&FORMAT=image/png&STYLE=default&SLD_VERSION=1.1.0" xmlns:xlink="http://www.w3.org/1999/xlink"/> | ||
</LegendURL> | ||
</Style> | ||
</Layer> | ||
<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/?&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetLegendGraphic&LAYER=testlayer èé&FORMAT=image/png&STYLE=default&SLD_VERSION=1.1.0" xmlns:xlink="http://www.w3.org/1999/xlink"/> | ||
</LegendURL> | ||
</Style> | ||
</Layer> | ||
<Layer> | ||
<Name>group_name</Name> | ||
<Title>Group title</Title> | ||
<Abstract>Group abstract</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"/> | ||
<Layer queryable="1"> | ||
<Name>testlayer2</Name> | ||
<Title>testlayer2</Title> | ||
<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/?&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetLegendGraphic&LAYER=testlayer2&FORMAT=image/png&STYLE=default&SLD_VERSION=1.1.0" xmlns:xlink="http://www.w3.org/1999/xlink"/> | ||
</LegendURL> | ||
</Style> | ||
</Layer> | ||
</Layer> | ||
<Layer> | ||
<Name>groupwithoutshortname</Name> | ||
<Title>groupwithoutshortname</Title> | ||
<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"/> | ||
<Layer queryable="0"> | ||
<Name>testlayer3</Name> | ||
<Title>testlayer3</Title> | ||
<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/?&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetLegendGraphic&LAYER=testlayer3&FORMAT=image/png&STYLE=default&SLD_VERSION=1.1.0" xmlns:xlink="http://www.w3.org/1999/xlink"/> | ||
</LegendURL> | ||
</Style> | ||
</Layer> | ||
</Layer> | ||
</Layer> | ||
</Capability> | ||
</WMS_Capabilities> |
Oops, something went wrong.