<!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)&nbsp;for 
your layer.&nbsp; </FONT></SPAN></DIV>
<DIV><SPAN class=343111613-21122006><FONT face=Arial color=#0000ff 
size=2>According to the docs it is required.&nbsp; Also I would try&nbsp;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>&nbsp;</DIV>
<DIV><SPAN class=343111613-21122006>&nbsp;METADATA<BR>&nbsp;&nbsp;&nbsp; 
"wms_title"&nbsp;&nbsp;&nbsp; "Areal"&nbsp;&nbsp; ##required<BR>&nbsp; 
END</SPAN></DIV>
<DIV><SPAN class=343111613-21122006></SPAN>&nbsp;</DIV>
<DIV><SPAN class=343111613-21122006><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=343111613-21122006><FONT face=Arial color=#0000ff 
size=2>Get&nbsp;Capabilites Request</FONT></SPAN></DIV>
<DIV><SPAN class=343111613-21122006><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=343111613-21122006><A 
href="http://***********/cgi-bin/mapserv.exe?map=/ms4w/apps/chameleon/samples/map/wmsserver_tiff.map&amp;Service=WMS&amp;VERSION=1.1.1&amp;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>&amp;Service=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetCapabilities</A></FONT></DIV>
<DIV><BR>&nbsp;</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>&nbsp; 
  NAME CAMPUS<BR>&nbsp; STATUS ON<BR>&nbsp; SIZE 500 500<BR>&nbsp; SYMBOLSET 
  ../etc/symbols.sym <BR>&nbsp; EXTENT 77336.359625 189988.500250 90937.297125 
  201812.968625<BR>&nbsp; UNITS METERS<BR>&nbsp; IMAGECOLOR 255 255 
  255<BR>&nbsp; FONTSET ../etc/fonts.txt<BR>&nbsp; TRANSPARENT 
  FALSE<BR><BR>IMAGETYPE png256<BR><BR>&nbsp; WEB<BR>&nbsp;&nbsp;&nbsp; 
  IMAGEPATH "/ms4w/apps/chameleon/samples/data/topo" <BR>&nbsp;&nbsp;&nbsp; 
  IMAGEURL "/ms_tmp/"<BR>&nbsp;&nbsp;&nbsp; 
  METADATA<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "wms_abstract" "Demo for 
  Geotiff"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "wms_title" "WMS Demo 
  Server"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "wms_onlineresource" 
  "http://***********/cgi-bin/mapserv.exe?map=/ms4w/apps/chameleon/samples/map/wmsserver_tiff.map&amp;" 
  <BR>&nbsp;&nbsp;&nbsp; "wms_srs" 
  "EPSG:31300"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; 
  END<BR>&nbsp; END<BR>&nbsp;<BR>OUTPUTFORMAT<BR>&nbsp;&nbsp;&nbsp; NAME 
  GEOTIFF<BR>&nbsp;&nbsp;&nbsp; DRIVER "GDAL/GTiff"<BR>&nbsp;&nbsp;&nbsp; 
  MIMETYPE "image/tiff"<BR>&nbsp;&nbsp;&nbsp; IMAGEMODE "PC256" 
  <BR>&nbsp;&nbsp;&nbsp; EXTENSION "tif"<BR>END<BR><BR><BR>&nbsp; 
  PROJECTION<BR>&nbsp;&nbsp;&nbsp; "init=epsg:31300"<BR>&nbsp; 
  END<BR><BR><BR>#&nbsp; LAYER<BR>#&nbsp;&nbsp;&nbsp; NAME 
  "aerial1"<BR>#&nbsp;&nbsp;&nbsp; DATA "C:/your tiff 
  file.tif"<BR>#&nbsp;&nbsp;&nbsp; TYPE RASTER <BR>#&nbsp;&nbsp;&nbsp; STATUS 
  ON<BR>#&nbsp; END<BR><BR># I believe aerial1 would work if you just have one 
  tiff and point it to that<BR><BR>&nbsp; LAYER<BR>&nbsp;&nbsp;&nbsp; NAME 
  "fullimagetiffwoverview"<BR>&nbsp;&nbsp;&nbsp; TILEINDEX 
  "/ms4w/apps/chameleon/samples/data/topo/shpindex.shp" <BR>&nbsp;&nbsp;&nbsp; 
  TILEITEM "location"<BR>&nbsp;&nbsp;&nbsp; TYPE RASTER<BR>&nbsp;&nbsp;&nbsp; 
  #PROCESSING "DITHER=YES" <BR>&nbsp;&nbsp;&nbsp; #PROCESSING "BANDS=3,2,1" 
  <BR>&nbsp;&nbsp;&nbsp; STATUS ON<BR>&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp; 
  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>