MapGuide 的在项目中运用的简单说明及安装与配置

一.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

    正常的时候会收到:

  

MapGuide Agent
[01/Jun/2007:09:29:10 +0800] The Autodesk MapGuide CGI MapAgent (version 6.3.1.3) 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 ate@163.com
 
MapGuide Server #1 [Local]
[01/Jun/2007:09:29:10 +0800] The Autodesk MapGuide Server (version 6.3.1.3) is running and ready to accept your requests.(0).
 
If you need more assistance, please contact the Autodesk MapGuide Server Administrator at ate@163.com

  

错误情况下会出现:
MapGuide Agent
[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.
 
错误信息会提示,MapGuide Server没有找到。
问题原因:这是由于WINDOWS SP2 加强了对DCOM组件的安全限制所引起的。
方法一:修改IIS属性
在IIS管理器中找到mapagent.exe所在的虚拟目录,打开属性,在“目录安全性”中选择“集成Windows身份认证”
方法二:修改DCOM的安全属性
1.              打开DCOM管理,在运行中输入“dcomcnfg”
2.              在打开“组件服务”-> “计算机” -> “我的电脑” -> “DCOM” 配置

找到AutoDesk MapGuide Server ,点右键,选择“属性” -> “安全性” 里面 “启动和激活权限” 里面选择 “自定义”,添加 “IUSR”用户的本地启动与激活权限。

OK ,全都配置好了之后,就可以开始你的MAP之旅了 ^_^ 。

n
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值