<!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.2900.2627" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=343111613-21122006><FONT face=Arial color=#0000ff size=2>I'm
not sure if this will help but you are missing the metadata (wms title) for
your layer. </FONT></SPAN></DIV>
<DIV><SPAN class=343111613-21122006><FONT face=Arial color=#0000ff
size=2>According to the docs it is required. Also I would try using
GetCapabilities Request to see what is returned</FONT></SPAN></DIV>
<DIV><SPAN class=343111613-21122006><FONT face=Arial color=#0000ff size=2>Try
adding the following to your layer object</FONT></SPAN></DIV>
<DIV><SPAN class=343111613-21122006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=343111613-21122006> METADATA<BR>
"wms_title" "Areal" ##required<BR>
END</SPAN></DIV>
<DIV><SPAN class=343111613-21122006></SPAN> </DIV>
<DIV><SPAN class=343111613-21122006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=343111613-21122006><FONT face=Arial color=#0000ff
size=2>Get Capabilites Request</FONT></SPAN></DIV>
<DIV><SPAN class=343111613-21122006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=343111613-21122006><A
href="http://***********/cgi-bin/mapserv.exe?map=/ms4w/apps/chameleon/samples/map/wmsserver_tiff.map&Service=WMS&VERSION=1.1.1&REQUEST=GetCapabilities"><font color="red"><b>MailScanner warning: numerical links are often malicious:</b></font> http://***********/cgi-bin/mapserv.exe?map=/ms4w/apps/chameleon/samples/map/wmsserver_tiff.map<FONT
face=Arial color=#0000ff
size=2>&Service=WMS&VERSION=1.1.1&REQUEST=GetCapabilities</A></FONT></DIV>
<DIV><BR> </SPAN></DIV>
<BLOCKQUOTE>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> UMN MapServer Users List
[mailto:MAPSERVER-USERS@LISTS.UMN.EDU]<B>On Behalf Of </B>Steven De
Vriendt<BR><B>Sent:</B> Thursday, December 21, 2006 6:43 AM<BR><B>To:</B>
MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Subject:</B> [UMN_MAPSERVER-USERS] Serve
TIFF through WMS<BR><BR></FONT></DIV>Hi,<BR><BR>Thanks to Scott, who helped me
quite a bit through this, I now have a mapfile that <BR>should be suitable for
publishing tiff images through WMS. (Thanks again Scott !)<BR>Can someone have
a look at this mapfile, I can't seem to figure out what causes mapserver
<BR>not showing the images when requested through WMS.<BR>Can someone help me
figure out what parameters are missing/incomplete....<BR><BR>MAP<BR>
NAME CAMPUS<BR> STATUS ON<BR> SIZE 500 500<BR> SYMBOLSET
../etc/symbols.sym <BR> EXTENT 77336.359625 189988.500250 90937.297125
201812.968625<BR> UNITS METERS<BR> IMAGECOLOR 255 255
255<BR> FONTSET ../etc/fonts.txt<BR> TRANSPARENT
FALSE<BR><BR>IMAGETYPE png256<BR><BR> WEB<BR>
IMAGEPATH "/ms4w/apps/chameleon/samples/data/topo" <BR>
IMAGEURL "/ms_tmp/"<BR>
METADATA<BR> "wms_abstract" "Demo for
Geotiff"<BR> "wms_title" "WMS Demo
Server"<BR> "wms_onlineresource"
"http://***********/cgi-bin/mapserv.exe?map=/ms4w/apps/chameleon/samples/map/wmsserver_tiff.map&"
<BR> "wms_srs"
"EPSG:31300"<BR> <BR>
END<BR> END<BR> <BR>OUTPUTFORMAT<BR> NAME
GEOTIFF<BR> DRIVER "GDAL/GTiff"<BR>
MIMETYPE "image/tiff"<BR> IMAGEMODE "PC256"
<BR> EXTENSION "tif"<BR>END<BR><BR><BR>
PROJECTION<BR> "init=epsg:31300"<BR>
END<BR><BR><BR># LAYER<BR># NAME
"aerial1"<BR># DATA "C:/your tiff
file.tif"<BR># TYPE RASTER <BR># STATUS
ON<BR># END<BR><BR># I believe aerial1 would work if you just have one
tiff and point it to that<BR><BR> LAYER<BR> NAME
"fullimagetiffwoverview"<BR> TILEINDEX
"/ms4w/apps/chameleon/samples/data/topo/shpindex.shp" <BR>
TILEITEM "location"<BR> TYPE RASTER<BR>
#PROCESSING "DITHER=YES" <BR> #PROCESSING "BANDS=3,2,1"
<BR> STATUS ON<BR> <BR>
END<BR><BR># fullimagetiffwoverview would work if you point it to your
tileindex shapefile which you would create with gdal <BR><BR># this is if you
have a mosaic of images<BR><BR>END<BR><BR></BLOCKQUOTE></BODY></HTML>