Hi All,<br>I am a new user of mapserver. I am trying to view the available shape file using php mapscript. I have created a simple map file for the same.But on running it through browser i am getting a completely blank image as output. Please help.<br><br>Contents of Map file:<br>NAME "eSagu GIS"<br>SIZE 200 200<br>STATUS ON<br>SYMBOLSET "../symbols.sym"<br>EXTENT -5696501 1923039 5696501 11022882<br>UNITS METERS<br>SHAPEPATH "../data"<br> <br>WEB<br> IMAGEPATH "C:/ms4w/Apache/htdocs/eSagu/map/tmp/"<br> IMAGEURL "/eSagu/map/tmp/"<br>END<br><br>LAYER<br> NAME "FarmFields"<br> TYPE point<br> STATUS ON<br> DATA "FarmFields"<br> CLASS<br> STYLE<br> COLOR 210 150
130<br> OUTLINECOLOR 100 220 230<br> SYMBOL 0<br> END<br> END<br>END<br><br>END<br><br><br>Content of php file:<br><br><?php<br><br> dl('php_mapscript.dll'); <br><br> $map_path="../map/";<br> <br> $map = ms_newMapObj($map_path."eSagu.map");<br> $image=$map->draw();<br> $image_url=$image->saveWebImage();<br><br>?><br><br><HTML><br> <HEAD><br> <TITLE>eSagu: Displaying farms for Malkapur</TITLE><br> </HEAD><br> <BODY><br> <IMG SRC=<?php echo $image_url; ?> ><br> </BODY><br></HTML><br><br>Please help me out.<br>Thanks and Regards,<br>Piyush<br><br><p>
<hr size=1>Got a little couch potato? <br>
Check out fun <a href="http://us.rd.yahoo.com/evt=48248/*http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz">summer activities for kids.</a>