[Mapserver-users] GIS Student and Single Layers help
George McCown
reliant009 at charter.net
Thu Mar 13 18:33:03 PST 2003
I've successfully installed the demo map server on apache 2.
Now I want to learn how to make single layers but I need more help
than what the Tutorial shows.
data file: E:\Apache Group\Apache2\htdocs\hall\data\states.shp
mapserv(3.6): E:\Apache Group\Apache2\cgi-bin
single.map and single.html: E:\Apache Group\Apache2\htdocs\hall
********* Single.html**********************
<html>
<head>
<title>single</title>
</head>
<body>
<h1>SINGLE LAYER</h1>
<img border="1" src="="/cgi-bin/mapserv35?map/hall/single.map&mode=map">
<p>why is it mapserv35?map not just mapserv.exe?</p>
</body>
</html>
************single.map*****************
NAME test
EXTENT -127.92 49.47 -77.05 23.66
SIZE 400 300
SHAPEPATH "data"
#LAYER # start of the "states" layer object
NAME "states"
DATA states
STATUS DEFAULT
TYPE POLYGON
CLASS
COLOR 220 220 220
OUTLINECOLOR 0 0 0
END # end of class object
END # end of layer object
END # end of map file
*******************************
Can someone point the the error of my way?
Thank you very much.
George
More information about the MapServer-users
mailing list