Basic Problem
SUBSCRIBE MAPSERVER-USERS Arulraj.M
arul_gi at REDIFFMAIL.COM
Wed Mar 28 21:31:03 PDT 2007
Dear friends,
i am very new to this UMN map server. I have installed the mapserver
windows edition and checked with gmap75 application. Its working fine. when i
tried with one small example, its not working .
the codes are
----------------------------------
hi.html
<html>
<head> <title>hi</title></head>
<body>
<form method=POST action="/cgi-bin/mapserv">
<input type="submit" value="Click Me">
<input type="hidden" name="map" value="/home/mapdata/hi.map">
<input type="hidden" name="map_web_imagepath"
value="/tmp/ms_tmp/">
</form>
<IMG SRC="[img]" width=400 height=300 border=0>
</body>
</html>
----------------------------------------------
hi.map
NAME "hi"
SIZE 400 300
IMAGECOLOR 249 245 186
IMAGETYPE png
EXTENT -1.0 -1.0 1.0 1.0
WEB
IMAGEPATH "/tmp/ms_tmp/"
IMAGEURL "/ms_tmp/"
END
LAYER
STATUS default
TYPE point
FEATURE
POINTS 0.00 0.00 END
TEXT "hi"
END # end feature
CLASS
STYLE
COLOR 255 0 0
END
LABEL
TYPE bitmap
END
END
END
END
------------------------------
when i am click my event it is passing into mapserv.exe , but it neither creates
a image nor dipalying a image. It s not generating a image. i have physically
verified int he folder too. So . where is the error in the code, please help me.
Arul.
More information about the MapServer-users
mailing list