<div dir="ltr">Hello Mark.<div><br></div><div>Thanks for your response.</div><div><br></div><div>I did what you suggested and I found this line in the error file:</div><div><br></div><div>"[Thu Sep 26 12:09:42 2013].891000 Corrupt, empty or missing file './data/srtm.tif' for layer 'srtm' ... ignoring this missing data."<br>
</div><div><br></div><div>Apparently, I didn't properly define the location of the file path relative to my map file, so I used the absolute path instead and it works fine now. Thanks a lot.</div><div><br></div><div>
Regards,</div>
<div><br></div><div>Emmanuel Adegboye</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 23 September 2013 14:08, Mark Volz <span dir="ltr"><<a href="mailto:MarkVolz@co.lyon.mn.us" target="_blank">MarkVolz@co.lyon.mn.us</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Emmanuel,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Turn on logging by adding the following two lines to your map file. The error file might tell you if there is a problem in your map file.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">MAP<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">…<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> CONFIG "MS_ERRORFILE" "/ms4w/tmp/ms_tmp/ms_error.txt"<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> DEBUG 5<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">….<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Mark Volz, GISP<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">GIS Specialist<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:ms4w-users-bounces@lists.maptools.org" target="_blank">ms4w-users-bounces@lists.maptools.org</a> [mailto:<a href="mailto:ms4w-users-bounces@lists.maptools.org" target="_blank">ms4w-users-bounces@lists.maptools.org</a>]
<b>On Behalf Of </b>Emmanuel Adegboye<br>
<b>Sent:</b> Monday, September 23, 2013 3:49 AM<br>
<b>To:</b> <a href="mailto:ms4w-users@lists.maptools.org" target="_blank">ms4w-users@lists.maptools.org</a><br>
<b>Subject:</b> [MS4W-Users] Mapserver displays raster with blank tiles<u></u><u></u></span></p>
</div>
</div><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Hello.<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I'm using MapServer version 6.2.1 (MS4W 3.1.0-beta1).<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">My map files always display blank tiles, even with a GET MAP Request, whenever I try to display raster images with mapserver.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Here's a copy of one of my map files. Hopefully someone can tell me what I'm getting wrong.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<p class="MsoNormal"># Map file created from QGIS project file C:/Program Files (x86)/Quantum GIS Lisboa/test.qgs<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"># Edit this file to customize for your map interface<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"># (Created with PyQgis MapServer Export plugin)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">MAP<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> NAME "QGIS-MAP"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> # Map image size<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> SIZE 400 400<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> UNITS meters<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"> EXTENT 429144.335090 662205.359359 996550.275768 937861.859359<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> FONTSET './fonts/fonts.txt'<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> SYMBOLSET './symbols/symbols.txt'<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> PROJECTION<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> 'proj=utm'<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> 'zone=31'<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> 'datum=WGS84'<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> 'units=m'<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> 'no_defs'<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> END<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"> # Background color for the map canvas -- change as desired<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> IMAGECOLOR 255 255 255<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> IMAGEQUALITY 95<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> IMAGETYPE agg<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"> OUTPUTFORMAT<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> NAME agg<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> DRIVER AGG/PNG<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> IMAGEMODE RGB<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> END<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> # Legend<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> LEGEND<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> IMAGECOLOR 255 255 255<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> STATUS ON<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> KEYSIZE 18 12<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> LABEL<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> TYPE BITMAP<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> SIZE MEDIUM<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> COLOR 0 0 89<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> END<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> END<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"> # Web interface definition. Only the template parameter<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> # is required to display a map. See MapServer documentation<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> WEB<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> # Set IMAGEPATH to the path where MapServer should<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> # write its output.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> IMAGEPATH '/ms4w/tmp/ms_tmp/'<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"> # Set IMAGEURL to the url that points to IMAGEPATH<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> # as defined in your web server configuration<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> IMAGEURL '/ms_tmp/'<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"> # WMS server settings<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> METADATA<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> 'ows_title' 'QGIS-MAP'<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> 'ows_onlineresource' '<a href="http://localhost/fcgi-bin/mapserv.exe?map=C:/ms4w/apps/pmapper/pmapper-4.3.1/config/default/oau2.map" target="_blank">http://localhost/fcgi-bin/mapserv.exe?map=C:/ms4w/apps/pmapper/pmapper-4.3.1/config/default/oau2.map</a>'<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> 'ows_srs' 'EPSG:32631'<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> 'ows_enable_request' '*'<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> END<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"> #Scale range at which web interface will operate<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> # Template and header/footer settings<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> # Only the template parameter is required to display a map. See MapServer documentation<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> TEMPLATE 'fooOnlyForWMSGetFeatureInfo'<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> END<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"> LAYER<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> NAME 'srtm'<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> TYPE RASTER<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> EXTENT 429144.335090 662205.359359 996550.275768 937861.859359<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> DATA '../../ms4w/apps/pmapper/pmapper-4.3.1/config/default/data/srtm.tif'<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> METADATA<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> 'ows_title' 'srtm'<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> END<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> STATUS OFF<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> PROJECTION<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> 'proj=utm'<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> 'zone=31'<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> 'datum=WGS84'<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> 'units=m'<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> 'no_defs'<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> END<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> END<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">END<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Regards,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Emmanuel Adegboye<u></u><u></u></p>
</div>
</div>
</div></div></div>
</div>
</div>
</blockquote></div><br></div>