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:CoverageId>nurc__mosaic</wcs:CoverageId>
<wcs:CoverageSubtype>RectifiedGridCoverage</wcs:CoverageSubtype>
<ows:WGS84BoundingBox>
<ows:LowerCorner>6.346 36.492</ows:LowerCorner>
<ows:UpperCorner>20.83 46.591</ows:UpperCorner>
</ows:WGS84BoundingBox>
<ows:BoundingBox crs="http://www.opengis.net/def/crs/EPSG/0/EPSG:4326";>
<ows:LowerCorner>6.346 36.492</ows:LowerCorner>
<ows:UpperCorner>20.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:LowerCorner>36.492 6.346</ows:LowerCorner>
<ows:UpperCorner>46.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:LowerCorner>347649.93086859107 5176214.082539256</ows:LowerCorner>
<ows:UpperCorner>370725.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:lowerCorner>5176214.082539256 347649.93086859107</gml:lowerCorner>
<gml:upperCorner>5196961.352859256 370725.976428591</gml:upperCorner>
</gml:Envelope>
</gml:boundedBy>


-Jukka Rahkonen-
------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to