Hi Frank, thanks for the answer. I tried your suggestion, but I did not even get a map back anymore (I waited for more than 2 minutes). The ECW file used is quite large though.
Seems like I have to wait for ERMapper's new SDK release ..... Best regards, Bart -----Oorspronkelijk bericht----- Van: UMN MapServer Users List [mailto:[EMAIL PROTECTED] Frank Warmerdam Verzonden: vrijdag 6 januari 2006 17:01 Aan: [email protected] Onderwerp: Re: [UMN_MAPSERVER-USERS] WCS: error on creating large Geotiff from ECW On 1/6/06, Bart van den Eijnden <[EMAIL PROTECTED]> wrote: > Hi list, > > I am trying to create a Geotiff file from an ECW file using Mapserver WCS > (Mapserver 4.8beta2, GDAL CVS 04/01/06, ECW SDK 3.3RC1). > > The request is: > http://[ip]:[port]/cgi-bin/mapserv480?map=/data/OGC_UMN_services/basispakket _dkln.map&bbox=157200,456945,161080,459273&service=WCS&version=1.0.0&excepti ons=application/vnd.ogc.se_xml&request=GetCoverage&coverage=AAA154&crs=epsg: 28992&resx=.5&resy=.5&format=Geotiff > > The following error message occurs: > > error: could not get data: > NCScbmReadViewLineBIL failed.: Unable to access file. GDALRasterIO() > failed: drawGDAL() > > The same part of the ECW can be rendered by Mapserver WMS without > problems. When I try a smaller WCS request, it does work. > > Any ideas what could be the problem and how to solve it? Bart, I can't think of any obvious reason this would be happening. Especially why WCS and WMS would react differently in this regard. I have run into a few bugs in the last few months that relate to unusual access patterns to the ECW SDK from GDAL. Some of these (or all?) all been fixed by ERMapper and should appear in their next release. But I don't know when that will be. You might have some luck fiddling with the config settings that can affect the GDAL ECW drivers low level access. For instance, trying setting the following in your mapfile. CONFIG "GDAL_FORCE_CACHING" "YES" This will generally reduce MapServer performance since the alternative (one big request to the ECW file is usually faster than many smaller block reads for the cache), but it might be more stable. Best regards, -- ---------------------------------------+------------------------------------ -- I set the clouds in motion - turn up | Frank Warmerdam, [EMAIL PROTECTED] light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent Disclaimer ************************************************************************ Aan dit bericht kunnen geen rechten worden ontleend. Dit bericht is uitsluitend bestemd voor de geadresseerde. Als u dit bericht per abuis hebt ontvangen, wordt u verzocht het te vernietigen en de afzender te informeren. Wij adviseren u om bij twijfel over de juistheid of de volledigheid van de mail contact met afzender op te nemen. This message shall not constitute any rights or obligations. This message is intended solely for the addressee. If you have received this message in error, please delete it and notify the sender immediately. When in doubt whether this message is correct or complete, please contact the sender. ************************************************************************
