<div dir="ltr">Hi,<div><br></div><div>A week and a half ago I asked about using Mapserver +WMS to serve elevation data since I was following a tutorial that discussed WMS.</div><div><br></div><div>In one of the replies I received, Jeff suggested that I actually wanted WCS for my use case which was a forehead slap + d'oh! moment for me.  Of course I do!</div><div><br></div><div>Anyway, I have followed the Mapserver WCS docs and everything seems to work well.</div><div><br></div><div>However, I have one question that may be kind of niche or will perhaps betray my overall ignorance.</div><div><br></div><div>A while ago I wrote a WCS client for another project and it expects WCS version 2.0 requests.</div><div><br></div><div>The map file that I made up (based closely on the one in the docs: <a href="https://mapserver.org/ogc/wcs_server.html#example-wcs-server-mapfile">https://mapserver.org/ogc/wcs_server.html#example-wcs-server-mapfile</a> ) seems to work fine for WCS 1.0, 1.1, and 2.0.  However, I don't seem to get a bounding box from GetCapabilities in the CoverageSummary from my 2.0 requests whereas I certainly do from the 1.1 request:</div><div><br></div><div>I get this from VERSION=1.1.0:</div><div><br></div><div><div class="gmail-line" style="color:rgb(0,0,0);font-family:monospace;font-size:13px"><span class="gmail-html-tag"><Contents></span></div><div class="gmail-opened" style="margin-left:1em;color:rgb(0,0,0);font-family:monospace;font-size:13px"><div class="gmail-folder" id="gmail-folder43"><div class="gmail-line"><span class="gmail-folder-button gmail-fold" style="display:inline-block;width:10px;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;background-color:initial;vertical-align:bottom;height:10px"></span><span class="gmail-html-tag"><CoverageSummary></span></div><div class="gmail-opened" style="margin-left:1em"><div class="gmail-line"><span class="gmail-html-tag"><ows:Title></span>bathymetry<span class="gmail-html-tag"></ows:Title></span></div><div class="gmail-line"><span class="gmail-html-tag"><ows:Abstract/></span></div><div class="gmail-folder" id="gmail-folder44"><div class="gmail-line"><span class="gmail-folder-button gmail-fold" style="display:inline-block;width:10px;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;background-color:initial;vertical-align:bottom;height:10px"></span><span class="gmail-html-tag"><ows:WGS84BoundingBox<span class="gmail-html-attribute"> <span class="gmail-html-attribute-name">dimensions</span>="<span class="gmail-html-attribute-value">2</span>"</span>></span></div><div class="gmail-opened" style="margin-left:1em"><div class="gmail-line"><span class="gmail-html-tag"><ows:LowerCorner></span>-180 -90<span class="gmail-html-tag"></ows:LowerCorner></span></div><div class="gmail-line"><span class="gmail-html-tag"><ows:UpperCorner></span>180 90<span class="gmail-html-tag"></ows:UpperCorner></span></div></div><div class="gmail-line"><span class="gmail-html-tag"></ows:WGS84BoundingBox></span></div></div><div class="gmail-line"><span class="gmail-html-tag"><SupportedCRS></span>urn:ogc:def:crs:EPSG::4326<span class="gmail-html-tag"></SupportedCRS></span></div><div class="gmail-line"><span class="gmail-html-tag"><SupportedFormat></span>image/tiff<span class="gmail-html-tag"></SupportedFormat></span></div><div class="gmail-line"><span class="gmail-html-tag"><Identifier></span>bathymetry<span class="gmail-html-tag"></Identifier></span></div></div><div class="gmail-line"><span class="gmail-html-tag"></CoverageSummary></span></div></div></div><div class="gmail-line" style="color:rgb(0,0,0);font-family:monospace;font-size:13px"><span class="gmail-html-tag"></Contents></span></div></div><div class="gmail-line" style="color:rgb(0,0,0);font-size:13px"><span class="gmail-html-tag" style=""><font face="arial, sans-serif"><br></font></span></div><div class="gmail-line" style="color:rgb(0,0,0);font-size:13px"><span class="gmail-html-tag" style=""><font face="arial, sans-serif">whereas I get just this from VERSION=2.0.1:</font></span></div><div class="gmail-line" style="color:rgb(0,0,0);font-family:monospace;font-size:13px"><span class="gmail-html-tag"><br></span></div><div class="gmail-line" style="color:rgb(0,0,0);font-size:13px"><span class="gmail-html-tag" style=""><div class="gmail-line" style="font-family:monospace"><span class="gmail-html-tag"><wcs:Contents></span></div><div class="gmail-opened" style="font-family:monospace;margin-left:1em"><div class="gmail-folder" id="gmail-folder32"><div class="gmail-line"><span class="gmail-folder-button gmail-fold" style="display:inline-block;width:10px;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;background-color:initial;vertical-align:bottom;height:10px"></span><span class="gmail-html-tag"><wcs:CoverageSummary></span></div><div class="gmail-opened" style="margin-left:1em"><div class="gmail-line"><span class="gmail-html-tag"><wcs:CoverageId></span>bathymetry<span class="gmail-html-tag"></wcs:CoverageId></span></div><div class="gmail-line"><span class="gmail-html-tag"><wcs:CoverageSubtype></span>RectifiedGridCoverage<span class="gmail-html-tag"></wcs:CoverageSubtype></span></div></div><div class="gmail-line"><span class="gmail-html-tag"></wcs:CoverageSummary></span></div></div></div><div class="gmail-line" style="font-family:monospace"><span class="gmail-html-tag"></wcs:Contents></span></div><div class="gmail-line" style="font-family:monospace"><span class="gmail-html-tag"><br></span></div><div class="gmail-line" style=""><font face="arial, sans-serif">Is there something I can add to my WCS map file to get the "</font>ows:WGS84BoundingBox" element returned in my GetVersion?  I believe I was working with Geoserver sources when I wrote that client but I would really like to get the geographic extents.</div><div class="gmail-line" style=""><br></div><div class="gmail-line" style="">Thank you very much for the great documentation!</div><div class="gmail-line" style=""><br></div><div class="gmail-line" style="">carl</div></span></div><div><br></div></div>