<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hi, <br> can someone give some suggestion about what's wrong with my wms layer?<br>following are my map file ,index.html, template html file.<br>MAP<br><br> SIZE 600 300<br><br> EXTENT -180 -90 180 90<br><br># IMAGECOLOR 180 180 250<br> <br> IMAGETYPE PNG24<br><br><br><br> UNITS DD<br><br><br><br> SCALEBAR<br><br> STATUS EMBED<br><br> UNITS KILOMETERS<br><br> INTERVALS 3<br><br> TRANSPARENT TRUE<br><br> OUTLINECOLOR 0 0 0<br><br> END<br><br><br><br> LEGEND<br><br> STATUS EMBED<br><br> POSITION LR<br><br> TRANSPARENT TRUE<br><br> END<br><br><br><br>
WEB<br><br> TEMPLATE global.html<br><br> IMAGEPATH "/ms4w/tmp/ms_tmp/"<br><br> IMAGEURL "/ms_tmp/"<br><br> END<br><br> LAYER<br><br> NAME modis<br><br> TYPE RASTER<br><br> STATUS DEFAULT<br><br> CONNECTIONTYPE WMS<br><br><span> CONNECTION "<a target="_blank" href="http://wms.jpl.nasa.gov/wms.cgi">http://wms.jpl.nasa.gov/wms.cgi</a>?"</span><br><br> MINSCALE 20000<br><br> METADATA<br><br> "wms_server_version" "1.1.1"<br><br> "wms_srs" "EPSG:4326"<br><br> "wms_format" "image/jpeg"<br><br> "wms_styles" "july"<br><br> "wms_name"
"modis"<br><br> END<br><br> END<br><br>END<br><br>index html<br><br><HTML><br><br><HEAD><TITLE>MapServer Test</TITLE></HEAD><br><br><CENTER><H2>MapServer Test</H2><br><br><br><br><FORM method=GET action="/cgi-bin/mapserv.exe"><br><br> <INPUT type="hidden" name="map" value="/ms4w/apps/hello/htdocs/global.map"><br><br> <INPUT type="hidden" name="layer" value="modis"><br><br><br><br> <INPUT type="hidden" name="zoomdir" value=1><br><br> <INPUT type="hidden" name="zoomsize" value=2><br><br><br><br> <INPUT type="hidden" name="program" value="/cgi-bin/mapserv.exe"><br><br><br><br> <INPUT type="submit" value="Start MapServer"><br><br></FORM></CENTER></BODY></HTML><br><br>template file<br><br><HTML><br><br><HEAD><TITLE>MapServer
Test</TITLE></HEAD><br><br><CENTER><H2>MapServer Test</H2><br><br><HR><br><br><br><br><FORM method=GET action="/cgi-bin/mapserv.exe"><br><br> <INPUT NAME="img" TYPE="image" SRC="[img]" width=600 height=300 border=0<br><br> ALT="Map Image"><br><br><br><br> <INPUT type=hidden name=zoomdir value=1 [zoomdir_1_check] ><br><br> <INPUT type=hidden name=zoomsize size=4 value=[zoomsize]><br><br><br><br> <INPUT type="hidden" name="imgxy" value="[center_x] [center_y]"><br><br> <INPUT type="hidden" name="imgext" value="[mapext]"><br><br> <INPUT type="hidden" name="map" value="[map]"><br><br> <INPUT type="hidden" name="savequery" value="true"><br><br> <INPUT type="hidden" name="mapext"
value="shapes"><br><br><br><br></FORM></CENTER></BODY></HTML><br> thanks!<br>wangtao<br>2007.05.08<br></div></div><br>
<hr size=1>Need Mail bonding?<br>Go to the <a href="http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=ask&sid=396546091">Yahoo! Mail Q&A</a> for <a href="http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=ask&sid=396546091">great tips from Yahoo! Answers</a> users.</body></html>