<!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> </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> </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> </DIV>
<DIV><FONT face=Arial size=2>this is a simple raster layer:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>LAYER<BR>
NAME "@_ctr_icb"<BR>
METADATA<BR>
<A href='mailto:"NAME" "@_ctr_icb'>"NAME"
"@_ctr_icb</A>"<BR>
END<BR> DATA
"ctr_icb.tif"<BR> TYPE
RASTER<BR> STATUS
ON<BR> MAXSCALE
50000000<BR> 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> </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>
TIFFTAG_XRESOLUTION=7.8860998<BR> TIFFTAG_YRESOLUTION=7.8860998<BR>
TIFFTAG_RESOLUTIONUNIT=3 (pixels/cm)<BR>Corner Coordinates:<BR>Upper Left
( 1394366.841, 5002513.327)<BR>Lower Left ( 1394366.841,
4998513.929)<BR>Upper Right ( 1398368.775, 5002513.327)<BR>Lower Right (
1398368.775, 4998513.929)<BR>Center ( 1396367.808,
5000513.628)<BR>Band 1 Block=3156x3154 Type=Byte, ColorInterp=Palette<BR>
Color Table (RGB with 2 entries)<BR> 0:
255,255,255,255<BR> 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> </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> </DIV>
<DIV><FONT face=Arial size=2>and mapserver with:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </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
--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> </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> </DIV>
<DIV><FONT face=Arial size=2>Thanks in advance.</FONT></DIV>
<DIV><FONT face=Arial size=2>RedS</DIV></FONT></BODY></HTML>