<div dir="ltr">Hello.<div><br></div><div>I'm using MapServer version 6.2.1 (MS4W 3.1.0-beta1).</div><div><br></div><div>My map files always display blank tiles, even with a GET MAP Request, whenever I try to display raster images with mapserver.</div>
<div><br></div><div>Here's a copy of one of my map files. Hopefully someone can tell me what I'm getting wrong.</div><div><br></div><div><div># Map file created from QGIS project file C:/Program Files (x86)/Quantum GIS Lisboa/test.qgs</div>
<div># Edit this file to customize for your map interface</div><div># (Created with PyQgis MapServer Export plugin)</div><div>MAP</div><div> NAME "QGIS-MAP"</div><div> # Map image size</div><div> SIZE 400 400</div>
<div> UNITS meters</div><div><br></div><div> EXTENT 429144.335090 662205.359359 996550.275768 937861.859359</div><div> FONTSET './fonts/fonts.txt'</div><div> SYMBOLSET './symbols/symbols.txt'</div><div>
PROJECTION</div><div> 'proj=utm'</div><div> 'zone=31'</div><div> 'datum=WGS84'</div><div> 'units=m'</div><div> 'no_defs'</div><div> END</div><div><br></div><div> # Background color for the map canvas -- change as desired</div>
<div> IMAGECOLOR 255 255 255</div><div> IMAGEQUALITY 95</div><div> IMAGETYPE agg</div><div><br></div><div> OUTPUTFORMAT</div><div> NAME agg</div><div> DRIVER AGG/PNG</div><div> IMAGEMODE RGB</div><div> END</div>
<div> # Legend</div><div> LEGEND</div><div> IMAGECOLOR 255 255 255</div><div> STATUS ON</div><div> KEYSIZE 18 12</div><div> LABEL</div><div> TYPE BITMAP</div><div> SIZE MEDIUM</div><div> COLOR 0 0 89</div>
<div> END</div><div> END</div><div><br></div><div> # Web interface definition. Only the template parameter</div><div> # is required to display a map. See MapServer documentation</div><div> WEB</div><div> # Set IMAGEPATH to the path where MapServer should</div>
<div> # write its output.</div><div> IMAGEPATH '/ms4w/tmp/ms_tmp/'</div><div><br></div><div> # Set IMAGEURL to the url that points to IMAGEPATH</div><div> # as defined in your web server configuration</div>
<div> IMAGEURL '/ms_tmp/'</div><div><br></div><div> # WMS server settings</div><div> METADATA</div><div> 'ows_title' 'QGIS-MAP'</div><div> 'ows_onlineresource' '<a href="http://localhost/fcgi-bin/mapserv.exe?map=C:/ms4w/apps/pmapper/pmapper-4.3.1/config/default/oau2.map">http://localhost/fcgi-bin/mapserv.exe?map=C:/ms4w/apps/pmapper/pmapper-4.3.1/config/default/oau2.map</a>'</div>
<div> 'ows_srs' 'EPSG:32631'</div><div><span class="" style="white-space:pre">        </span> 'ows_enable_request' '*'</div><div> END</div><div><br></div><div> #Scale range at which web interface will operate</div>
<div> # Template and header/footer settings</div><div> # Only the template parameter is required to display a map. See MapServer documentation</div><div> TEMPLATE 'fooOnlyForWMSGetFeatureInfo'</div><div>
END</div>
<div><br></div><div> LAYER</div><div> NAME 'srtm'</div><div> TYPE RASTER</div><div> EXTENT 429144.335090 662205.359359 996550.275768 937861.859359</div><div> DATA '../../ms4w/apps/pmapper/pmapper-4.3.1/config/default/data/srtm.tif'</div>
<div> METADATA</div><div> 'ows_title' 'srtm'</div><div> END</div><div> STATUS OFF</div><div> PROJECTION</div><div> 'proj=utm'</div><div> 'zone=31'</div><div> 'datum=WGS84'</div>
<div> 'units=m'</div><div> 'no_defs'</div><div> END</div><div> END</div><div><br></div><div>END</div></div><div><br></div><div>Regards,</div><div><br></div><div>Emmanuel Adegboye</div></div>