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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章