自己电脑上安装了ms4w,版本也支持wms server,也根据教程编辑了自己的mapfile文件,其中web标签中如下定义:
metadata
"wms_title" "WMS china Demo Server"
"wms_version" "1.1.1"
"wms_onlineresouce" "http://127.0.0.1/cgi-bin/mapserv.exe?map=mytest.map&"
"wms_enable_request" "*"
"wms_srs" "EPSG:4326"
end
然后在浏览器测试这个wms server:http://127.0.0.1/cgi-bin/mapserv.exe?map=mytest.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities
结果浏览器提示 下载mapserv.exe?不知道哪个环节出现问题了,希望有大神帮忙解决,万分感谢!
MapServer如何建立自己的WMS Server
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-
2条回答 默认 最新
zhanli 2018-04-02 08:23关注did you go through the steps at: http://mapserver.org/ogc/wms_server.html
try someting like this: http://127.0.0.1/cgi-bin/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities
解决 无用评论 打赏 举报