<div class="gmail_quote">Hi all,<div>sorry to intrude on the MapServer dev mailing list, but I'd have a question that</div><div>only the people that implemented the WCS 2.0 support could answer.</div><div><br></div><div>
I see that the MapServer autotest has requests that comprise parameters which</div>
<div>are not part of the official specification, which add support for scaling and reprojection.</div><div>For example:</div><div><br></div><div><?xml version="1.0" encoding="UTF-8"?><wcs:GetCoverage xmlns:wcs="<a href="http://www.opengis.net/wcs/2.0" target="_blank">http://www.opengis.net/wcs/2.0</a>" service="WCS" version="2.0.0"><wcs:Format>image/tiff</wcs:Format><wcs:CoverageID>grey</wcs:CoverageID><wcs:DimensionTrim><wcs:Dimension crs="<a href="http://www.opengis.net/def/crs/EPSG/0/4326" target="_blank">http://www.opengis.net/def/crs/EPSG/0/4326</a>">lon</wcs:Dimension><wcs:TrimLow>-121.488</wcs:TrimLow><wcs:TrimHigh>-121.487</wcs:TrimHigh></wcs:DimensionTrim><wcs:DimensionTrim><wcs:Dimension crs="<a href="http://www.opengis.net/def/crs/EPSG/0/4326" target="_blank">http://www.opengis.net/def/crs/EPSG/0/4326</a>">lat</wcs:Dimension><wcs:TrimLow>0.000</wcs:TrimLow><wcs:TrimHigh>0.001</wcs:TrimHigh></wcs:DimensionTrim></wcs:GetCoverage></div>

<div><br></div><div>(the Dimension element does not have a crs attribute in the official spec).</div><div><br></div><div><?xml version="1.0" encoding="UTF-8"?><wcs:GetCoverage xmlns:wcs="<a href="http://www.opengis.net/wcs/2.0" target="_blank">http://www.opengis.net/wcs/2.0</a>" service="WCS" version="2.0.0"><wcs:Format>image/tiff</wcs:Format><wcs:CoverageID>grey</wcs:CoverageID><wcs:Size dimension="x">10</wcs:Size><wcs:Size dimension="y">20</wcs:Size></wcs:GetCoverage></div>

<div>or </div><div><?xml version="1.0" encoding="UTF-8"?><wcs:GetCoverage xmlns:wcs="<a href="http://www.opengis.net/wcs/2.0" target="_blank">http://www.opengis.net/wcs/2.0</a>" service="WCS" version="2.0.0"><wcs:Format>image/tiff</wcs:Format><wcs:CoverageID>grey</wcs:CoverageID><wcs:Resolution dimension="x">20</wcs:Resolution><wcs:Resolution dimension="y">20</wcs:Resolution></wcs:GetCoverage></div>

<div><br></div><div>(there is no Size and Resolution element in the specification)</div><div><br></div><div>The WCS 2.0 specification says that the scaling, interpolation, band subsettting and reprojection should have been</div>

<div>addressed by application profiles that, to date, have not been released, but my understanding is that in POST</div><div>requests these extra things would have to be added inside the wcs:Extension element.</div><div>
<br>
</div><div>I also see there is a KVP syntax for them in MapServer.</div><div><br></div><div>Long story short, I'm wondering, where is the above coming from? Is it educated guesses from the MapServer</div><div>developers, or coming from documents that OGC never released (or that yours truly simply did not find?).</div>

<div>I also looked in other software (Rasdaman) and there is apparently no trace of handling these extra parameters</div><div><br></div><div>Cheers</div><span class="HOEnZb"><font color="#888888"><div>Andrea</div></font></span></div>