Hello!<br>
<br>
Maybe its your IMAGECOLOR 255 255 255<br>
In your map file<br>
Comment this with #, and test it.<br>
<br><br><div class="gmail_quote">2008/6/6 <a href="mailto:kreshna_iceheart@yahoo.com">kreshna_iceheart@yahoo.com</a> &lt;<a href="mailto:kreshna_iceheart@yahoo.com">kreshna_iceheart@yahoo.com</a>&gt;:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Is it coordinate problem or gdal problem? Please help. Please please help. :(<br>
<br>
I am using Map Server for windows (ms4w) with MapServer version <a href="http://4.6.1." target="_blank">4.6.1.</a> I created a simple mapfile to display a TIFF raster image named industri.tif. The TIFF raster image has separated world file named industri.tfw.<br>

<br>
The contents of the industri.ftw is as follows:<br>
 &nbsp; &nbsp; &nbsp;1.000<br>
 &nbsp; &nbsp; &nbsp;0.000<br>
 &nbsp; &nbsp; &nbsp;0.000<br>
 &nbsp; &nbsp; -1.000<br>
&nbsp;679316.007<br>
9318670.876<br>
<br>
Meanwhile, the extent of the mapfile is as follows:<br>
 &nbsp;EXTENT &nbsp; &nbsp; &nbsp;679326.0 9317932.0 680607.0 9318665.0<br>
<br>
By comparing the two sets of coordinates above (.tfw contents and EXTENT value), I think the raster should display properly, shouldn&#39;t it?<br>
<br>
<br>
Also, below is my raster layer definition. There is nothing wrong with it, isn&#39;t there?<br>
 &nbsp;LAYER<br>
 &nbsp; &nbsp;NAME Industri<br>
 &nbsp; &nbsp; TYPE RASTER<br>
 &nbsp; &nbsp; &nbsp;STATUS &nbsp;ON<br>
 &nbsp; &nbsp; &nbsp;DATA &quot;C:\mapfiles\shp\RASTER\industri.tif&quot; # contoh, pakai file world<br>
 &nbsp; &nbsp;CLASS<br>
 &nbsp; &nbsp; &nbsp; NAME &#39;Industri&#39;<br>
 &nbsp; &nbsp;END<br>
 &nbsp;END<br>
<br>
<br>
Alas, when I open the map with my browser, the raster does not show. Instead, the page only show a white rectangle (blank rectangle?). Browsing in map mode (&amp;mode=map) does not help either. In fact, browsing in map mode shows a big empty page.<br>

<br>
And when I browsed the \temp folder (IMAGEPATH), the resulting JPG file is nothing but white rectangle. The size, however, is correct (640x400 as specified in the mapfile), but it is a white rectangle instead of the raster image.<br>

<br>
The temporary JPG file is attached (Industri12128218881248.jpg).<br>
<br>
I suspect it is a gdal problem, but my ms4w does support gdal, as shown below:<br>
C:\ms4w\Apache\cgi-bin&gt;mapserv.exe -v<br>
MapServer version 4.6.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF<br>
&nbsp;OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPO<br>
RTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER INPUT<br>
=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE DEBUG=MSDEBUG<br>
<br>
I also have the following *.dll files in C:\ms4w\Apache\cgi-bin\ folder:<br>
gdal12.dll<br>
NCScnet.dll<br>
NCSEcw.dll<br>
NCSUtil.dll<br>
xerces-c_1_6_0.dll<br>
<br>
So I think all the necessary *.dlls are complete.<br>
<br>
I have tried copying the *.dll above to C:\WINDOWS\System32\, but to no avail. MapServer still displays white rectangle instead of the raster image.<br>
<br>
I have opened the TIFF raster image using Photoshop as well, and yes, it is a correct raster image, not white rectangle. But still, MapServer displays nothing but white rectangle.<br>
<br>
What should I do? What&#39;s wrong? MapServer 4.6.1 is capable to display raster image, isn&#39;t it? I really need to display the raster image, what should I do? Please please help. :(<br>
<br>
Thanks &amp; S.O.S,<br>
-Kresh<br>
<br>
PS: the mapfile and html template is attached<br>
<br>
<br>
<br>
 &nbsp; &nbsp; &nbsp;<br>_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br></blockquote></div><br>