[Mapserver-users] GIS Student needs help

Dylan Keon keon at nacse.org
Fri Mar 14 15:55:16 PST 2003


George,

For starters, your LAYER line is commented out.  Remove the leading # 
from LAYER.

--Dylan


George McCown wrote:
> 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
> 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users

-- 
************************************************
  Dylan Keon
  GIS/Database Research Specialist
  Northwest Alliance for Computational
  Science and Engineering (NACSE)
  Oregon State University
  Corvallis, OR 97331
  keon at nacse.org        (541) 737-6608
************************************************




More information about the MapServer-users mailing list