[MS4W-Users] Mapserver Hello World

Marcelo Miranda marcelo at sisflora.com.br
Fri Mar 5 13:00:25 EST 2010


I have an error below, someone can help me?

ERROR
loadWeb(): Unknown identifier. Parsing error near (c):(line 1)

MAP
# This is our "Hello World" mapfile
NAME "Hello World"
SIZE 400 300
IMAGECOLOR 249 245 186
IMAGETYPE png
EXTENT -1.0 -1.0 1.0 1.0
WEB
     TEMPLATE "http://localhost/hello.html"
     IMAGEPATH "c:/ms4w/tmp/ms_tmp/"
     IMAGEURL "/tmp/"
END
LAYER					 
     STATUS default
     TYPE point
     FEATURE
          POINTS  0.00 0.00 END
          TEXT "Hello World"
     END # end feature
     CLASS
          STYLE
               COLOR 255 0 0
          END
          LABEL
               TYPE bitmap
          END
     END
END
END

TEMPLATE
<html>
<head> <title>MapServer Hello World</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/apps/mapfiles/hello.map">
        <input type="hidden" name="map_web_imagepath" 
	        value="c:/ms4w/tmp/ms_tmp/">
    </form>
    <IMG SRC="[img]" width=400 height=300 border=0>
</body>
</html>

Atenciosamente,
 
Marcelo Miranda
Diretor
Flora Nativa
http://www.sisflora.com.br

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 5046 bytes
Desc: not available
Url : http://lists.maptools.org/pipermail/ms4w-users/attachments/20100305/4504cf7e/attachment.bin 


More information about the MS4W-Users mailing list