当前位置:网站首页>Cesium加载正射影像方案
Cesium加载正射影像方案
2022-06-23 09:10:00 【Gisleung】
Cesium加载正射影像方案
步骤1:准备高清正射影像图

准备一幅品质优良的正射影像图:
- 影像格式为 *.tif ,如:
D:\Users\gisleung\Desktop\cesium加载正射影像方案\01 测试正射影像\new_file.tif - 须包含正确坐标系
步骤2:安装CesiumLab工具
- 官网下载地址:Cesium实验室官网 (cesiumlab.com)
- 安装后需要登录

步骤3:使用工具对影像进行切片
- 选择正射影像,如:
D:\Users\gisleung\Desktop\cesium加载正射影像方案\01 测试正射影像\new_file.tif - 设置参数(一般默认)
- 存储类型选择散列
- 选择输出路径,如:
D:\Users\gisleung\Desktop\cesium加载正射影像方案\03 输出瓦片\tempTiles - 提交处理,等待处理完成


步骤4:通过web服务器发布瓦片

- 将瓦片目录(
tempTiles)拷贝至web服务器,如:nginx发布路径 - 提供瓦片目录访问地址,作为服务地址,如:
http://80.150.231.160:8888/webdata/maptile/tempTiles
步骤5:在Cesium中加载正射影像瓦片
- 扩展服务地址:如:
http://80.150.231.160:8888/webdata/maptile/tempTiles/{z}/{x}/{y}.png - 通过以下代码即可实现在Cesium中加载影像
let domImage = new Cesium.UrlTemplateImageryProvider({
"url": "http://80.150.231.160:8888/webdata/maptile/tempTiles/{z}/{x}/{y}.png"
})
viewer.scene.imageryLayers.addImageryProvider(domImage)
- 加载结果

边栏推荐
猜你喜欢

【云原生 | Kubernetes篇】Kubernetes原理与安装(二)

Jog运动模式

使用base64,展示图片

swagger UI :%E2%80%8B

Redis学习笔记—持久化机制之RDB
![[learning resources] understand and love mathematics](/img/a3/e1b0915c48c85d17c48a4bee523424.png)
[learning resources] understand and love mathematics

Custom tags - JSP tag enhancements
Redis learning notes - single key management

JSP入门总结

Flink错误--Caused by: org.apache.calcite.sql.parser.SqlParseException: Encountered “time“
随机推荐
Redis learning notes - slow query analysis
Aiming at the overseas pet market, "grasshand" has developed an intelligent tracking product independent of mobile phones | early project
438. Find All Anagrams in a String
Embedded system overview (learning notes)
Redis学习笔记—主从复制
瞄准海外宠物市场,「Grasphand 」做了一款独立于手机的智能追踪产品 | 早期项目
node request模塊cookie使用
JSP入门总结
Combination sum of leetcode topic analysis
Combination sum II of leetcode topic analysis
MySQL故障案例 | ERROR 1071 (42000): Specified key was too long
2022-06-22:golang选择题,以下golang代码输出什么?A:3;B:1;C:4;D:编译失败。
Redis学习笔记—单个键管理
也无风雨也无晴
Leetcode topic analysis 3sum
ionic5錶單輸入框和單選按鈕
Map接口的注意事项
Flink error --caused by: org apache. calcite. sql. parser. SqlParseException: Encountered “time“
Typora设置图片上传服务
类型从属名称的使用必须以“typename”为前缀