Ticket #2472 (closed defect: fixed)
CRS in the DescribeCoverage response sent by a WCS 1.0.0 server is WGS84(DD), instead of EPSG
| Reported by: | nsavard | Owned by: | tomkralidis |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.2 release |
| Component: | WCS Server | Version: | 5.0 |
| Severity: | normal | Keywords: | OGC,Cite,TEAM, LEGACY,WCS 1.0.0 |
| Cc: | sdlime, warmerdam |
Description
This is a problem related to the WCS 1.0.0 OGC Test suites.
The test is wcs1-0-0/basic_service_elements/general_http_request_rules/6 found at http://cite.opengeospatial.org/tsOGC/interface/ViewTestSource?testid=wcs1-0-0/basic_service_elements/general_http_request_rules/6&ts=0033&sesstype=OGC
The test engine sends a DescribeCoverage? request which returns the description of the first coverage. The envelope is given in both WGS84(DD) and EPSG:26915 CRS (see below). Then a second request is sent to the server by using the first CRS appearing in the DescribeCoverage? response. This CRS is captured by the test script engine. This makes MapServer returns the following exception:
<?xml version='1.0' encoding="ISO-8859-1" ?> <ServiceExceptionReport? version="1.2.0" xmlns=" http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/ogc http://schemas.opengis.net//wms/1.1.1/OGC-exception.xsd"> <ServiceException? code="InvalidParameterValue?" locator="srs">msWCSGetCoverage(): WMS server error. Unsupported SRS namespace (only EPSG currently supported). </ServiceException> </ServiceExceptionReport>
MapServer only supports EPSG for now. To overcome this issue MapServer should return the coverage envelope with EPSG code first. What do you think?

