当前位置:网站首页>Cesium loads terrain data (cesiumlab makes terrain data), from source data to terrain service
Cesium loads terrain data (cesiumlab makes terrain data), from source data to terrain service
2022-04-22 08:41:00 【Gisleung】
Catalog
4 Use tomcat Release (Nginx You can wait )
5 cesium Using terrain services in
Hand to hand teach you : How to be in cesium Load your own terrain data
1 Download terrain data (DEM)
Download address : Geospatial data cloud (gscloud.cn)
step 1: Enter advanced search 
step 2: Choose a dataset

step 3: Select area

step 4: Download one by one

2 Splicing data , And cut
The downloaded data is a compressed package , After decompression , stay ArcGIS Middle splicing 、 tailoring ( You can also choose other software )

Splicing , tailoring


3 ceiumlab Terrain slice
Simple slicing operation : Select the output of the previous clip dem_clip.tif
Terrain slice results
4 Use tomcat Release (Nginx You can wait )
Slice the results ( Folder YiChangShi) Copy to tomcat Of webapps Under the document , Start the service , Record the access address http://localhost:7080/YiChangShi/
5 cesium Using terrain services in
Load directly when initializing the map ( It can also be loaded afterwards )
window.viewer = new Cesium.Viewer('mapContainer', {
sceneMode: Cesium.SceneMode.SCENE3D,
infoBox: false, // Message box
selectionIndicator: false, // Green box
geocoder: false,// Whether or not shown geocoder Small device , Query button in the upper right corner
homeButton: false,// Whether or not shown Home Button
sceneModePicker: false,// Whether or not shown 3D/2D Selectors
baseLayerPicker: false,// Whether to display the layer selector
navigationHelpButton: false,// Whether to display the help button in the upper right corner
animation: false,// Whether to create animated gadgets , Instrument in the lower left corner
timeline: false,// Whether to display the timeline
fullscreenButton: false,// Show full screen button or not
// imageryProvider: tdtImageryProvider, // Sky map
terrainProvider: new Cesium.CesiumTerrainProvider({
url:"http://localhost:7080/YiChangShi/",
minimumLevel: 0,
maximumLevel: 15,
}),
});
Loading effect

版权声明
本文为[Gisleung]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204220742073297.html
边栏推荐
- Simple use of fresco - simpledraweeview
- 94. Middle order traversal of binary tree (easy)
- Client server communication project 1
- express项目将jade模板改为art-template
- The fluent modul class and JSON are converted to each other
- Seven crimes of hackers in social engineering -- hooking
- 链表打印(链表反转输出)
- kubernetes—pod详解
- Another upper triangle number triangle
- 秋招求职总结分享
猜你喜欢
随机推荐
236. The nearest common ancestor of a binary tree (medium)
[paper reading] [3D target detection] pvgnet
Action inattendue dans une instruction SQL
Client server communication project 2
String replacement
Teach you how to realize the pull-down refresh and pull-up load of recyclerview
Hollow letter pyramid
SQL 語句中 “意想不到” 的操作
1315. Sum of nodes with even grandfather node value (medium)
kubernetes学习笔记
1315. 祖父节点值为偶数的节点和(Medium)
第3关:节点状态检查、数据查看和更新
客户端与服务器通信项目5:C语言实现ls命令
JMU enumeration weekday
kubernetes—pod详解
第1关:继承
SQL database multiple choice question (2)
100. Same tree (easy)
Level 3: node status check, data view and update
Stream 流的使用











