This document describes the requirements a WMS implementation must meet to be
eligible for certification testing and the assertions that are tested.
For each assertion in the specifications, a corresponding entry in this test
specification contains the following elements:
To be certifiable as a BASIC WMS, an implementation must meet the following requirements:
In some cases, the WMS 1.1.1 specification is a bit ambiguous.
Where additional interpretation is needed, the tests described in this
document assume the following:
Scope ID
|
Description
|
auto_updatesequence |
The updateSequence tests use automatically generated updateSequence values |
manual_updatesequence |
The updateSequence tests use the user supplied values |
no_profile |
No tests for a certification profile were selected |
basic_profile |
Tests for the BASIC profile were selected |
queryable_profile |
Tests for the QUERYABLE profile were selected |
recommended |
The recommendation support tests were selected |
testgml |
Tests for GetFeatureInfo format application/vnd.ogc.gml were selected. |
free |
The fees and access constraints tests were selected |
loosebboxconstraints |
The LOOSE bounding box constraint test was selected |
strictbboxconstraints |
The STRICT bounding box constraint test was selected |
eitherbboxconstraint |
No bounding box constraint tests were selected |
These variables are extracted from the capabilities document using XPath expressions.
These scopes are extracted from the capabilities document using XPath expressions.
ID: |
wms/basic_elements/param_rules/order_and_case/1 |
Class: |
B |
Text: |
Parameter names are not case sensitive. [WMS 1.1.1 Specification section basic_elements.param_rules.order_and_case] |
Note: |
Not completely testable without an extremely large number of requests. However, the other tests will use MiXeD case for parameter names to ensure that implementations haven't hardcoded for upper or lower case. |
|
|
ID: |
wms/basic_elements/param_rules/order_and_case/2 |
Class: |
B |
Text: |
Parameters in a request may be specified in any order. [WMS 1.1.1 Specification section basic_elements.param_rules.order_and_case] |
Note: |
Not completely testable without an extremely large number of requests. However, the other tests will use a random order for parameter names rather than using alphabetical order or the order in which the spec lists the parameters. |
|
|
ID: |
wms/basic_elements/param_rules/order_and_case/3 |
Class: |
A |
Text: |
When a GetCapabilities request contains a parameter which is not defined by the spec, the result is valid. [WMS 1.1.1 Specification section basic_elements.param_rules.order_and_case] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
SERVICE = WMS |
REQUEST = GetCapabilities |
BOGUS = ignored |
|
Results:
|
XML where /WMT_MS_Capabilities exists. |
|
|
ID: |
wms/basic_elements/param_rules/order_and_case/4 |
Class: |
C |
Scope: |
The server implements the CITE standard dataset in subsettable, resizable layers that support EPSG:4326 |
Text: |
When a GetMap request contains a parameter which is not defined by the spec, the result is valid. [WMS 1.1.1 Specification section basic_elements.param_rules.order_and_case] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = [[VAR_LAKES]] |
STYLES = |
SRS = EPSG:4326 |
BBOX = 0, -0.0020, 0.0040, 0 |
WIDTH = 200 |
HEIGHT = 100 |
FORMAT = [[VAR_IMAGE_FORMAT]] |
BOGUS = ignored |
|
Results:
|
Content-type header = [[VAR_IMAGE_FORMAT]] |
|
|
ID: |
wms/basic_elements/param_rules/order_and_case/5 |
Class: |
C |
Scope: |
The server supports GetFeatureInfo requests and the CITE standard dataset layers containing polygons are queryable |
Text: |
When a GetFeatureInfo request contains a parameter which is not defined by the spec, the result is valid. [WMS 1.1.1 Specification section basic_elements.param_rules.order_and_case] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetFeatureInfo |
LAYERS = [[VAR_LAKES]] |
STYLES = |
SRS = EPSG:4326 |
BBOX = 0, -0.0020, 0.0040, 0 |
WIDTH = 200 |
HEIGHT = 100 |
FORMAT = [[VAR_IMAGE_FORMAT]] |
QUERY_LAYERS = [[VAR_LAKES]] |
INFO_FORMAT = [[VAR_GET_FEATURE_INFO_FORMAT]] |
X = 60 |
Y = 60 |
BOGUS = ignored |
|
Results:
|
Content-type header = [[VAR_GET_FEATURE_INFO_FORMAT]] |
|
|
ID: |
wms/wmsops/getcapabilities/params/version/1 |
Class: |
A |
Text: |
When a GetCapabilities request is made for the version in test using WMTVER instead of VERSION, then the response is the requested version. [WMS 1.1.1 Specification section wmsops.getcapabilities.params.version] |
Note: |
Request:
|
WMTVER = [[VAR_WMS_VERSION]] |
SERVICE = WMS |
REQUEST = GetCapabilities |
|
Results:
|
XML where /WMT_MS_Capabilities/@version = [[VAR_WMS_VERSION]] |
|
|
ID: |
wms/wmsops/getcapabilities/params/version/2 |
Class: |
A |
Text: |
When a GetCapabilities request is made for a supported version other than [[VAR_WMS_VERSION]] using WMTVER instead of VERSION, then the version returned is the version requested. [WMS 1.1.1 Specification section wmsops.getcapabilities.params.version] |
Note: |
Request#1:
|
VERSION = 0.0.0 |
SERVICE = WMS |
REQUEST = GetCapabilities |
|
Request#2:
|
VERSION = 100.0.0 |
SERVICE = WMS |
REQUEST = GetCapabilities |
|
Request#3:
|
WMTVER = [[VAR_OTHER_VERSION]] |
SERVICE = WMS |
REQUEST = [[VAR_REQUEST_NAME]] |
|
Results:
|
VAR_OTHER_VERSION will be set to the version returned from request 1 if it is not ther version in test. Otherwise, it will be set to the version returned from request 2. The result from request 3 must be XML where /WMT_MS_Capabilities/@version = [[VAR_OTHER_VERSION]] |
|
|
ID: |
wms/wmsops/getcapabilities/params/version/3 |
Class: |
A |
Text: |
When a GetCapabilities request is made with VERSION set to [[VAR_WMS_VERSION]] and WMTVER set to 0.0.0 and VERSION precedes WMTVER, then the version returned is [[VAR_WMS_VERSION]]. [WMS 1.1.1 Specification section wmsops.getcapabilities.params.version] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
WMTVER = 0.0.0 |
SERVICE = WMS |
REQUEST = GetCapabilities |
|
Results:
|
XML where /WMT_MS_Capabilities/@version = [[VAR_WMS_VERSION]] |
|
|
ID: |
wms/wmsops/getcapabilities/params/version/4 |
Class: |
A |
Text: |
When a GetCapabilities request is made with VERSION set to [[VAR_WMS_VERSION]] and WMTVER set to 100.0.0 and VERSION precedes WMTVER, then the version returned is [[VAR_WMS_VERSION]]. [WMS 1.1.1 Specification section wmsops.getcapabilities.params.version] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
WMTVER = 100.0.0 |
SERVICE = WMS |
REQUEST = GetCapabilities |
|
Results:
|
XML where /WMT_MS_Capabilities/@version = [[VAR_WMS_VERSION]] |
|
|
ID: |
wms/wmsops/getcapabilities/params/version/5 |
Class: |
A |
Text: |
When a GetCapabilities request is made with VERSION set to [[VAR_WMS_VERSION]] and WMTVER set to 0.0.0 and WMTVER precedes VERSION, then the version returned is [[VAR_WMS_VERSION]]. [WMS 1.1.1 Specification section wmsops.getcapabilities.params.version] |
Note: |
Request:
|
WMTVER = 0.0.0 |
VERSION = [[VAR_WMS_VERSION]] |
SERVICE = WMS |
REQUEST = GetCapabilities |
|
Results:
|
XML where /WMT_MS_Capabilities/@version = [[VAR_WMS_VERSION]] |
|
|
ID: |
wms/wmsops/getcapabilities/params/version/6 |
Class: |
A |
Text: |
When a GetCapabilities request is made with VERSION set to [[VAR_WMS_VERSION]] and WMTVER set to 100.0.0 and WMTVER precedes VERSION, then the version returned is [[VAR_WMS_VERSION]]. [WMS 1.1.1 Specification section wmsops.getcapabilities.params.version] |
Note: |
Request:
|
WMTVER = 100.0.0 |
VERSION = [[VAR_WMS_VERSION]] |
SERVICE = WMS |
REQUEST = GetCapabilities |
|
Results:
|
XML where /WMT_MS_Capabilities/@version = [[VAR_WMS_VERSION]] |
|
|
ID: |
wms/wmsops/getcapabilities/params/updatesequence/1 |
Class: |
C |
Scope: |
The server does not advertise an UpdateSequence number |
Text: |
When a GetCapabilities request is made with an UPDATESEQUENCE parameter, then the UPDATESEQUENCE parameter is ignored. [WMS 1.1.1 Specification section wmsops.getcapabilities.params.updatesequence] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
SERVICE = WMS |
REQUEST = GetCapabilities |
UPDATESEQUENCE = ignored |
|
Results:
|
XML where /WMT_MS_Capabilities exists |
|
|
ID: |
wms/wmsops/getcapabilities/params/updatesequence/2 |
Class: |
C |
Scope: |
The server advertises an UpdateSequence number |
Text: |
When a GetCapabilities request is made with an UPDATESEQUENCE parameter set to the current update sequence value, then the server returns a valid exception (code=CurrentUpdateSequence). [WMS 1.1.1 Specification section wmsops.getcapabilities.params.updatesequence] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
SERVICE = WMS |
REQUEST = GetCapabilities |
UPDATESEQUENCE = [[VAR_CURRENT_UPDATESEQUENCE]] |
|
Results:
|
Valid XML where /ServiceExceptionReport/ServiceException[@code="CurrentUpdateSequence"] exists |
|
|
ID: |
wms/wmsops/getcapabilities/params/updatesequence/3 |
Class: |
C |
Scopes: |
- The server advertises an UpdateSequence number
- The updateSequence tests use the user supplied values
|
Text: |
When a GetCapabilities request is made with an UPDATESEQUENCE parameter set to a value lower than the current update sequence value, then the server returns capabilities XML. [WMS 1.1.1 Specification section wmsops.getcapabilities.params.updatesequence] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
SERVICE = WMS |
REQUEST = GetCapabilities |
UPDATESEQUENCE = [[VAR_LOW_UPDATESEQUENCE]] |
|
Results:
|
XML where /WMT_MS_Capabilities exists |
|
|
ID: |
wms/wmsops/getcapabilities/params/updatesequence/4 |
Class: |
C |
Scopes: |
- The server advertises an UpdateSequence number
- The updateSequence tests use the user supplied values
|
Text: |
When a GetCapabilities request is made with an UPDATESEQUENCE parameter set to a value higher than the current update sequence value, then the server returns an InvalidUpdateSequence exception. [WMS 1.1.1 Specification section wmsops.getcapabilities.params.updatesequence] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
SERVICE = WMS |
REQUEST = GetCapabilities |
UPDATESEQUENCE = [[VAR_HIGH_UPDATESEQUENCE]] |
|
Results:
|
Valid XML where /ServiceExceptionReport/ServiceException[@code="InvalidUpdateSequence"] exists |
|
|
ID: |
wms/wmsops/getcapabilities/params/updatesequence/5 |
Class: |
C |
Scopes: |
- The server advertises an UpdateSequence number
- The updateSequence tests use automatically generated updateSequence values
|
Text: |
When a GetCapabilities request is made with an UPDATESEQUENCE parameter set to a value lower than the current update sequence value, then the server returns capabilities XML. [WMS 1.1.1 Specification section wmsops.getcapabilities.params.updatesequence] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
SERVICE = WMS |
REQUEST = GetCapabilities |
UPDATESEQUENCE = [[VAR_AUTO_LOW_UPDATESEQUENCE]] |
|
Results:
|
XML where /WMT_MS_Capabilities exists |
|
|
ID: |
wms/wmsops/getcapabilities/params/updatesequence/6 |
Class: |
C |
Scopes: |
- The server advertises an UpdateSequence number
- The updateSequence tests use automatically generated updateSequence values
|
Text: |
When a GetCapabilities request is made with an UPDATESEQUENCE parameter set to a value higher than the current update sequence value, then the server returns an InvalidUpdateSequence exception. [WMS 1.1.1 Specification section wmsops.getcapabilities.params.updatesequence] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
SERVICE = WMS |
REQUEST = GetCapabilities |
UPDATESEQUENCE = [[VAR_AUTO_HIGH_UPDATESEQUENCE]] |
|
Results:
|
Valid XML where /ServiceExceptionReport/ServiceException[@code="InvalidUpdateSequence"] exists |
|
|
ID: |
wms/wmsops/getmap/params/layers/1 |
Class: |
C |
Scope: |
The server implements the CITE standard dataset in subsettable, resizable layers that support EPSG:4326 |
Text: |
When a GetMap request contains a single layer name, then the response is valid. [WMS 1.1.1 Specification section wmsops.getmap.params.layers] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = [[VAR_LAKES]] |
STYLES = |
SRS = EPSG:4326 |
BBOX = 0, -0.0020, 0.0040, 0 |
WIDTH = 200 |
HEIGHT = 100 |
FORMAT = [[VAR_IMAGE_FORMAT]] |
|
Results:
|
Content-type header = [[VAR_IMAGE_FORMAT]] |
|
|
ID: |
wms/wmsops/getmap/params/layers/2 |
Class: |
C |
Scope: |
The server implements the CITE standard dataset in subsettable, resizable layers that support EPSG:4326 |
Text: |
When a GetMap request contains two layer names (separated by a comma), then the response is valid. [WMS 1.1.1 Specification section wmsops.getmap.params.layers] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = [[VAR_LAKES]], [[VAR_STREAMS]] |
STYLES = |
SRS = EPSG:4326 |
BBOX = -0.0042, -0.0024, 0.0042, 0.0024 |
WIDTH = 168 |
HEIGHT = 96 |
FORMAT = [[VAR_IMAGE_FORMAT]] |
|
Results:
|
Content-type header = [[VAR_IMAGE_FORMAT]] |
|
|
ID: |
wms/wmsops/getmap/params/layers/3 |
Class: |
C |
Scope: |
The server implements the CITE standard dataset in subsettable, resizable layers that support EPSG:4326 |
Text: |
When a GetMap request contains three layer names (separated by commas), then the response is valid. [WMS 1.1.1 Specification section wmsops.getmap.params.layers] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = [[VAR_MAP_NEATLINE]], [[VAR_ROAD_SEGMENTS]], [[VAR_DIVIDED_ROUTES]] |
STYLES = |
SRS = EPSG:4326 |
BBOX = -0.0042, -0.0024, 0.0042, 0.0024 |
WIDTH = 168 |
HEIGHT = 96 |
FORMAT = [[VAR_IMAGE_FORMAT]] |
|
Results:
|
Content-type header = [[VAR_IMAGE_FORMAT]] |
|
|
ID: |
wms/wmsops/getmap/params/layers/4 |
Class: |
C |
Scopes: |
- The server implements the CITE standard dataset in subsettable, resizable layers that support EPSG:4326
- The server supports an image format which the test software can read (gif, png, or jpeg)
|
Text: |
When a GetMap request contains multiple layers, then the response renders the requested layers by drawing the leftmost in the list bottommost, and the next one over that. [WMS 1.1.1 Specification section wmsops.getmap.params.layers] |
Note: |
The user will be asked to manually verify that for request #1, Goose Island, Blue Lake, and Ashton are above State Forest. For request #2, State Forest is above Ashton, and Blue Lake and Goose Island are not visible. If it is not be possible to tell which feature is on top of another, the test will pass. |
|
|
|
|
|
ID: |
wms/wmsops/getmap/params/layers/8 |
Class: |
B |
Text: |
For each of the Layers in the capabilities document, when a GetMap request is made with the LAYERS parameter set to the element of the layer, then the response is valid. [WMS 1.1.1 Specification section wmsops.getmap.params.layers] |
Note: |
Not testable without dynamic testing capability |
|
|
ID: |
wms/wmsops/getmap/params/styles/1 |
Class: |
C |
Scopes: |
- The server contains a standard layer with a named style where the style is contained directly in the layer definition
- The server implements the CITE standard dataset in subsettable, resizable layers that support EPSG:4326
|
Text: |
When a GetMap request contains a single layer and a single style where the style is contained directly in the layer in the capabilities document, then the response is valid. [WMS 1.1.1 Specification section wmsops.getmap.params.styles] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = [[VAR_LAYER_WITH_INHERENT_STYLE]] |
STYLES = [[VAR_INHERENT_STYLE]] |
SRS = EPSG:4326 |
BBOX = -0.0042, -0.0024, 0.0042, 0.0024 |
WIDTH = 168 |
HEIGHT = 96 |
FORMAT = [[VAR_IMAGE_FORMAT]] |
|
Results:
|
Content-type header = [[VAR_IMAGE_FORMAT]] |
|
|
ID: |
wms/wmsops/getmap/params/styles/2 |
Class: |
C |
Scopes: |
- The server contains a standard layer with a named style where the style is inherited from a parent layer definition
- The server implements the CITE standard dataset in subsettable, resizable layers that support EPSG:4326
|
Text: |
When a GetMap request contains a single layer and a single style where the style is inherited by the layer in the capabilities document, then the response is valid. [WMS 1.1.1 Specification section wmsops.getmap.params.styles] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = [[VAR_LAYER_WITH_INHERITED_STYLE]] |
STYLES = [[VAR_INHERITED_STYLE]] |
SRS = EPSG:4326 |
BBOX = -0.0042, -0.0024, 0.0042, 0.0024 |
WIDTH = 168 |
HEIGHT = 96 |
FORMAT = [[VAR_IMAGE_FORMAT]] |
|
Results:
|
Content-type header = [[VAR_IMAGE_FORMAT]] |
|
|
ID: |
wms/wmsops/getmap/params/styles/3 |
Class: |
C |
Scopes: |
- The server contains a standard layer that is available in a named style
- The server implements the CITE standard dataset in subsettable, resizable layers that support EPSG:4326
|
Text: |
When a GetMap request contains two layers and two styles (separated by a comma), then the response is valid. [WMS 1.1.1 Specification section wmsops.getmap.params.styles] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = [[VAR_LAYER_WITH_STYLE]], [[VAR_LAYER_WITH_STYLE]] |
STYLES = [[VAR_STYLE]], [[VAR_STYLE]] |
SRS = EPSG:4326 |
BBOX = -0.0042, -0.0024, 0.0042, 0.0024 |
WIDTH = 168 |
HEIGHT = 96 |
FORMAT = [[VAR_IMAGE_FORMAT]] |
|
Results:
|
Content-type header = [[VAR_IMAGE_FORMAT]] |
|
|
ID: |
wms/wmsops/getmap/params/styles/4 |
Class: |
C |
Scopes: |
- The server contains a standard layer that is available in a named style
- The server implements the CITE standard dataset in subsettable, resizable layers that support EPSG:4326
|
Text: |
When a GetMap request contains three layers and three styles (separated by commas), then the response is valid. [WMS 1.1.1 Specification section wmsops.getmap.params.styles] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = [[VAR_LAYER_WITH_STYLE]], [[VAR_LAYER_WITH_STYLE]], [[VAR_LAYER_WITH_STYLE]] |
STYLES = [[VAR_STYLE]], [[VAR_STYLE]], [[VAR_STYLE]] |
SRS = EPSG:4326 |
BBOX = -0.0042, -0.0024, 0.0042, 0.0024 |
WIDTH = 168 |
HEIGHT = 96 |
FORMAT = [[VAR_IMAGE_FORMAT]] |
|
Results:
|
Content-type header = [[VAR_IMAGE_FORMAT]] |
|
|
ID: |
wms/wmsops/getmap/params/styles/5 |
Class: |
C |
Scope: |
The server implements the CITE standard dataset in subsettable, resizable layers that support EPSG:4326 |
Text: |
When a GetMap request contains an unadvertised Style, then the response is an exception (code=StyleNotDefined). [WMS 1.1.1 Specification section wmsops.getmap.params.styles] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = [[VAR_LAKES]] |
STYLES = UndefinedStyle |
SRS = EPSG:4326 |
BBOX = -0.0042, -0.0024, 0.0042, 0.0024 |
WIDTH = 168 |
HEIGHT = 96 |
FORMAT = [[VAR_IMAGE_FORMAT]] |
|
Results:
|
Valid XML where /ServiceExceptionReport/ServiceException[@code="StyleNotDefined"] exists |
|
|
ID: |
wms/wmsops/getmap/params/styles/6 |
Class: |
C |
Scope: |
The server implements the CITE standard dataset in subsettable, resizable layers that support EPSG:4326 |
Text: |
When a GetMap request contains a single layer and a null style value (as in "STYLES="), then the response is valid. [WMS 1.1.1 Specification section wmsops.getmap.params.styles] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = [[VAR_PONDS]] |
STYLES = |
SRS = EPSG:4326 |
BBOX = -0.0042, -0.0024, 0.0042, 0.0024 |
WIDTH = 168 |
HEIGHT = 96 |
FORMAT = [[VAR_IMAGE_FORMAT]] |
|
Results:
|
Content-type header = [[VAR_IMAGE_FORMAT]] |
|
|
ID: |
wms/wmsops/getmap/params/styles/7 |
Class: |
C |
Scopes: |
- The server contains a standard layer that is available in a named style
- The server implements the CITE standard dataset in subsettable, resizable layers that support EPSG:4326
|
Text: |
When a GetMap request contains multiple layers and a mixture of named and default styles (as in "STYLES=style1,,style2,,"), then the response is valid. [WMS 1.1.1 Specification section wmsops.getmap.params.styles] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = [[VAR_LAYER_WITH_STYLE]], [[VAR_BRIDGES]], [[VAR_LAYER_WITH_STYLE]], [[VAR_ROAD_SEGMENTS]], [[VAR_DIVIDED_ROUTES]] |
STYLES = [[VAR_STYLE]], , [[VAR_STYLE]], , |
SRS = EPSG:4326 |
BBOX = -0.0042, -0.0024, 0.0042, 0.0024 |
WIDTH = 168 |
HEIGHT = 96 |
FORMAT = [[VAR_IMAGE_FORMAT]] |
|
Results:
|
Content-type header = [[VAR_IMAGE_FORMAT]] |
|
|
ID: |
wms/wmsops/getmap/params/styles/8 |
Class: |
C |
Scope: |
The server implements the CITE standard dataset in subsettable, resizable layers that support EPSG:4326 |
Text: |
When a GetMap request contains multiple layers and requests all layers to be shown in the default style by using null values between commas (as in "STYLES=,,,"), then the response is valid. [WMS 1.1.1 Specification section wmsops.getmap.params.styles] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = [[VAR_BRIDGES]], [[VAR_ROAD_SEGMENTS]], [[VAR_DIVIDED_ROUTES]], [[VAR_BUILDINGS]] |
STYLES = , , , |
SRS = EPSG:4326 |
BBOX = -0.0042, -0.0024, 0.0042, 0.0024 |
WIDTH = 168 |
HEIGHT = 96 |
FORMAT = [[VAR_IMAGE_FORMAT]] |
|
Results:
|
Content-type header = [[VAR_IMAGE_FORMAT]] |
|
|
ID: |
wms/wmsops/getmap/params/styles/9 |
Class: |
C |
Scope: |
The server implements the CITE standard dataset in subsettable, resizable layers that support EPSG:4326 |
Text: |
When a GetMap request contains multiple layers and requests all layers to be shown in the default style by using a single null value (as in "STYLES="), then the response is valid. [WMS 1.1.1 Specification section wmsops.getmap.params.styles] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = [[VAR_BRIDGES]], [[VAR_ROAD_SEGMENTS]], [[VAR_DIVIDED_ROUTES]], [[VAR_BUILDINGS]] |
STYLES = |
SRS = EPSG:4326 |
BBOX = -0.0042, -0.0024, 0.0042, 0.0024 |
WIDTH = 168 |
HEIGHT = 96 |
FORMAT = [[VAR_IMAGE_FORMAT]] |
|
Results:
|
Content-type header = [[VAR_IMAGE_FORMAT]] |
|
|
ID: |
wms/wmsops/getmap/params/styles/10 |
Class: |
C |
Scopes: |
- The server contains a standard layer that is available in a named style
- The server implements the CITE standard dataset in subsettable, resizable layers that support EPSG:4326
|
Text: |
When a GetMap request contains two layers, where one of the styles is valid and one is not, then the response is an exception (code=StyleNotDefined). [WMS 1.1.1 Specification section wmsops.getmap.params.styles] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = [[VAR_LAYER_WITH_STYLE]], [[VAR_LAKES]] |
STYLES = [[VAR_STYLE]], UndefinedStyle |
SRS = EPSG:4326 |
BBOX = -0.0042, -0.0024, 0.0042, 0.0024 |
WIDTH = 168 |
HEIGHT = 96 |
FORMAT = [[VAR_IMAGE_FORMAT]] |
|
Results:
|
Valid XML where /ServiceExceptionReport/ServiceException[@code="StyleNotDefined"] exists |
|
|
ID: |
wms/wmsops/getmap/params/styles/11 |
Class: |
B |
Text: |
For each of the Styles in the capabilities document, when a GetMap request is made with the STYLES parameter set to the element of the style, then the response is valid. [WMS 1.1.1 Specification section wmsops.getmap.params.styles] |
Note: |
Not testable without dynamic testing capability |
|
|
ID: |
wms/wmsops/getmap/params/srs/1 |
Class: |
C |
Scopes: |
- The server contains a named layer where the EPSG:4326 SRS is contained directly in the layer definition
- The server implements the CITE standard dataset in subsettable, resizable layers that support EPSG:4326
|
Text: |
When a GetMap request contains a single layer and a SRS where the SRS is contained directly in the layer in the capabilities document, then the response is valid. [WMS 1.1.1 Specification section wmsops.getmap.params.srs] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = [[VAR_LAYER_WITH_INHERENT_SRS]] |
STYLES = |
SRS = EPSG:4326 |
BBOX = -0.0042, -0.0024, 0.0042, 0.0024 |
WIDTH = 168 |
HEIGHT = 96 |
FORMAT = [[VAR_IMAGE_FORMAT]] |
|
Results:
|
Content-type header = [[VAR_IMAGE_FORMAT]] |
|
|
ID: |
wms/wmsops/getmap/params/srs/2 |
Class: |
C |
Scopes: |
- The server contains a named layer where the EPSG:4326 SRS is inherited from a parent layer definition
- The server implements the CITE standard dataset in subsettable, resizable layers that support EPSG:4326
|
Text: |
When a GetMap request contains a single layer and a SRS where the SRS is inherited by the layer in the capabilities document, then the response is valid. [WMS 1.1.1 Specification section wmsops.getmap.params.srs] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = [[VAR_LAYER_WITH_INHERITED_SRS]] |
STYLES = |
SRS = EPSG:4326 |
BBOX = -0.0042, -0.0024, 0.0042, 0.0024 |
WIDTH = 168 |
HEIGHT = 96 |
FORMAT = [[VAR_IMAGE_FORMAT]] |
|
Results:
|
Content-type header = [[VAR_IMAGE_FORMAT]] |
|
|
ID: |
wms/wmsops/getmap/params/srs/3 |
Class: |
C |
Scope: |
The server implements the CITE standard dataset in subsettable, resizable layers that support EPSG:4326 |
Text: |
When the SRS parameter in a GetMap request contains a SRS that is not valid for any of the layers being requested, then the server shall throw a Service Exception (code = "InvalidSRS"). [WMS 1.1.1 Specification section wmsops.getmap.params.srs], [WMS 1.1.1 Specification section basic_elements.params.srs] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = [[VAR_LAKES]] |
STYLES = |
SRS = UndefinedSRS |
BBOX = -0.0042, -0.0024, 0.0042, 0.0024 |
WIDTH = 168 |
HEIGHT = 96 |
FORMAT = [[VAR_IMAGE_FORMAT]] |
|
Results:
|
Valid XML where /ServiceExceptionReport/ServiceException[@code="InvalidSRS"] exists |
|
|
|
|
|
ID: |
wms/wmsops/getmap/params/bbox/1 |
Class: |
C |
Scopes: |
- The server implements the CITE standard dataset in subsettable, resizable layers that support EPSG:4326
- The server supports an image format which the test software can read (gif, png, or jpeg)
|
Text: |
When a GetMap request uses integer values for the BBOX parameter, then the response is valid. [WMS 1.1.1 Specification section wmsops.getmap.params.bbox], [WMS 1.1.1 Specification section basic_elements.params.bbox] |
Note: |
The user will be asked to manually verify that the image contains a diamond polygon that fills the picture. |
|
|
ID: |
wms/wmsops/getmap/params/bbox/2 |
Class: |
C |
Scopes: |
- The server implements the CITE standard dataset in subsettable, resizable layers that support EPSG:4326
- The server supports an image format which the test software can read (gif, png, or jpeg)
|
Text: |
When a GetMap request uses decimal values for the BBOX parameter, then the response is valid. [WMS 1.1.1 Specification section wmsops.getmap.params.bbox], [WMS 1.1.1 Specification section basic_elements.params.bbox] |
Note: |
The user will be asked to manually verify that image #1 contains a map of the Blue Lake vicinity with a surrounding neatline and image #2 contains a slightly closer view of the same area where the surrounding neatline is not visible. |
|
|
ID: |
wms/wmsops/getmap/params/bbox/3 |
Class: |
C |
Scopes: |
- The server implements the CITE standard dataset in subsettable, resizable layers that support EPSG:4326
- The server supports a lossless image format (gif or png)
|
Text: |
When a GetMap request uses scientific notation values for the BBOX parameter, then the response is valid. [WMS 1.1.1 Specification section wmsops.getmap.params.bbox], [WMS 1.1.1 Specification section basic_elements.params.bbox] |
Note: |
Request#1:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = [[VAR_STREAMS]], [[VAR_LAKES]], [[VAR_PONDS]], [[VAR_BRIDGES]], [[VAR_ROAD_SEGMENTS]], [[VAR_DIVIDED_ROUTES]], [[VAR_BUILDINGS]], [[VAR_MAP_NEATLINE]] |
STYLES = |
SRS = EPSG:4326 |
BBOX = -0.005, -0.0025, 0.005, 0.0025 |
WIDTH = 400 |
HEIGHT = 200 |
FORMAT = [[VAR_LOSSLESS_FORMAT]] |
|
Request#2:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = [[VAR_STREAMS]], [[VAR_LAKES]], [[VAR_PONDS]], [[VAR_BRIDGES]], [[VAR_ROAD_SEGMENTS]], [[VAR_DIVIDED_ROUTES]], [[VAR_BUILDINGS]], [[VAR_MAP_NEATLINE]] |
STYLES = |
SRS = EPSG:4326 |
BBOX = -.0005E1, -25E-4, +05E-3, .00025E+1 |
WIDTH = 400 |
HEIGHT = 200 |
FORMAT = [[VAR_LOSSLESS_FORMAT]] |
|
Results:
|
Images where checksum(image#1) = checksum(image#2) |
|
|
ID: |
wms/wmsops/getmap/params/bbox/4 |
Class: |
C |
Scopes: |
- The server implements the CITE standard dataset in subsettable, resizable layers that support EPSG:4326
- The server supports a lossless image format (gif or png)
|
Text: |
The server interprets the bounding box as going around the "outside" of the pixels of the image rather than through the centers of the border pixels. [WMS 1.1.1 Specification section wmsops.getmap.params.bbox], [WMS 1.1.1 Specification section basic_elements.params.bbox] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = [[VAR_LAKES]] |
STYLES = |
SRS = EPSG:4326 |
BBOX = 0.0016, -0.0012, 0.0026, -0.0005 |
WIDTH = 10 |
HEIGHT = 7 |
FORMAT = [[VAR_LOSSLESS_FORMAT]] |
|
Results:
|
The test verifies that none of the border pixels in the image returned are white |
|
|
ID: |
wms/wmsops/getmap/params/bbox/5 |
Class: |
C |
Scope: |
The server implements the CITE standard dataset in subsettable, resizable layers that support EPSG:4326 |
Text: |
When the BBOX parameter's minimum X is greater than the maximum X, then the server throws an exception. [WMS 1.1.1 Specification section wmsops.getmap.params.bbox], [WMS 1.1.1 Specification section basic_elements.params.bbox] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = [[VAR_LAKES]] |
STYLES = |
SRS = EPSG:4326 |
BBOX = 1, -1, -1, 1 |
WIDTH = 100 |
HEIGHT = 100 |
FORMAT = [[VAR_IMAGE_FORMAT]] |
|
Results:
|
Valid XML where /ServiceExceptionReport/ServiceException exists |
|
|
ID: |
wms/wmsops/getmap/params/bbox/6 |
Class: |
C |
Scope: |
The server implements the CITE standard dataset in subsettable, resizable layers that support EPSG:4326 |
Text: |
When the BBOX parameter's minimum X is equal to the maximum X, then the server throws an exception. [WMS 1.1.1 Specification section wmsops.getmap.params.bbox], [WMS 1.1.1 Specification section basic_elements.params.bbox] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = [[VAR_LAKES]] |
STYLES = |
SRS = EPSG:4326 |
BBOX = 1, -1, 1, 1 |
WIDTH = 100 |
HEIGHT = 100 |
FORMAT = [[VAR_IMAGE_FORMAT]] |
|
Results:
|
Valid XML where /ServiceExceptionReport/ServiceException exists |
|
|
ID: |
wms/wmsops/getmap/params/bbox/7 |
Class: |
C |
Scope: |
The server implements the CITE standard dataset in subsettable, resizable layers that support EPSG:4326 |
Text: |
When the BBOX parameter's minimum Y is greater than the maximum Y, then the server throws an exception. [WMS 1.1.1 Specification section wmsops.getmap.params.bbox], [WMS 1.1.1 Specification section basic_elements.params.bbox] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = [[VAR_LAKES]] |
STYLES = |
SRS = EPSG:4326 |
BBOX = -1, 1, 1, -1 |
WIDTH = 100 |
HEIGHT = 100 |
FORMAT = [[VAR_IMAGE_FORMAT]] |
|
Results:
|
Valid XML where /ServiceExceptionReport/ServiceException exists |
|
|
ID: |
wms/wmsops/getmap/params/bbox/8 |
Class: |
C |
Scope: |
The server implements the CITE standard dataset in subsettable, resizable layers that support EPSG:4326 |
Text: |
When the BBOX parameter's minimum Y is equal to the maximum Y, then the server throws an exception. [WMS 1.1.1 Specification section wmsops.getmap.params.bbox], [WMS 1.1.1 Specification section basic_elements.params.bbox] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = [[VAR_LAKES]] |
STYLES = |
SRS = EPSG:4326 |
BBOX = -1, 1, 1, 1 |
WIDTH = 100 |
HEIGHT = 100 |
FORMAT = [[VAR_IMAGE_FORMAT]] |
|
Results:
|
Valid XML where /ServiceExceptionReport/ServiceException exists |
|
|
ID: |
wms/wmsops/getmap/params/bbox/9 |
Class: |
C |
Scopes: |
- The recommendation support tests were selected
- The server supports a lossless image format (gif or png)
- The server implements the CITE standard dataset in subsettable, resizable layers that support EPSG:4326
|
Text: |
When a request contains a Bounding Box whose area does not overlap at all with the BoundingBox advertised, then the server returns empty content. [WMS 1.1.1 Specification section wmsops.getmap.params.bbox], [WMS 1.1.1 Specification section basic_elements.params.bbox] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = [[VAR_PONDS]] |
STYLES = |
SRS = EPSG:4326 |
BBOX = -180, -90, -179, -89 |
WIDTH = 100 |
HEIGHT = 100 |
FORMAT = [[VAR_LOSSLESS_FORMAT]] |
|
Results:
|
Image where all pixels are white |
|
|
ID: |
wms/wmsops/getmap/params/bbox/10 |
Class: |
C |
Scopes: |
- The recommendation support tests were selected
- The server supports a lossless image format (gif or png)
- The server implements the CITE standard dataset in subsettable, resizable layers that support EPSG:4326
|
Text: |
When a request contains a Bounding Box with y values that are beyond 90 degrees, then the server returns empty content for the area beyond 90 degrees. [WMS 1.1.1 Specification section wmsops.getmap.params.bbox], [WMS 1.1.1 Specification section basic_elements.params.bbox] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = [[VAR_PONDS]] |
STYLES = |
SRS = EPSG:4326 |
BBOX = -5, 90, 5, 100 |
WIDTH = 100 |
HEIGHT = 100 |
FORMAT = [[VAR_LOSSLESS_FORMAT]] |
|
Results:
|
Image where all pixels are white |
|
|
ID: |
wms/wmsops/getmap/params/bbox/11 |
Class: |
C |
Scopes: |
- The STRICT bounding box constraint test was selected
- The server supports a lossless image format (gif or png)
- The server implements the CITE standard dataset in subsettable, resizable layers that support EPSG:4326
|
Text: |
When a request contains a Bounding Box with x values that are beyond 180 degrees, then the server returns empty content for the area beyond 180 degrees. [WMS 1.1.1 Specification section wmsops.getmap.params.bbox], [WMS 1.1.1 Specification section basic_elements.params.bbox] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = [[VAR_PONDS]] |
STYLES = |
SRS = EPSG:4326 |
BBOX = 359.9978, 0.0014, 359.9988, 0.0022 |
WIDTH = 100 |
HEIGHT = 100 |
FORMAT = [[VAR_LOSSLESS_FORMAT]] |
|
Results:
|
Image where all pixels are white |
|
|
ID: |
wms/wmsops/getmap/params/bbox/12 |
Class: |
C |
Scopes: |
- The LOOSE bounding box constraint test was selected
- The server supports a lossless image format (gif or png)
- The server implements the CITE standard dataset in subsettable, resizable layers that support EPSG:4326
|
Text: |
When a request contains a Bounding Box with x values that are beyond 180 degrees, then the server returns content that spans the anti-meridian. [WMS 1.1.1 Specification section wmsops.getmap.params.bbox], [WMS 1.1.1 Specification section basic_elements.params.bbox] |
Note: |
Request#1:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = [[VAR_PONDS]] |
STYLES = |
SRS = EPSG:4326 |
BBOX = -0.0022, 0.0014, -0.0012, 0.0022 |
WIDTH = 100 |
HEIGHT = 100 |
FORMAT = [[VAR_LOSSLESS_FORMAT]] |
|
Request#2:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = [[VAR_PONDS]] |
STYLES = |
SRS = EPSG:4326 |
BBOX = 359.9978, 0.0014, 359.9988, 0.0022 |
WIDTH = 100 |
HEIGHT = 100 |
FORMAT = [[VAR_LOSSLESS_FORMAT]] |
|
Results:
|
Two identical images |
|
|
ID: |
wms/wmsops/getmap/params/format/1 |
Class: |
C |
Scope: |
The server implements the CITE standard dataset in subsettable, resizable layers that support EPSG:4326 |
Text: |
When a GetMap request contains a Format that is not advertised, then the server throws a Service Exception (code="InvalidFormat"). [WMS 1.1.1 Specification section wmsops.getmap.params.format], [WMS 1.1.1 Specification section basic_elements.params.format] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = [[VAR_LAKES]] |
STYLES = |
SRS = EPSG:4326 |
BBOX = -1, -1, 1, 1 |
WIDTH = 100 |
HEIGHT = 100 |
FORMAT = UnknownFormat |
|
Results:
|
Valid XML where /ServiceExceptionReport/ServiceException[@code="InvalidFormat"] exists |
|
|
ID: |
wms/wmsops/getmap/params/format/2 |
Class: |
C |
Scopes: |
- The server supports gif images
- The server implements the CITE standard dataset in subsettable, resizable layers that support EPSG:4326
|
Text: |
When a GetMap request is made using format=image/gif, then the response is a valid gif. [WMS 1.1.1 Specification section wmsops.getmap.params.format] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = [[VAR_LAKES]] |
STYLES = |
SRS = EPSG:4326 |
BBOX = 0, -0.0020, 0.0040, 0 |
WIDTH = 200 |
HEIGHT = 100 |
FORMAT = image/gif |
|
Results:
|
Content-type header = "image/gif" and response is a genuine image |
|
|
ID: |
wms/wmsops/getmap/params/format/3 |
Class: |
C |
Scopes: |
- The server supports jpeg images
- The server implements the CITE standard dataset in subsettable, resizable layers that support EPSG:4326
|
Text: |
When a GetMap request is made using format=image/jpeg, then the response is a valid jpeg. [WMS 1.1.1 Specification section wmsops.getmap.params.format] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = [[VAR_LAKES]] |
STYLES = |
SRS = EPSG:4326 |
BBOX = 0, -0.0020, 0.0040, 0 |
WIDTH = 200 |
HEIGHT = 100 |
FORMAT = image/jpeg |
|
Results:
|
Content-type header = "image/jpeg" and response is a genuine image |
|
|
ID: |
wms/wmsops/getmap/params/format/4 |
Class: |
C |
Scopes: |
- The server supports png images
- The server implements the CITE standard dataset in subsettable, resizable layers that support EPSG:4326
|
Text: |
When a GetMap request is made using format=image/png, then the response is a valid png. [WMS 1.1.1 Specification section wmsops.getmap.params.format] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = [[VAR_LAKES]] |
STYLES = |
SRS = EPSG:4326 |
BBOX = 0, -0.0020, 0.0040, 0 |
WIDTH = 200 |
HEIGHT = 100 |
FORMAT = image/png |
|
Results:
|
Content-type header = "image/png" and response is a genuine image |
|
|
ID: |
wms/wmsops/getmap/params/format/5 |
Class: |
B |
Text: |
For each image format advertised in capabilities, When a GetMap request is made using the image format, then the Content-type entity header returned is the format requested. [WMS 1.1.1 Specification section wmsops.getmap.params.format] |
Note: |
Not testable without dynamic testing capability |
|
|
ID: |
wms/wmsops/getmap/params/width_height/1 |
Class: |
C |
Scopes: |
- The server implements the CITE standard dataset in subsettable, resizable layers that support EPSG:4326
- The server supports an image format which the test software can read (gif, png, or jpeg)
|
Text: |
When a request is made with WIDTH=1024 and HEIGHT=768, the image returned is exactly the size requested. [WMS 1.1.1 Specification section wmsops.getmap.params.width_height] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = [[VAR_LAKES]], [[VAR_STREAMS]], [[VAR_PONDS]] |
STYLES = |
SRS = EPSG:4326 |
BBOX = -0.0022, -0.0024, 0.0042, 0.0024 |
WIDTH = 1024 |
HEIGHT = 768 |
FORMAT = [[VAR_READABLE_IMAGE_FORMAT]] |
|
Results:
|
Image where width=1024 and height=768 |
|
|
ID: |
wms/wmsops/getmap/params/width_height/2 |
Class: |
C |
Scopes: |
- The server implements the CITE standard dataset in subsettable, resizable layers that support EPSG:4326
- The server supports an image format which the test software can read (gif, png, or jpeg)
|
Text: |
When a request is made with WIDTH=16 and HEIGHT=16, the image returned is exactly the size requested. [WMS 1.1.1 Specification section wmsops.getmap.params.width_height] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = [[VAR_BASIC_POLYGONS]] |
STYLES = |
SRS = EPSG:4326 |
BBOX = -1, -1, 1, 1 |
WIDTH = 16 |
HEIGHT = 16 |
FORMAT = [[VAR_READABLE_IMAGE_FORMAT]] |
|
Results:
|
Image where width=16 and height=16 |
|
|
ID: |
wms/wmsops/getmap/params/width_height/3 |
Class: |
C |
Scopes: |
- The server implements the CITE standard dataset in subsettable, resizable layers that support EPSG:4326
- The server supports an image format which the test software can read (gif, png, or jpeg)
|
Text: |
When a GetMap request is made where the aspect ratio of the BBOX and the aspect ratio of the WIDTH/HEIGHT parameters is different, then the map returned is stretched. [WMS 1.1.1 Specification section wmsops.getmap.params.width_height] |
Note: |
The user will be asked to manually verify that the two images look the same, except that the image #2 is stretched so it is twice as tall as image #1. |
|
|
ID: |
wms/wmsops/getmap/params/transparent/1 |
Class: |
C |
Scopes: |
- The server supports an image format which supports transparency (gif or png)
- The server implements the CITE standard dataset in subsettable, resizable layers that support EPSG:4326
|
Text: |
When a GetMap request is made with no TRANSPARENT parameter and a FORMAT that supports transparency over a BBOX that is not completely covered, then the response contains no transparent pixels. [WMS 1.1.1 Specification section wmsops.getmap.params.transparent] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = [[VAR_LAKES]] |
STYLES = |
SRS = EPSG:4326 |
BBOX = 0, -0.0020, 0.0040, 0 |
WIDTH = 200 |
HEIGHT = 100 |
FORMAT = [[VAR_TRANSPARENT_FORMAT]] |
|
Results:
|
An image with no transparent pixels |
|
|
ID: |
wms/wmsops/getmap/params/transparent/2 |
Class: |
C |
Scopes: |
- The server supports an image format which supports transparency (gif or png)
- The server implements the CITE standard dataset in subsettable, resizable layers that support EPSG:4326
|
Text: |
When a GetMap request is made with TRANSPARENT=fAlSe and a FORMAT that supports transparency over a BBOX that is not completely covered, then the response contains no transparent pixels. [WMS 1.1.1 Specification section wmsops.getmap.params.transparent] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = [[VAR_LAKES]] |
STYLES = |
SRS = EPSG:4326 |
BBOX = 0, -0.0020, 0.0040, 0 |
WIDTH = 200 |
HEIGHT = 100 |
FORMAT = [[VAR_TRANSPARENT_FORMAT]] |
TRANSPARENT = fAlSe |
|
Results:
|
An image with no transparent pixels |
|
|
ID: |
wms/wmsops/getmap/params/transparent/3 |
Class: |
C |
Scopes: |
- The server supports an image format which supports transparency (gif or png)
- The server implements the CITE standard dataset in subsettable, resizable layers that support EPSG:4326
|
Text: |
When a GetMap request is made with TRANSPARENT=TRUE and a FORMAT that supports transparency over a BBOX that is not completely covered, then the response contains transparent pixels. [WMS 1.1.1 Specification section wmsops.getmap.params.transparent] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = [[VAR_LAKES]] |
STYLES = |
SRS = EPSG:4326 |
BBOX = 0, -0.0020, 0.0040, 0 |
WIDTH = 200 |
HEIGHT = 100 |
FORMAT = [[VAR_TRANSPARENT_FORMAT]] |
TRANSPARENT = TRUE |
|
Results:
|
An image that contains transparent pixels |
|
|
ID: |
wms/wmsops/getmap/params/exceptions/1 |
Class: |
A |
Text: |
When an exception is raised without specifying the EXCEPTIONS parameter, then the Content-type of the return header is application/vnd.ogc.se_xml. [WMS 1.1.1 Specification section wmsops.getmap.params.exceptions] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = NonExistant |
STYLES = |
SRS = EPSG:4326 |
BBOX = -1, -1, 1, 1 |
WIDTH = 100 |
HEIGHT = 100 |
FORMAT = [[VAR_IMAGE_FORMAT]] |
|
Results:
|
Content-type header = "application/vnd.ogc.se_xml" |
|
|
ID: |
wms/wmsops/getmap/params/exceptions/2 |
Class: |
A |
Text: |
When an exception is raised and EXCEPTIONS=application/vnd.ogc.se_xml, then the Content-type of the return header is application/vnd.ogc.se_xml. [WMS 1.1.1 Specification section wmsops.getmap.params.exceptions] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = NonExistant |
STYLES = |
SRS = EPSG:4326 |
BBOX = -1, -1, 1, 1 |
WIDTH = 100 |
HEIGHT = 100 |
FORMAT = [[VAR_IMAGE_FORMAT]] |
EXCEPTIONS = application/vnd.ogc.se_xml |
|
Results:
|
Content-type header = "application/vnd.ogc.se_xml" |
|
|
ID: |
wms/wmsops/getmap/params/exceptions/3 |
Class: |
C |
Scopes: |
- The server supports the application/vnd.ogc.se_inimage exception format
- The server supports an image format which the test software can read (gif, png, or jpeg)
|
Text: |
When an exception is raised and EXCEPTIONS=application/vnd.ogc.se_inimage, then the error messages are graphically returned as part of the content. [WMS 1.1.1 Specification section wmsops.getmap.params.exceptions] |
Note: |
The user will be asked to verify that an image containing an error message indicating that the layer requested was not defined is returned. |
|
|
ID: |
wms/wmsops/getmap/params/exceptions/4 |
Class: |
C |
Scope: |
The server supports the application/vnd.ogc.se_inimage exception format |
Text: |
When an exception is raised and EXCEPTIONS=application/vnd.ogc.se_inimage, then the Content-type of the return header is the same as the FORMAT requested. [WMS 1.1.1 Specification section wmsops.getmap.params.exceptions] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = NonExistant |
STYLES = |
SRS = EPSG:4326 |
BBOX = -1, -1, 1, 1 |
WIDTH = 100 |
HEIGHT = 100 |
FORMAT = [[VAR_IMAGE_FORMAT]] |
EXCEPTIONS = application/vnd.ogc.se_inimage |
|
Results:
|
Content-type header = "[[VAR_IMAGE_FORMAT]]" |
|
|
ID: |
wms/wmsops/getmap/params/exceptions/5 |
Class: |
C |
Scopes: |
- The server supports the application/vnd.ogc.se_blank exception format
- The server supports a lossless image format (gif or png)
|
Text: |
When an exception is raised and EXCEPTIONS=application/vnd.ogc.se_blank, TRANSPRENT=FALSE, and BGCOLOR=0xFF0000, then the image returned contains only red pixels. [WMS 1.1.1 Specification section wmsops.getmap.params.exceptions] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = NonExistant |
STYLES = |
SRS = EPSG:4326 |
BBOX = -1, -1, 1, 1 |
WIDTH = 100 |
HEIGHT = 100 |
FORMAT = [[VAR_LOSSLESS_FORMAT]] |
BGCOLOR = 0xFF0000 |
EXCEPTIONS = application/vnd.ogc.se_blank |
|
Results:
|
Image where all the pixels are red |
|
|
ID: |
wms/wmsops/getmap/params/exceptions/6 |
Class: |
C |
Scopes: |
- The server supports the application/vnd.ogc.se_blank exception format
- The server supports an image format which supports transparency (gif or png)
|
Text: |
When an exception is raised and EXCEPTIONS=application/vnd.ogc.se_blank and TRANSPRENT=TRUE, then the image returned contains only transparent pixels. [WMS 1.1.1 Specification section wmsops.getmap.params.exceptions] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = NonExistant |
STYLES = |
SRS = EPSG:4326 |
BBOX = -1, -1, 1, 1 |
WIDTH = 100 |
HEIGHT = 100 |
FORMAT = [[VAR_TRANSPARENT_FORMAT]] |
TRANSPARENT = TRUE |
EXCEPTIONS = application/vnd.ogc.se_blank |
|
Results:
|
Image where all the pixels are transparent |
|
|
ID: |
wms/wmsops/getmap/params/exceptions/7 |
Class: |
C |
Scope: |
The server supports the application/vnd.ogc.se_blank exception format |
Text: |
When an exception is raised and EXCEPTIONS=application/vnd.ogc.se_blank, then the Content-type of the return header is the same as the FORMAT requested. [WMS 1.1.1 Specification section wmsops.getmap.params.exceptions] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetMap |
LAYERS = NonExistant |
STYLES = |
SRS = EPSG:4326 |
BBOX = -1, -1, 1, 1 |
WIDTH = 100 |
HEIGHT = 100 |
FORMAT = [[VAR_IMAGE_FORMAT]] |
EXCEPTIONS = application/vnd.ogc.se_blank |
|
Results:
|
Content-type header = "[[VAR_IMAGE_FORMAT]]" |
|
|
ID: |
wms/wmsops/getfeatureinfo/params/query_layers/1 |
Class: |
C |
Scope: |
The server supports GetFeatureInfo requests and the CITE standard dataset layers containing polygons are queryable |
Text: |
When a GetFeatureInfo request contains a single layer, then the response is valid. [WMS 1.1.1 Specification section wmsops.getfeatureinfo.params.query_layers] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetFeatureInfo |
LAYERS = [[VAR_LAKES]] |
STYLES = |
SRS = EPSG:4326 |
BBOX = 0, -0.0020, 0.0040, 0 |
WIDTH = 200 |
HEIGHT = 100 |
FORMAT = [[VAR_IMAGE_FORMAT]] |
QUERY_LAYERS = [[VAR_LAKES]] |
INFO_FORMAT = [[VAR_GET_FEATURE_INFO_FORMAT]] |
X = 60 |
Y = 60 |
|
Results:
|
Content-type header = [[VAR_GET_FEATURE_INFO_FORMAT]] |
|
|
ID: |
wms/wmsops/getfeatureinfo/params/query_layers/2 |
Class: |
C |
Scope: |
The server supports GetFeatureInfo requests and the CITE standard dataset layers containing polygons are queryable |
Text: |
When a GetFeatureInfo request contains two layers, then the response is valid. [WMS 1.1.1 Specification section wmsops.getfeatureinfo.params.query_layers] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetFeatureInfo |
LAYERS = [[VAR_NAMED_PLACES]], [[VAR_LAKES]] |
STYLES = |
SRS = EPSG:4326 |
BBOX = 0, -0.0020, 0.0040, 0 |
WIDTH = 200 |
HEIGHT = 100 |
FORMAT = [[VAR_IMAGE_FORMAT]] |
QUERY_LAYERS = [[VAR_NAMED_PLACES]], [[VAR_LAKES]] |
INFO_FORMAT = [[VAR_GET_FEATURE_INFO_FORMAT]] |
X = 60 |
Y = 60 |
|
Results:
|
Content-type header = [[VAR_GET_FEATURE_INFO_FORMAT]] |
|
|
ID: |
wms/wmsops/getfeatureinfo/params/query_layers/3 |
Class: |
C |
Scope: |
The server supports GetFeatureInfo requests and the CITE standard dataset layers containing polygons are queryable |
Text: |
When a GetFeatureInfo request contains three layers, then the response is valid. [WMS 1.1.1 Specification section wmsops.getfeatureinfo.params.query_layers] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetFeatureInfo |
LAYERS = [[VAR_NAMED_PLACES]], [[VAR_LAKES]], [[VAR_FORESTS]] |
STYLES = |
SRS = EPSG:4326 |
BBOX = 0, -0.0020, 0.0040, 0 |
WIDTH = 200 |
HEIGHT = 100 |
FORMAT = [[VAR_IMAGE_FORMAT]] |
QUERY_LAYERS = [[VAR_NAMED_PLACES]], [[VAR_LAKES]], [[VAR_FORESTS]] |
INFO_FORMAT = [[VAR_GET_FEATURE_INFO_FORMAT]] |
X = 60 |
Y = 60 |
|
Results:
|
Content-type header = [[VAR_GET_FEATURE_INFO_FORMAT]] |
|
|
ID: |
wms/wmsops/getfeatureinfo/params/query_layers/4 |
Class: |
C |
Scope: |
The server supports GetFeatureInfo requests and the CITE standard dataset layers containing polygons are queryable |
Text: |
When a GetFeatureInfo request contains fewer layers in the QUERY_LAYERS parameter than it does in the LAYERS parameter, then the response is valid. [WMS 1.1.1 Specification section wmsops.getfeatureinfo.params.query_layers] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetFeatureInfo |
LAYERS = [[VAR_NAMED_PLACES]], [[VAR_LAKES]], [[VAR_STREAMS]] |
STYLES = |
SRS = EPSG:4326 |
BBOX = 0, -0.0020, 0.0040, 0 |
WIDTH = 200 |
HEIGHT = 100 |
FORMAT = [[VAR_IMAGE_FORMAT]] |
QUERY_LAYERS = [[VAR_LAKES]] |
INFO_FORMAT = [[VAR_GET_FEATURE_INFO_FORMAT]] |
X = 60 |
Y = 60 |
|
Results:
|
Content-type header = [[VAR_GET_FEATURE_INFO_FORMAT]] |
|
|
ID: |
wms/wmsops/getfeatureinfo/params/query_layers/5 |
Class: |
C |
Scope: |
The server supports GetFeatureInfo requests and the CITE standard dataset layers containing polygons are queryable |
Text: |
When a layer requested is not contained in the Capabilities XML of the WMS, then the server issues a Service Exception. [WMS 1.1.1 Specification section wmsops.getfeatureinfo.params.query_layers] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetFeatureInfo |
LAYERS = [[VAR_LAKES]] |
STYLES = |
SRS = EPSG:4326 |
BBOX = 0, -0.0020, 0.0040, 0 |
WIDTH = 200 |
HEIGHT = 100 |
FORMAT = [[VAR_IMAGE_FORMAT]] |
QUERY_LAYERS = UndefinedLayer |
INFO_FORMAT = [[VAR_GET_FEATURE_INFO_FORMAT]] |
X = 60 |
Y = 60 |
|
Results:
|
Valid XML where /ServiceExceptionReport/ServiceException exists |
|
|
ID: |
wms/wmsops/getfeatureinfo/params/query_layers/6 |
Class: |
C |
Scopes: |
- The server supports GetFeatureInfo requests
- The server contains a standard layer that is not queryable
|
Text: |
When GetFeatureInfo is requested on a Layer that is not queryable, then the server issues a Service Exception (code="LayerNotQueryable"). [WMS 1.1.1 Specification section wmsops.getmap.params.srs], [WMS 1.1.1 Specification section wmsops.getcapabilities.response.layer_attributes.queryable] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetFeatureInfo |
LAYERS = [[VAR_UNQUERYABLE_LAYER]] |
STYLES = |
SRS = EPSG:4326 |
BBOX = -1, -1, 1, 1 |
WIDTH = 100 |
HEIGHT = 100 |
FORMAT = [[VAR_IMAGE_FORMAT]] |
QUERY_LAYERS = [[VAR_UNQUERYABLE_LAYER]] |
INFO_FORMAT = [[VAR_GET_FEATURE_INFO_FORMAT]] |
X = 50 |
Y = 50 |
|
Results:
|
Valid XML where /ServiceExceptionReport/ServiceException[code='LayerNotQueryable'] exists |
|
|
ID: |
wms/wmsops/getfeatureinfo/params/info_format/1 |
Class: |
C |
Scope: |
The server supports GetFeatureInfo requests and the CITE standard dataset layers containing polygons are queryable |
Text: |
When the INFO_FORMAT parameter is missing, then the Content-type header returned is one of the formats advertised. [WMS 1.1.1 Specification section wmsops.getfeatureinfo.params.info_format] |
Note: |
Request#1:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetFeatureInfo |
LAYERS = [[VAR_LAKES]] |
STYLES = |
SRS = EPSG:4326 |
BBOX = 0, -0.0020, 0.0040, 0 |
WIDTH = 200 |
HEIGHT = 100 |
FORMAT = [[VAR_IMAGE_FORMAT]] |
QUERY_LAYERS = [[VAR_LAKES]] |
X = 60 |
Y = 60 |
|
Request#2:
|
VERSION = [[VAR_WMS_VERSION]] |
SERVICE = WMS |
REQUEST = GetCapabilities |
|
Results:
|
The response from request #2 is XML where one of the /WMT_MS_Capabilities//Capability/Request/GetFeatureInfo/Format values = the content-type header for request #1 |
|
|
ID: |
wms/wmsops/getfeatureinfo/params/info_format/2 |
Class: |
C |
Scopes: |
- The server supports GetFeatureInfo requests and the CITE standard dataset layers containing polygons are queryable
- The server supports the application/vnd.ogc.gml GetFeatureInfo format
- Tests for GetFeatureInfo format application/vnd.ogc.gml were selected.
|
Text: |
When the INFO_FORMAT parameter is application/vnd.ogc.gml, then the Content-type header returned is the same. [WMS 1.1.1 Specification section wmsops.getfeatureinfo.params.info_format] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetFeatureInfo |
LAYERS = [[VAR_LAKES]] |
STYLES = |
SRS = EPSG:4326 |
BBOX = 0, -0.0020, 0.0040, 0 |
WIDTH = 200 |
HEIGHT = 100 |
FORMAT = [[VAR_IMAGE_FORMAT]] |
QUERY_LAYERS = [[VAR_LAKES]] |
INFO_FORMAT = application/vnd.ogc.gml |
X = 60 |
Y = 60 |
|
Results:
|
Content-type header = "application/vnd.ogc.gml" |
|
|
ID: |
wms/wmsops/getfeatureinfo/params/info_format/3 |
Class: |
C |
Scopes: |
- The server supports GetFeatureInfo requests and the CITE standard dataset layers containing polygons are queryable
- The server supports the application/vnd.ogc.gml GetFeatureInfo format
- Tests for GetFeatureInfo format application/vnd.ogc.gml were selected.
|
Text: |
When the INFO_FORMAT parameter is application/vnd.ogc.gml, then the response validates with the Galdos GML instance document validator. [WMS 1.1.1 Specification section wmsops.getfeatureinfo.params.info_format] |
Note: |
Request:
|
VERSION = [[VAR_WMS_VERSION]] |
REQUEST = GetFeatureInfo |
LAYERS = [[VAR_LAKES]] |
STYLES = |
SRS = EPSG:4326 |
BBOX = 0, -0.0020, 0.0040, 0 |
WIDTH = 200 |
HEIGHT = 100 |
FORMAT = [[VAR_IMAGE_FORMAT]] |
QUERY_LAYERS = [[VAR_LAKES]] |
INFO_FORMAT = application/vnd.ogc.gml |
X = 60 |
Y = 60 |
|
Results:
|
Valid GML |
|
|
ID: |
wms/wmsops/getfeatureinfo/params/info_format/4 |
Class: |
D |
Scope: |
The server supports GetFeatureInfo requests and the CITE standard dataset layers containing polygons are queryable |
Text: |
For each advertised GetFeatureInfo format, when a GetFeatureInfo request is made with the INFO_FORMAT parameter set to the format, then the Content-type header returned is the same. [WMS 1.1.1 Specification section wmsops.getfeatureinfo.params.info_format] |
Note: |
Not testable without dynamic testing capability |
|
|