Skip to content
Permalink
Browse files

Fix WMS dimensions control file

  • Loading branch information
elpaso authored and nyalldawson committed Feb 8, 2021
1 parent 7d32621 commit 12a220bb18d7ffdae54ac040148ffb64b94dca3e
Showing with 22 additions and 22 deletions.
  1. +22 −22 tests/testdata/qgis_server_accesscontrol/results/getcapabilities_wms_dimension.txt
@@ -2,15 +2,15 @@ Content-Length: 8886
Content-Type: text/xml; charset=utf-8

<?xml version="1.0" encoding="utf-8"?>
<WMS_Capabilities xmlns:qgs="http://www.qgis.org/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=/root/QGIS/tests/testdata/qgis_server_accesscontrol/project_with_dimensions.qgs&amp;SERVICE=WMS&amp;REQUEST=GetSchemaExtension" xmlns="http://www.opengis.net/wms" version="1.3.0" xmlns:sld="http://www.opengis.net/sld" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<WMS_Capabilities 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=/root/QGIS/tests/testdata/qgis_server_accesscontrol/project_with_dimensions.qgs&amp;SERVICE=WMS&amp;REQUEST=GetSchemaExtension" xmlns="http://www.opengis.net/wms" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:sld="http://www.opengis.net/sld" xmlns:qgs="http://www.qgis.org/wms" version="1.3.0">
<Service>
<Name>WMS</Name>
<Title>QGIS Server WMS Dimension test</Title>
<Abstract><![CDATA[Simple test app for WMS dimension]]></Abstract>
<KeywordList>
<Keyword vocabulary="ISO">infoMapAccessService</Keyword>
</KeywordList>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://www.qgis.org/?MAP=/root/QGIS/tests/testdata/qgis_server_accesscontrol/project_with_dimensions.qgs" xlink:type="simple"/>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://www.qgis.org/?MAP=/root/QGIS/tests/testdata/qgis_server_accesscontrol/project_with_dimensions.qgs"/>
<ContactInformation>
<ContactPersonPrimary>
<ContactPerson>Rene Luc DHONT</ContactPerson>
@@ -29,7 +29,7 @@ Content-Type: text/xml; charset=utf-8
<DCPType>
<HTTP>
<Get>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://www.qgis.org/?MAP=/root/QGIS/tests/testdata/qgis_server_accesscontrol/project_with_dimensions.qgs&amp;" xlink:type="simple"/>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://www.qgis.org/?MAP=/root/QGIS/tests/testdata/qgis_server_accesscontrol/project_with_dimensions.qgs&amp;"/>
</Get>
</HTTP>
</DCPType>
@@ -44,7 +44,7 @@ Content-Type: text/xml; charset=utf-8
<DCPType>
<HTTP>
<Get>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://www.qgis.org/?MAP=/root/QGIS/tests/testdata/qgis_server_accesscontrol/project_with_dimensions.qgs&amp;" xlink:type="simple"/>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://www.qgis.org/?MAP=/root/QGIS/tests/testdata/qgis_server_accesscontrol/project_with_dimensions.qgs&amp;"/>
</Get>
</HTTP>
</DCPType>
@@ -60,7 +60,7 @@ Content-Type: text/xml; charset=utf-8
<DCPType>
<HTTP>
<Get>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://www.qgis.org/?MAP=/root/QGIS/tests/testdata/qgis_server_accesscontrol/project_with_dimensions.qgs&amp;" xlink:type="simple"/>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://www.qgis.org/?MAP=/root/QGIS/tests/testdata/qgis_server_accesscontrol/project_with_dimensions.qgs&amp;"/>
</Get>
</HTTP>
</DCPType>
@@ -72,7 +72,7 @@ Content-Type: text/xml; charset=utf-8
<DCPType>
<HTTP>
<Get>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://www.qgis.org/?MAP=/root/QGIS/tests/testdata/qgis_server_accesscontrol/project_with_dimensions.qgs&amp;" xlink:type="simple"/>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://www.qgis.org/?MAP=/root/QGIS/tests/testdata/qgis_server_accesscontrol/project_with_dimensions.qgs&amp;"/>
</Get>
</HTTP>
</DCPType>
@@ -82,7 +82,7 @@ Content-Type: text/xml; charset=utf-8
<DCPType>
<HTTP>
<Get>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://www.qgis.org/?MAP=/root/QGIS/tests/testdata/qgis_server_accesscontrol/project_with_dimensions.qgs&amp;" xlink:type="simple"/>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://www.qgis.org/?MAP=/root/QGIS/tests/testdata/qgis_server_accesscontrol/project_with_dimensions.qgs&amp;"/>
</Get>
</HTTP>
</DCPType>
@@ -92,7 +92,7 @@ Content-Type: text/xml; charset=utf-8
<DCPType>
<HTTP>
<Get>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://www.qgis.org/?MAP=/root/QGIS/tests/testdata/qgis_server_accesscontrol/project_with_dimensions.qgs&amp;" xlink:type="simple"/>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://www.qgis.org/?MAP=/root/QGIS/tests/testdata/qgis_server_accesscontrol/project_with_dimensions.qgs&amp;"/>
</Get>
</HTTP>
</DCPType>
@@ -101,7 +101,7 @@ Content-Type: text/xml; charset=utf-8
<Exception>
<Format>XML</Format>
</Exception>
<sld:UserDefinedSymbolization InlineFeature="0" RemoteWCS="0" RemoteWFS="0" SupportSLD="1" UserStyle="1" UserLayer="0"/>
<sld:UserDefinedSymbolization UserStyle="1" RemoteWFS="0" RemoteWCS="0" SupportSLD="1" InlineFeature="0" UserLayer="0"/>
<Layer queryable="1">
<Name>QGIS Server WMS Dimensions</Name>
<Title>QGIS Server WMS Dimension test</Title>
@@ -118,8 +118,8 @@ Content-Type: text/xml; charset=utf-8
<southBoundLatitude>-69.957839</southBoundLatitude>
<northBoundLatitude>84.307877</northBoundLatitude>
</EX_GeographicBoundingBox>
<BoundingBox CRS="EPSG:4326" maxx="84.307877" minx="-69.957839" miny="-174.766579" maxy="177.930822"/>
<BoundingBox CRS="EPSG:3857" maxx="20961936" minx="-20609694" miny="-11055007" maxy="19143773"/>
<BoundingBox miny="-174.766579" minx="-69.957839" CRS="EPSG:4326" maxy="177.930822" maxx="84.307877"/>
<BoundingBox miny="-11055007" minx="-20609694" CRS="EPSG:3857" maxy="19143773" maxx="20961936"/>
<Layer queryable="1">
<Name>Contours</Name>
<Title>Contours</Title>
@@ -132,17 +132,17 @@ Content-Type: text/xml; charset=utf-8
<southBoundLatitude>29.999996</southBoundLatitude>
<northBoundLatitude>60</northBoundLatitude>
</EX_GeographicBoundingBox>
<BoundingBox CRS="EPSG:4326" maxx="60" minx="29.999996" miny="-28.761387" maxy="0.000001"/>
<BoundingBox CRS="EPSG:3857" maxx="0.001" minx="-3201702.942" miny="3503549.353" maxy="8399737.89"/>
<BoundingBox miny="-28.761387" minx="29.999996" CRS="EPSG:4326" maxy="0.000001" maxx="60"/>
<BoundingBox miny="3503549.353" minx="-3201702.942" CRS="EPSG:3857" maxy="8399737.89" maxx="0.001"/>
<Style>
<Name>default</Name>
<Title>default</Title>
<LegendURL>
<Format>image/png</Format>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://www.qgis.org/?MAP=/root/QGIS/tests/testdata/qgis_server_accesscontrol/project_with_dimensions.qgs&amp;SERVICE=WMS&amp;VERSION=1.3.0&amp;REQUEST=GetLegendGraphic&amp;LAYER=Contours&amp;FORMAT=image/png&amp;STYLE=default&amp;SLD_VERSION=1.1.0" xlink:type="simple"/>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://www.qgis.org/?MAP=/root/QGIS/tests/testdata/qgis_server_accesscontrol/project_with_dimensions.qgs&amp;SERVICE=WMS&amp;VERSION=1.3.0&amp;REQUEST=GetLegendGraphic&amp;LAYER=Contours&amp;FORMAT=image/png&amp;STYLE=default&amp;SLD_VERSION=1.1.0"/>
</LegendURL>
</Style>
<Dimension name="elevation" multipleValues="1" units="meters" unitSymbol="m" nearestValue="0">0, 500, 1000, 1500, 2000, 2500, 3000, 3500, 4000</Dimension>
<Dimension unitSymbol="m" name="elevation" nearestValue="0" multipleValues="1" units="meters">0, 500, 1000, 1500, 2000, 2500, 3000, 3500, 4000</Dimension>
</Layer>
<Layer queryable="1">
<Name>Slopes</Name>
@@ -156,17 +156,17 @@ Content-Type: text/xml; charset=utf-8
<southBoundLatitude>36.0667</southBoundLatitude>
<northBoundLatitude>43.7562</northBoundLatitude>
</EX_GeographicBoundingBox>
<BoundingBox CRS="EPSG:4326" maxx="43.7562" minx="36.0667" miny="-9.40375" maxy="0.000001"/>
<BoundingBox CRS="EPSG:3857" maxx="0.001" minx="-1046820.662" miny="4309803.074" maxy="5427790.763"/>
<BoundingBox miny="-9.40375" minx="36.0667" CRS="EPSG:4326" maxy="0.000001" maxx="43.7562"/>
<BoundingBox miny="4309803.074" minx="-1046820.662" CRS="EPSG:3857" maxy="5427790.763" maxx="0.001"/>
<Style>
<Name>default</Name>
<Title>default</Title>
<LegendURL>
<Format>image/png</Format>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://www.qgis.org/?MAP=/root/QGIS/tests/testdata/qgis_server_accesscontrol/project_with_dimensions.qgs&amp;SERVICE=WMS&amp;VERSION=1.3.0&amp;REQUEST=GetLegendGraphic&amp;LAYER=Slopes&amp;FORMAT=image/png&amp;STYLE=default&amp;SLD_VERSION=1.1.0" xlink:type="simple"/>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://www.qgis.org/?MAP=/root/QGIS/tests/testdata/qgis_server_accesscontrol/project_with_dimensions.qgs&amp;SERVICE=WMS&amp;VERSION=1.3.0&amp;REQUEST=GetLegendGraphic&amp;LAYER=Slopes&amp;FORMAT=image/png&amp;STYLE=default&amp;SLD_VERSION=1.1.0"/>
</LegendURL>
</Style>
<Dimension name="range_elevation" multipleValues="1" units="meters" unitSymbol="m" nearestValue="0">0, 500, 1000, 1500, 2000, 2500, 3000</Dimension>
<Dimension unitSymbol="m" name="range_elevation" nearestValue="0" multipleValues="1" units="meters">0, 500, 1000, 1500, 2000, 2500, 3000</Dimension>
</Layer>
<Layer queryable="1">
<Name>dem</Name>
@@ -180,14 +180,14 @@ Content-Type: text/xml; charset=utf-8
<southBoundLatitude>29.999999</southBoundLatitude>
<northBoundLatitude>60</northBoundLatitude>
</EX_GeographicBoundingBox>
<BoundingBox CRS="EPSG:4326" maxx="60" minx="29.999999" miny="-30" maxy="0.000001"/>
<BoundingBox CRS="EPSG:3857" maxx="0.001" minx="-3339584.724" miny="3503549.843" maxy="8399737.89"/>
<BoundingBox miny="-30" minx="29.999999" CRS="EPSG:4326" maxy="0.000001" maxx="60"/>
<BoundingBox miny="3503549.843" minx="-3339584.724" CRS="EPSG:3857" maxy="8399737.89" maxx="0.001"/>
<Style>
<Name>default</Name>
<Title>default</Title>
<LegendURL>
<Format>image/png</Format>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://www.qgis.org/?MAP=/root/QGIS/tests/testdata/qgis_server_accesscontrol/project_with_dimensions.qgs&amp;SERVICE=WMS&amp;VERSION=1.3.0&amp;REQUEST=GetLegendGraphic&amp;LAYER=dem&amp;FORMAT=image/png&amp;STYLE=default&amp;SLD_VERSION=1.1.0" xlink:type="simple"/>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://www.qgis.org/?MAP=/root/QGIS/tests/testdata/qgis_server_accesscontrol/project_with_dimensions.qgs&amp;SERVICE=WMS&amp;VERSION=1.3.0&amp;REQUEST=GetLegendGraphic&amp;LAYER=dem&amp;FORMAT=image/png&amp;STYLE=default&amp;SLD_VERSION=1.1.0"/>
</LegendURL>
</Style>
</Layer>

0 comments on commit 12a220b

Please sign in to comment.