<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi all,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I have just installed GDAL 1.2.2 with MapServer 
4.2.3 and I get the following error: </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><STRONG>Warning</STRONG>: [MapServer Error]: msDrawMap(): Failed to draw 
layer named <A href="mailto:'@_ctr_icb'">'@_ctr_icb'</A>.</DIV>
<DIV><B>Warning</B>: [MapServer Error]: IReadBlock failed at X offset 0, Y 
offset 0: GDALRasterIO() failed: drawGDAL()</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>this is a simple raster layer:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>LAYER<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
NAME "@_ctr_icb"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
METADATA<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<A href='mailto:"NAME" "@_ctr_icb'>"NAME" 
"@_ctr_icb</A>"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
END<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DATA 
"ctr_icb.tif"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TYPE 
RASTER<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STATUS 
ON<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MAXSCALE 
50000000<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MINSCALE 
0<BR>END<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>and with gdalinfo (1.2.2 version) I obtain the 
following information on the tif image:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Driver: GTiff/GeoTIFF<BR>Size is 3156, 
3154<BR>Coordinate System is `'<BR>Origin = 
(1394366.840860,5002513.327460)<BR>Pixel Size = 
(1.26804000,-1.26804000)<BR>Metadata:<BR>&nbsp; 
TIFFTAG_XRESOLUTION=7.8860998<BR>&nbsp; TIFFTAG_YRESOLUTION=7.8860998<BR>&nbsp; 
TIFFTAG_RESOLUTIONUNIT=3 (pixels/cm)<BR>Corner Coordinates:<BR>Upper Left&nbsp; 
( 1394366.841, 5002513.327)<BR>Lower Left&nbsp; ( 1394366.841, 
4998513.929)<BR>Upper Right ( 1398368.775, 5002513.327)<BR>Lower Right ( 
1398368.775, 4998513.929)<BR>Center&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ( 1396367.808, 
5000513.628)<BR>Band 1 Block=3156x3154 Type=Byte, ColorInterp=Palette<BR>&nbsp; 
Color Table (RGB with 2 entries)<BR>&nbsp;&nbsp;&nbsp; 0: 
255,255,255,255<BR>&nbsp;&nbsp;&nbsp; 1: 0,0,0,255<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>I have compiled gdal with:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>./configure --with-ogr 
--with-pg=/usr/local/pgsql-8.0.0/bin/pg_config 
--with-geos=/usr/local/bin/geos-config<BR>--with-static-proj4=../proj-4.4.8</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>and mapserver with:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>./configure --with-proj=../proj-4.4.8/ 
--with-php=../php-4.3.8/ 
--with-postgis=/usr/local/pgsql-8.0.0/bin/pg_config<BR>-with-freetype=../freetype-2.1.9&nbsp; 
--with-gd=static,../gd-2.0.28 --without-tiff 
--with-gdal=/usr/local/bin/gdal-config<BR>--with-ogr=/usr/local/bin/gdal-config 
--with-httpd=/sslwww/bin/httpd</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>the old compiled version with gdal 1.1.9 worked 
well. I have also tryed the 1.2.1 gdal version with the same 
result.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks in advance.</FONT></DIV>
<DIV><FONT face=Arial size=2>RedS</DIV></FONT></BODY></HTML>