ArcGIS Pro发布三维场景服务

1. 数据准备

高程数据(DEM),卫星影像数据(DOM)
可供下载数据的网站:

2. 创建项目

三维场景的话包括两种模式:Global SceneLocal Scene 。区别如下:

  • 前者表示球面模式,场景是在球体上渲染;后者是平面模式,场景在平面区域内渲染

不同场景模式

Global scenes render the earth as a globe, while local scenes render the surface on a flat plane. Local mode allows for navigation and feature display in a localized or clipped area.

  • 前者支持 WGS84(wkid: 4326)WebMercator(wkid:3857/102100) 座标系;后者支持所有投影座标系统(ArcGIS预定义好的座标系,非自定义座标系)

The SceneView supports following coordinate systems in a global scene:

  • WGS84 or WebMercator
  • Noncached layers with any spatial reference since they will be reprojected to the scene spatial reference

In a local scene the following coordinate systems are supported:

  • Any Projected Coordinate System
  • Noncached layers with any spatial reference since they will be reprojected to the scene spatial reference

因为我这边只想要一块区域的三维效果,选择创建 Local Scene :

3. 更换图层数据

创建后的初始页面如图所示:

把自带的图层都给删了,换上自己的图层数据:

4. 服务发布

发布服务之前需要先登录Portal或ArcGIS Online账户,否则 Share 菜单下的 WebScene 为灰色:

login

填写必要内容之后,先分析,再发布:

share

发布成功后,最后在浏览器中登录ArcGIS账户浏览服务:

参考链接

  1. https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#supported-coordinate-systems
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章