How to Use MR.SID raster files in mapserver 4.4.2 ?

Brent Fraser bfraser at GEOANALYTIC.COM
Thu Jun 2 10:51:41 EDT 2005


How to Use MR.SID raster files in mapserver 4.4.2 ?Robert,

  It is possible to use MrSID files as a data source for MapServer.  Personally, I don't recommend it due to the poor decompression performance of MrSID.  If you have the disk space convert the MrSID files to uncompressed TIF instead (you can use GDAL's gdal_translate utility).  If disk space is not available use ECW (although I'm not sure of the compilation status on unix).

  What do you get when you run GDAL's gdalinfo utility on the MrSID file?

Brent Fraser
  ----- Original Message ----- 
  From: Robert oude Lohuis 
  To: MAPSERVER-USERS at LISTS.UMN.EDU 
  Sent: Thursday, June 02, 2005 6:32 AM
  Subject: [UMN_MAPSERVER-USERS] How to Use MR.SID raster files in mapserver 4.4.2 ?




  Hello, 

  We have compiled version 4.4.2 of mapserver (and the necessary libraries) from the sources on a unix box. 
  It is now configured and working. There is however one problem. 
  We have a couple of Mr. SID files and want to use these as a layer. 
  We downloaded the libraries from lizardtech and recompiled GDAL with support for Mr.SID 

  We did tiled the Mr. SID files and configured a layer. There are no error messages, but I see no data in the map. 
  We tried to look at an individual Mr. SID file, but then we got the following error : 

  MrSIDRasterBand::IRasterIO(): Failed to load image. scene magnifGDALRasterIO() failed: drawGDAL(): Unable to access file. GDALRasterIO() failed: drawGDAL() 

  A recompile of mapserver had no effect. 

  The first question is: Is it possible to look at Mr.SID rasters through mapserver ? 
  And the second question is, if so,  what's the trick ? 

  Does anyone have knowledge on this subject and willing to share his/her information ? 

  Thanks in advance, 

  Robert oude Lohuis 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050602/1d2e6457/attachment.html


More information about the mapserver-users mailing list