ArcGis Server(2) - ArcMap发布动态图层,
通过ArcMap发布地图服务到ArcGis Server后,可通过ArcGis For JavaScript调用发布的图层服务。
环境:
ArcMap 10.2
ArcGis Server 10.2 安装教程,破解教程(内含安装包): ArcGis Server 安装教程,亲测有效
文件:
SHP:shape文件由ESRI开发,一个ESRI(Environmental Systems Research Institute)的shape文件包括一个主文件,一个索引文件,和一个dBASE表。其中主文件的后缀就是.shp 下载链接:China 31省区域数据 提取码:siom
提取码:siom
1.打开ArcMap

2.新建空白地图

3.下载SHP文件,进入上面百度云链接下来文件,下载好是一个压缩包文件,我们将它解压。

4.添加数据(上面下载的测试文件.SHP文件)

5.链接文件夹

6.选择31省数据(province.shp)


7.添加ArcGis Server 服务

8.选择发布GIS服务

9.写入ArcGis Server 地址以及用户名密码,这边的信息我们在上一篇中有提到
ArcGis Server 10.2 安装以及配置

10.添加完成后会在GIS 服务器下方增加自己刚才添加的服务器。

11.现在可以发布服务了,点击 文件->共享为->服务

12.选择发布服务

13.选择刚才添加的服务器,取一个地图服务的名称 这里以test01为例

14.选择服务存放目录,这里可以随意选择。这边我建了一个叫ArcMap的文件夹

15.服务编辑器页面,这边可以编辑一些图层的信息,

16.发布动态图层还是切片图层就在这里选择

17.配置完成后点击右上方的分析这边会监测出图层的一些错误或者警告。

18.这边没有严重性达到不可发布的错误,所以我们后续再处理。

19.点击发布

20.发布成功

21.我们登录上服务器,就可以看到我们发布的地图服务了。


后续会出使用ArcGis For Javascript 和 OpenLayers使用该图层的文章,希望能帮助大家更多的了解gis有问题或者建议可以留言评论哟~