[Geoserver-users] BoundingBox axis troubles with WCS 2.0.1

Hi,

I am not sure if I understand it right but I feel that some bounding boxes in the WCS 2.0.1 GetCapabilities and DescribeCoverage are wrong. They are optional in the CoverageSummary but Geoserver delivers them.

This is about nurc__mosaic coverage from GetCapabilities

wcs:CoverageSummary

wcs:CoverageIdnurc__mosaic</wcs:CoverageId>

wcs:CoverageSubtypeRectifiedGridCoverage</wcs:CoverageSubtype>

ows:WGS84BoundingBox

ows:LowerCorner6.346 36.492</ows:LowerCorner>

ows:UpperCorner20.83 46.591</ows:UpperCorner>

</ows:WGS84BoundingBox>

<ows:BoundingBox crs=“http://www.opengis.net/def/crs/EPSG/0/EPSG:4326”>

ows:LowerCorner6.346 36.492</ows:LowerCorner>

ows:UpperCorner20.83 46.591</ows:UpperCorner>

</ows:BoundingBox>

</wcs:CoverageSummary>

The WCS 2.0.1 Core standard defines WGS84BoundingBox and BoundingBox this way:

wgs84-BoundingBox: Minimum bounding rectangle surrounding dataset,

using WGS 84 CRS with decimal degrees and longitude before latitude

boundingBox: Minimum bounding rectangle surrounding dataset, in available CRS

Thus in the nurc__mosaic case the WGS84BoundingBox is correct but BoundingBox should have axis flipped to suit with http://www.opengis.net/def/crs/EPSG/0/EPSG:4326

ows:LowerCorner36.492 6.346</ows:LowerCorner>

ows:UpperCorner46.591 20.83</ows:UpperCorner>

CoverageSummary has both bounding boxes right for the nurc__Pk50095 coverage which is in EPSG:32633. However, in DescribeCoverage the axis order is different and for my mind wrong:

GetCapabilities:

<ows:BoundingBox crs=“http://www.opengis.net/def/crs/EPSG/0/EPSG:32633”>

ows:LowerCorner347649.93086859107 5176214.082539256</ows:LowerCorner>

ows:UpperCorner370725.976428591 5196961.352859256</ows:UpperCorner>

</ows:BoundingBox>

DescribeCoverage:

gml:boundedBy

<gml:Envelope srsName=“http://www.opengis.net/def/crs/EPSG/0/32633” axisLabels=“E N” uomLabels=“m m” srsDimension=“2”>

gml:lowerCorner5176214.082539256 347649.93086859107</gml:lowerCorner>

gml:upperCorner5196961.352859256 370725.976428591</gml:upperCorner>

</gml:Envelope>

</gml:boundedBy>

-Jukka Rahkonen-