<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><div class="edit-comment-hide">
            <div class="comment-body markdown-body markdown-format js-comment-body"><p>Hi,<br>
executing the following request<br><a href="https://devcloud.blackbridge.com/wcs/PlenumsoftDemo?SERVICE=WCS&VERSION=1.0.0&REQUEST=GetCoverage&COVERAGE=testdata_raw&FORMAT=GEOTIFF_INT16&RESX=5&RESY=5&RESPONSE_CRS=EPSG:32616&CRS=EPSG:4326&TIME=2012-04-05">https://devcloud.blackbridge.com/wcs/PlenumsoftDemo?SERVICE=WCS&VERSION=1.0.0&REQUEST=GetCoverage&COVERAGE=testdata_raw&FORMAT=GEOTIFF_INT16&RESX=5&RESY=5&RESPONSE_CRS=EPSG:32616&CRS=EPSG:4326&TIME=2012-04-05</a></p><p>results in </p><p><?xml version='1.0' encoding="ISO-8859-1" ?><br>
xmlns="<a href="http://www.opengis.net/ogc">http://www.opengis.net/ogc</a>" 
xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>" 
xsi:schemaLocation="<a href="http://www.opengis.net/ogc">http://www.opengis.net/ogc</a> 
<a href="http://schemas.opengeospatial.net/wcs/1.0.0/OGC-exception.xsd">http://schemas.opengeospatial.net/wcs/1.0.0/OGC-exception.xsd</a>"><br>msWCSGetCoverage():
 WCS server error. Requested BBOX (-2.5,-2.5,2.5,2.5) is outside 
requested coverage BBOX (210500,2230500,261500,2281500)<br>
msProjectRect(): Projection library error. All points failed to reproject.<br>
msProjectPoint(): Projection library error. proj says: latitude or longitude exceeded limits</p><p>The corresponding layer d3efinition is:</p><p>MAP<br>
...<br>
    LAYER<br>
        # this is the tileindex that aggregates the single image products together and makes them accessible by date and extend<br>
        NAME "data_raw_idx"<br>
        STATUS ON<br><br>
        DEBUG 5<br>
        TYPE POLYGON<br>
        DATA "/mnt/mapserver/mapserver_wms/Raster/Plenumosft_RE_Sample_forWCS/plenumsoft_demo_data"<br>
        PROJECTION<br>
            "init=epsg:32616"<br>
        END<br>
        VALIDATION<br>
        #    'productid' '^([0-9])$'<br>
        END<br>
        #FILTER ( '[productid]'='%productid%')<br>
        METADATA<br>
            #'productid_validation_pattern' '^([0-9])$'<br>
            #'default_productid' '1234567'<br>
            #disable explicitly everything that shall not be supported for this Layer<br>
            "wms_enable_request"  "!GetCapabilities !GetMap !GetLegendgraphic"<br>
            "wcs_enable_request" "!GetCapabilities !GetCoverage !DescribeCoverage"<br>
            "wfs_enable_request" "!GetCapabilities !GetFeature !DescribeFeatureType"<br>
        END<br>
    END<br>
    LAYER<br>
        # this layer serves the 16bit raw data<br>
        NAME "testdata_raw"<br>
        STATUS ON<br><br>
        DUMP TRUE<br>
        DEBUG 5<br>
        TYPE RASTER ### required<br>
        PROJECTION<br>
            "init=epsg:32616"<br>
        END<br>
        OFFSITE 0 0 0 <br>
        UNITS meters<br>
        TILEINDEX "data_raw_idx"<br>
        TILEITEM "location"<br>
        #MASK "mask2"<br>
        METADATA<br>
            "wcs_title" "5 band 16bit RE Testdata with time support"<br>
            "wcs_extent"  "210500.0 2230500.0 261500.0 2281500.0" # 
shall be set dynamically by the wrapper script on mapObj base<br>
            "wcs_srs" "EPSG:4326 EPSG:900913 EPSG:3857 EPSG:32615 EPSG:32616 EPSG:32617"<br>
            "wcs_label"  "5 band 16bit RE Testdata"  ### required<br>
            "wcs_rangeset_axes" "bands"<br>
            "wcs_rangeset_name"   "Bands"  ### required to support DescribeCoverage request<br>
            "wcs_rangeset_label"   "RE Radiometric Bands" ### required to support DescribeCoverage request<br>
            "wcs_rangeset_nullvalue" "0"<br><br>
            #"wcs_size" "15000 15000" #if we have a global ows_extent 
set in web-metadata and a wcs_resolution this gets calculated by 
mapserver<br>
            "wcs_resolution" "5.0 5.0"<br>
            "wcs_bandcount" "5"<br>
            "wcs_band_names" "Blue Green Red Rededge Nir"<br>
            "wcs_imagemode" "INT16"<br>
            "wcs_formats"  "GEOTIFF_INT16 AAIGRID"<br>
            "wcs_native_format"  "image/tiff"<br>
            "wcs_nativeformat" "GTiff"<br>
            "wcs_enable_request"  "*"<br>
            "wcs_timeposition" "2011-01-04,2011-04-20,2012-04-05" #this 
might get set by the mapscript wrapper accodingly to the dates 
avaialable for the service and is mandatory to allow temporal 
subsettings<br>
            "wcs_timeextent" "2011-01-04/2012-04-05" # shall be set dynamically by the wrapper script on mapObj base<br>
            "wcs_timeitem" "acquidate"<br>
            #disable explicitly everything that shall not be supported for this Layer<br>
            "wms_enable_request"  "!GetCapabilities !GetMap !GetLegendgraphic"<br>
            "wfs_enable_request" "!GetCapabilities !GetFeature !DescribeFeatureType"<br>
        END<br>
        CLASS<br>
            NAME "5 Band (16bit) RE Imagedata"<br>
            KEYIMAGE "drgs_keyimage.png"<br>
        END<br>
    END<br>
...<br>
END</p><p>If i use CRS=EPSG:32616 which is the epsg code of the layer itself, 
everything works fine. I would expect that mapserver would reproject the
 wcs_extent or layer_extent or map_extent to the given CRS and use that 
BBOX by default.</p>
            </div></div></div><div>related to:</div><div><a href="https://github.com/mapserver/mapserver/issues/4853">https://github.com/mapserver/mapserver/issues/4853</a></div><br><div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); font-family: Helvetica;  font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">-- <br>Peter Freimuth </div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br></div></div></div></div></body></html>