<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi all,<br>
<br>
I'm trying to use MrSid-layers in my map, but they are not displayed.<br>
<br>
The MrSid-Dataset is readable for GDAL, because gdalinfo gives a
reasonable feedback<br>
<i><small><small><br>
# gdalinfo 00344_rec3_kompl.sid<br>
Driver: MrSID/Multi-resolution Seamless Image Database (MrSID)<br>
Size is 6965, 6860<br>
Coordinate System is:<br>
PROJCS["IMAGINE GeoTIFF Support<br>
Copyright 1991 - 2001 by ERDAS, Inc. All Rights Reserved<br>
.....<br>
IMAGE__Y_RESOLUTION=2.000000<br>
Corner Coordinates:<br>
Upper Left&nbsp; ( 3402242.000, 5464423.000) (&nbsp; 7d39'19.61"E, 49d18'36.27"N)<br>
Lower Left&nbsp; ( 3402242.000, 5478143.000) (&nbsp; 7d39'7.48"E, 49d26'0.30"N)<br>
Upper Right ( 3416172.000, 5464423.000) (&nbsp; 7d50'49.18"E, 49d18'43.72"N)<br>
Lower Right ( 3416172.000, 5478143.000) (&nbsp; 7d50'38.78"E, 49d26'7.79"N)<br>
Center&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ( 3409207.000, 5471283.000) (&nbsp; 7d44'58.76"E, 49d22'22.17"N)<br>
Band 1 Block=6965x64 Type=Byte, ColorInterp=Red<br>
Band 2 Block=6965x64 Type=Byte, ColorInterp=Green<br>
Band 3 Block=6965x64 Type=Byte, ColorInterp=Blue<br>
<br>
</small></small></i>A TIFF-Layer (derived from this MrSid-File) is
displayed without problems.<br>
<br>
Here is my map-file:<br>
<i><small><small>MAP<br>
&nbsp; NAME "mrsidtest"<br>
&nbsp; STATUS ON<br>
&nbsp; EXTENT 2879900 5033300 3886600 6030900<br>
&nbsp; PROJECTION<br>
&nbsp;&nbsp;&nbsp; "init=epsg:31467" # Gauss-Kr&uuml;ger 3. Streifen<br>
&nbsp; END<br>
&nbsp; SIZE 550 650<br>
&nbsp; SHAPEPATH "/usr/local/httpd/htdocs/data/"<br>
&nbsp; SYMBOLSET "/usr/local/httpd/htdocs/symbols_fonts_styles/symbols.sym"<br>
&nbsp; FONTSET "/usr/local/httpd/htdocs/symbols_fonts_styles/fonts.txt"<br>
&nbsp; IMAGECOLOR 255 255 255<br>
&nbsp; IMAGETYPE PNG<br>
&nbsp; WEB<br>
&nbsp;&nbsp;&nbsp; LOG "/tmp/mapserver_err.log"<br>
&nbsp;&nbsp;&nbsp; IMAGEPATH "/usr/local/httpd/htdocs/tmp/"<br>
&nbsp;&nbsp;&nbsp; IMAGEURL "/tmp/"<br>
&nbsp;&nbsp;&nbsp; TEMPLATE "/usr/local/httpd/htdocs/mapserver_hydro/hydro1.html"<br>
&nbsp; END<br>
<br>
&nbsp; REFERENCE<br>
..<br>
&nbsp; END<br>
<br>
&nbsp; SCALEBAR<br>
..<br>
&nbsp; END<br>
<br>
&nbsp; # Start Layer Definitionen<br>
&nbsp; LAYER<br>
&nbsp;&nbsp;&nbsp; NAME "mrsid"<br>
&nbsp;&nbsp;&nbsp; TYPE RASTER<br>
&nbsp;&nbsp;&nbsp; STATUS DEFAULT<br>
&nbsp;&nbsp;&nbsp; DEBUG ON<br>
&nbsp;&nbsp;&nbsp; DATA "data3/b462478.sid"<br>
&nbsp;&nbsp;&nbsp; PROJECTION<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "init=epsg:31467" # 3. Streifen<br>
&nbsp;&nbsp;&nbsp; END<br>
&nbsp; END<br>
<br>
&nbsp; LAYER<br>
&nbsp;&nbsp;&nbsp; NAME "tiff"<br>
&nbsp;&nbsp;&nbsp; TYPE RASTER<br>
&nbsp;&nbsp;&nbsp; STATUS DEFAULT<br>
&nbsp;&nbsp;&nbsp; DEBUG ON<br>
&nbsp;&nbsp;&nbsp; DATA "data3/b462478.tif" <br>
&nbsp;&nbsp;&nbsp; PROJECTION<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "init=epsg:31467" # 3. Streifen<br>
&nbsp;&nbsp;&nbsp; END<br>
&nbsp; END<br>
END</small></small></i><br>
<br>
Here is the config of mapserver:<br>
<i><small><small>./mapserv -v<br>
MapServer version 4.4.0 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
INPUT=EPPL7 INPUT=SDE INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE DEBUG=MSDEBUG</small></small></i><br>
<br>
MrSid is configured in GDAL as Brent Fraser wrote in the list:
<a class="moz-txt-link-freetext" href="http://xserve.flids.com/pipermail/gdal-dev/2004-August/006783.html">http://xserve.flids.com/pipermail/gdal-dev/2004-August/006783.html</a><br>
except that for SUSE Linux the MRSID_LIB in nmake.opt might have no
effect; I think it can be set in LD_LIBRARY_PATH<br>
<br>
This is the log when the map is built:<br>
<i><small><small>...<br>
[Tue Dec&nbsp; 7 16:43:51 2004].508426 msDrawRasterLayerLow(mrsid): entering.<br>
[Tue Dec&nbsp; 7 16:43:51 2004].513990 msDrawRasterLayerLow(tiff): entering.<br>
[Tue Dec&nbsp; 7 16:43:51 2004].529224 msDrawGDAL(): src=0,0,8000,8000,
dst=485,464,5,5<br>
...</small></small></i><br>
<br>
Curious that there is no msDrawGDAL()-message for the MrSid-Dataset.<br>
<br>
Any suggestions?<br>
<br>
Thanks for your help.<br>
Johannes<br>
</body>
</html>