[Mapserver-users] GIS Student needs help
Krung Saengpole
krung at cad.go.th
Fri Mar 14 16:49:22 PST 2003
George,
Also you have to change src attribute to use your mapserver program with your platform, e.g.
<img .... src="/cgi-bin/mapserv.exe?map=.....">
because in Windows, mapserver program is mapserv.exe. Demo setting is for *n*x.
Krung
>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"
More information about the MapServer-users
mailing list