[mapserver-users] WCS: Write error at scanline xxxx

Rahkonen Jukka (MML) jukka.rahkonen at maanmittauslaitos.fi
Fri Oct 8 09:50:05 PDT 2021


Hi,

When I try to get any bigger output from WCS (in this case 12000x12000 pixels RGB) with a request like

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<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>
I get errors like this

<ows:ExceptionReport version="2.0.0" xml:lang="en-US" xsi:schemaLocation=http://www.opengis.net/ows/2.0 http://schemas.opengis.net/ows/2.0/owsExceptionReport.xsd<http://www.opengis.net/ows/2.0%20http:/schemas.opengis.net/ows/2.0/owsExceptionReport.xsd>>
<ows:Exception exceptionCode="NoApplicableCode" locator="mapserv">
<ows:ExceptionText>
msWCSWriteFile20(): General error message. msSaveImage() failed msSaveImageGDAL(): General error message. Failed to create output GTiff file. TIFFAppendToStrip:Write error at scanline 1024
</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>

I managed to get bigger images = more pixels by asking for compressed output with &geotiff:compression=jpeg
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.

-Jukka Rahkonen-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20211008/ed4b8347/attachment.htm>


More information about the MapServer-users mailing list