Hi,

I found that DescribeCoverage is also defining gml:coverageFunction

<gml:coverageFunction>
<gml:GridFunction>
<gml:sequenceRule axisOrder="+2 +1">Linear</gml:sequenceRule>
<gml:startPoint>0 0</gml:startPoint>
</gml:GridFunction>
</gml:coverageFunction>

I do not understand the meaning of "+2 +1" here. Does it mean that for  that 
coverage the second number of the coordinate pair should be picked before the 
first one? In that case the nurc__Pk50095 (EPSG:32633) would be OK and lead to 
Easting-Northing. The same axisOrder="+2 +1" is used also for nurc_mosaic 
(EPSG:4326)  and that would lead to Long-Lat. Is that the correct end result?

-Jukka Rahkonen-



Lähettäjä: Rahkonen Jukka (MML) [mailto:[email protected]]
Lähetetty: 6. elokuuta 2015 13:18
Vastaanottaja: [email protected]
Aihe: [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: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