集思学院 ? 查看主题 - 【原创】如何安装MapServer 4.4.1的Windows...

来源:百度文库 编辑:神马文学网 时间:2024/04/30 03:41:31
【原创】如何安装MapServer 4.4.1的Windows版及学习手册
opensource的webgis软件
版主:wlx
发表回复

7 篇帖子 • 分页: 1 / 1
举报此文章
引用回复
【原创】如何安装MapServer 4.4.1的Windows版及学习手册
由hellogis2 于 2005-03-20 15:38
如何安装MapServer 4.4.1的Windows版及学习手册
1 下载MapServer 4.4.1的Windows版
http://mapserver.gis.umn.edu/win32bin/ms441pg.zip
2 下载MapServer 4.0 Tutorial
http://terrasip.gis.umn.edu/projects/tutorial/tutorial.zip
3 建立MapServer目录在C盘.
4 将ms441pg.zip解压,放在MapServer内.
5 将C:\MapServer\bin内的mapserv.exe拷贝到c:\Inetpub\Scripts内.
6 将C:\MapServer\Proj目录到C:\内.(Proj连目录名称,并不是Proj内的所有资料)
7 将C:\MapServer\bin内的所有dll的文件,拷贝到C:\Windows\system32内
(即是bgd.dll, dal12.dll, hd420m.dll, hm420m.dll, iconv.dll, libcurl.dll, libmap.dll,
libpq.dll, NCScnet.dll, NCSEcw.dll, NCSEcwC.dll, NCSUtil.dll, pdflib.dll, proj.dll,
xerces-c_1_7_0.dll拷贝到C:\Windows\system32内)
8 将Tutorial.zip解压,放在C:\Inetpub\wwwroot内
9 执行Internet Information Services
启动在树将目录的"预设的Web站台"
10 测试MapServer
打开Internet Explorer,在Address栏内输入
[url]http://localhost/scripts/mapserv.exe然后按Enter[/url]
若果正常,在Internet Explorer内会看到No query information to decode. QUERY_STRING not set.
11 执行记事本(或其他文书Editor程式).
12 选"档案->开启旧档"
在档名栏内输入
C:\Inetpub\wwwroot\tutorial\example1-1.html
选"编辑->取代"
输入下面资料
寻找目标: /cgi-bin/mapserv40
取代为:  /Scripts/mapserv.exe
按全部取代按钮
输入下面资料
寻找目标:http://terrasip.gis.umn.edu/
取代为:http://localhost/
按全部取代按钮
输入下面资料
寻找目标: map=/data/projects
取代为:  map=C:/Inetpub/wwwroot
按全部取代按钮
选"档案->存档"
13 最后在Internet Explorer,在Address栏内输入
http://localhost/tutorial/example1-1.html
这时你会看到这个tutorial的第一个教程及地图显示在Internet Explorer内,你只要将所有tutorial内的教程,按照第12个步骤,
就可以顺利执行这些教程.
这些步骤希望对你们有用,因为我用的是NT2000 Workstation版,所以可能在其他版本的Windows有些分别.