[MS4W-Users] Trs: cannot render image

Rangga Negara rkn2003 at yahoo.co.id
Tue Sep 1 11:21:52 EST 2009


hi, i just not understand why the map cannot render

this is my mapfile


name "b"
SIZE 600 500
UNITS DD
IMAGETYPE JPEG
IMAGECOLOR  255 255 255
SHAPEPATH "C:/ms4w/home/mapdata/"
EXTENT -77.119900 38.791513  -76.909396 38.995109
STATUS ON

#
#          Start of web interface definition
#

WEB
    TEMPLATE '/ms4w/apache/htdocs/b.html'
    IMAGEPATH '/ms4w/tmp/ms_tmp/'
    IMAGEURL '/ms_tmp/'
END # WEB Section

#
#          Start of Layer definition
#
LAYER
    NAME  county
    TYPE polygon
    STATUS ON
    CONNECTIONTYPE OGR
    CONNECTION "c:/ms4w/home/mapdata/county.TAB"
            CLASS
            NAME "county"
            STYLE
                COLOR 254 222 212
                OUTLINECOLOR 0 0 0 
            END
        END # Class section
END # LAYER Section
        
END # MapFile


------and this is my html--------------------------------------------
<html>
<head> <title>MapServer First Map</title></head>
<body>
   <form method=POST action="/cgi-bin/mapserv.exe?">
      <input type="submit" value="Click Me">
      <input type="hidden" name="map" value="C:/ms4w/home/mapdata/b.map&layers=all&mode=map">
      <input type="hidden" name="map_web" 
             value="imagepath /ms4w/tmp/ms_tmp/">
   </form>
   <IMG SRC="[img]" width=600 height=500 border=0>
</body>
</html>
-------------------------------------------------------------------------

output just white colour on the image box?

thank you

start: 2009-06-05
end: 0000-00-00 
________________________________
Lebih Bersih, Lebih Baik, Lebih Cepat - Rasakan Yahoo! Mail baru yang Lebih Cepat hari ini!


      Yahoo! Mail Kini Lebih Cepat dan Lebih Bersih. Rasakan bedanya sekarang! http://id.mail.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ms4w-users/attachments/20090901/8d0a7b89/attachment.htm 


More information about the MS4W-Users mailing list