一.MapGuide 简要说明
MapGuide是在GIS 开发中运用比较广泛的一个工具。其主要的工作原理为:
MapGuide Server 中配置相关图像的数据信息,在Author打开图像后,将从Server中取得配置信息,来进行图像 的精确显示。
故在安装中,需要配置三个方面
1.服务器端与客户端的联通
2.服务器端的数据配置
3.服务器端的图像配置信息
这里将以在实际运用中的项目为例。
二安装 MapGuide Server 与安装 MapGuide Auther
依据于默认属性进行安装,安装过程不进行描述。
三. MapGuide Server 数据配置
在实际使用中,将依据于使用的需要配置 data sources里的信息,可以新建。在SDF与SHF中要进行数据的配置。
操作过程:打开 MapGuide Server Admin, 里面有FILE 选择,点击,出现PROPERTIES选项。打开选项,可以看到相关的信息配置选项。
四.MapGuide Server 服务mapagent.exe配置
在MapGuide 使用中, mapagent..exe是作为服务器对外提供服务的一个平台,客户端通过访问此程度来从服务器获得数据。
一般的网络应用中,在网站中新建一个虚拟目录,目录指向 mapagent..exe所在的目录。 mapagent..exe的虚拟目录路径在这里暂时记为:URL
四.Author数据配置
在Author中打开需要进行配置的图片,点图片里面的信息右键 “properties“ -> "data source "选项。
将Map server URL 里改为 上面第三步记为的 URL
五.服务器测试
在IE中输入 http://URL/mapagent.exe ? item = test
正常的时候会收到:
[14/Oct/2004:07:07:48 -0700] The Autodesk MapGuide ISAPI MapAgent (version 6.5.5.7) is running and ready to distribute your requests to 1 MapGuide Server(s).
If you need more assistance, please contact the Autodesk MapGuide Server Administrator at [clipped]
MapGuide Server #1 [Local]
[14/Oct/2004:07:07:48 -0700] Autodesk MapGuide Server could not be found. If you need more assistance, please contact your Autodesk MapGuide Server Administrator.
找到AutoDesk MapGuide Server ,点右键,选择“属性” -> “安全性” 里面 “启动和激活权限” 里面选择 “自定义”,添加 “IUSR”用户的本地启动与激活权限。
OK ,全都配置好了之后,就可以开始你的MAP之旅了 ^_^ 。