<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
span.Shkpostityyli18
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 2.0cm 70.85pt 2.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FI" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">When I try to get any bigger output from WCS (in this case 12000x12000 pixels RGB) with a request like
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><a href="http://localhost:8060/cgi-bin/mapserv.exe?map=c:/ms4w_data/wcs_vv_jr.map&service=WCS&version=2.0.0&request=GetCoverage&CoverageID=orto_vv&format=image/tiff&geotiff:tiling=true&geotiff:tileheight=256&geotiff:tilewidth=256&geotiff:compression=jpeg">http://localhost:8060/cgi-bin/mapserv.exe?map=c:/ms4w_data/wcs_vv_jr.map&service=WCS&version=2.0.0&request=GetCoverage&CoverageID=orto_vv&format=image/tiff&geotiff:tiling=true&geotiff:tileheight=256&geotiff:tilewidth=256</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I get errors like this<br>
<br>
<ows:ExceptionReport version="2.0.0" xml:lang="en-US" xsi:schemaLocation=<a href="http://www.opengis.net/ows/2.0%20http:/schemas.opengis.net/ows/2.0/owsExceptionReport.xsd">http://www.opengis.net/ows/2.0 http://schemas.opengis.net/ows/2.0/owsExceptionReport.xsd</a>><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><ows:Exception exceptionCode="NoApplicableCode" locator="mapserv"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><ows:ExceptionText><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">msWCSWriteFile20(): General error message. msSaveImage() failed msSaveImageGDAL(): General error message. Failed to create output GTiff file. TIFFAppendToStrip:Write error at scanline 1024<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"></ows:ExceptionText><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"></ows:Exception><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"></ows:ExceptionReport><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I managed to get bigger images = more pixels by asking for compressed output with &geotiff:compression=jpeg<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I wonder what is the limiting resource and if there is something I could improve with some configuration. Because the output is a tiled GeoTIFF but the error is about writing a strip I guess that Mapserver is writing
 first an interim TIFF.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">-Jukka Rahkonen-<o:p></o:p></span></p>
</div>
</body>
</html>