Dear all, I am testing WCS 2.0 GetCoverage requests. I have some questions about the following requirements, concerning scaling extension (see OGC 12-039)
1) Req 4 getCoverage-mutually-exclusive A *GetCoverage *request containing a scaling operation *shall *contain exactly one of: - Scal::scaleByFactor, - Scal::scaleAxesByFactor, - Scal::scaleToSize, - and Scal::scaleToExtent If a request contains more than one scaling operator, Mapserver does not complain and takes the first one it checks (see mapwcs20.cpp#L1097 <https://github.com/MapServer/MapServer/blob/branch-8-2/src/mapwcs20.cpp#L1097> ). Shouldn't it send an exception ? 2) Req 18 getCoverage-exception: When a WCS server encounters an error while evaluating a scaleFactor or scaleExtent parameter in a GetCoverage operation it shall return an exception report message chosen as indicated in Table 7 with a locator parameter value as specified in the right column of Table 7 for each exceptionCode listed. Exception values in table 7 are : InvalidCoverageType, InvalidScaleFactor, InvalidExtent or ScaleAxisUndefined If a request contains a negative value for a scale factor, Mapserver returns an exception : <ows:Exception exceptionCode="InvalidParameterValue" locator="request"> <ows:ExceptionText>msWCSParseRequest20_XMLGetCoverage(): WCS server error. Invalid scaleFactor '-0.2'.</ows:ExceptionText> </ows:Exception> However, the exception type is InvalidParameterValue, which is not in table 7. Why doesn't it report the expected exception type : InvalidScaleFactor ? Sincerely Philippe The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, please notify Airbus immediately and delete this e-mail. Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately. All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free.
_______________________________________________ MapServer-users mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/mapserver-users
