WebGIS之Cesium三维软件开发

news2024/11/15 21:54:23

目录

第 1 章 三维 WebGIS 概述 
1.1 Google Earth··································································································· 1 
1.2 SkylineGlobe ······································································································ 2 
1.3 LocaSpace Viewe································································································ 2 
1.4 Cesium ············································································································· 3
1.5 Cesium API 概要 ································································································ 4 
第 2 章 Cesium 快速入门 
2.1 Cesium 环境搭建 ·························································································· 7 
2.1.1 安装 Node.js 环境 ··························································································· 7 
2.1.2 配置 Cesium 依赖 ··························································································· 8 
2.2 搭建第一个 Cesium 程序 ················································································· 11 
2.3 界面介绍 ······································································································ 15 
2.4 默认控件介绍 ································································································ 16 
2.4.1 Geocoder ···································································································· 16 
2.4.2 HomeButton ································································································ 17 
2.4.3 SceneModePicker ·························································································· 17 
2.4.4 BaseLayerPicker ··························································································· 18 
2.4.5 NavigationHelpButton ···················································································· 19 
2.4.6 Animation ··································································································· 20 
2.4.7 TimeLine ···································································································· 20 
2.4.8 FullscreenButton ··························································································· 21 
第 3 章 Cesium 数据加载 
3.1 影像加载 ······································································································ 23 
3.1.1 Bing 地图 ··································································································· 23 
3.1.2 天地图 ······································································································· 25 
3.1.3 ArcGIS 在线地图 ························································································· 27 
3.1.4 高德地图 ···································································································· 27 
3.1.5 OSM 影像 ·································································································· 28 
3.1.6 MapBox 影像 ······························································································ 29 
3.2 OGC 地图服务 ····························································································· 30 
3.2.1 WMS ········································································································ 31 
3.2.2 WMTS ······································································································· 35 
3.2.3 TMS ········································································································· 38 
3.3 GeoJSON 数据加载 ························································································· 40 
3.4 KML 数据加载 ································································································ 40 
3.5 TIFF 数据加载 ·································································································· 41 
3.6 点云数据加载·································································································· 43 
3.7 地形数据加载 ·································································································· 45 
3.7.1 在线地形数据加载 ························································································ 45 
3.7.2 本地地形数据加载 ························································································ 45 
3.8 倾斜摄影模型数据加载 ····················································································· 49 
3.9 glTF 数据加载 ··································································································· 52 
3.10 CZML 数据加载 ······························································································ 53 
3.11 单张图片底图加载······················································································· 55 
第 4 章 Cesium 事件处理 
4.1 鼠标事件 ········································································································ 57 
4.1.1 鼠标左键事件 ······························································································ 58 
4.1.2 鼠标右键事件 ······························································································ 60 
4.1.3 鼠标移动事件 ······························································································ 62 
4.1.4 鼠标滚轮事件 ······························································································ 62 
4.2 键盘事件 ······································································································ 65 
4.2.1 SHIFT ······································································································· 65 
4.2.2 CTRL ········································································································ 66 
4.2.3 ALT ·········································································································· 66 
4.3 相机事件 ········································································································ 67 
4.4 场景渲染事件 ·································································································· 68 
4.4.1 preUpdate ··································································································· 69 
4.4.2 postUpdate ·································································································· 69 
4.4.3 preRender ··································································································· 69 
4.4.4 postRender ·································································································· 70 
第 5 章 Cesium 图形绘制 
5.1 坐标系统 ········································································································71
5.1.1 WGS-84 坐标系 ··························································································· 71 
5.1.2 世界坐标系 ································································································· 72 
5.1.3 平面坐标系 ································································································· 72 
5.1.4 坐标系统相互转换 ························································································ 73 
5.2 几何图形绘制 ································································································· 77 
5.2.1 Entity 绘制实体 ··························································································· 77 
5.2.2 Entity 绘制贴地图形 ····················································································· 89 
5.2.3 Entity 管理 ································································································· 96 
5.2.4 Primitive 绘制图形 ······················································································· 104 
5.2.5 GroundPrimitive 绘制贴地图形 ······································································· 118 
5.2.6 Primitive 管理 ····························································································· 123 
5.2.7 交互绘制 ··································································································· 127 
第 6 章 Cesium 三维模型
6.1 3D Tiles 模型高度调整 ····················································································· 135 
6.2 3D Tiles 模型旋转平移 ····················································································· 139 
6.3 3D Tiles 模型缩放 ····························································································· 145 
6.4 3D Tiles 模型单体化 ························································································· 149 
6.4.1 矢量图层制作 ····························································································· 150 
6.4.2 矢量数据切片 ····························································································· 153 
6.4.3 单体化实现 ························································································ 155 
6.5 3D Tiles 要素拾取 ·························································································· 158 
6.6 3D Tiles 要素风格 ························································································· 161 
6.7 3D 模型着色 ································································································· 168 
6.8 贴合 3D 模型 ······························································································· 176 
6.9 模拟小车移动 ································································································ 180 
第 7 章 Cesium 材质特效 
7.1 视频材质 ···································································································· 185 
7.2 分辨率尺度 ··································································································· 189 
7.3 云 ·············································································································· 192 
7.4 雾 ·············································································································· 196 
7.5 动态水面 ······································································································ 200 
7.6 雷达扫描 ······································································································ 202 
7.7 流动线 ········································································································· 206 
7.8 电子围栏 ······································································································ 210 
7.9 粒子烟花 ··································································································· 214 
7.10 粒子火焰 ································································································ 219 
7.11 粒子天气 ···································································································· 222 
第 8 章 Cesium 工具应用
8.1 场景截图······································································································· 229 
8.2 卷帘对比······································································································· 232 
8.3 反选遮罩 ······································································································ 236 
8.4 鹰眼视图 ····································································································· 238 
8.5 指南针与比例尺······························································································· 242 
8.6 坐标测量········································································································· 244 
8.7 距离测量 ········································································································ 249 
8.8 面积测量 ······································································································· 254 
8.9 热力图 ·········································································································· 260 
8.10 视频投影····································································································· 264 
8.11 日照分析······································································································· 268 
8.12 淹没分析 ······································································································· 271 
8.13 通视分析 ······································································································ 275 
8.14 可视域分析···································································································· 279 
8.15 缓冲区分析 ··································································································· 282 
8.16 地形开挖 ····································································································· 287 
8.17 要素聚合  ···································································································· 292 
8.18 开启地下模式 ······························································································· 296 
8.19 开启等高线    ································································································ 298 
8.20 坡度坡向      ·································································································· 301

8.21 填挖方量计算 ······························································································· 305 

获取PFD文件

回复  cesium开发  获取下载链接

 

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/2185201.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

【2006.07】UMLS工具——MetaMap原理深度解析

文献:《MetaMap: Mapping Text to the UMLS Metathesaurus》2006 年 7 月 14 日 https://lhncbc.nlm.nih.gov/ii/information/Papers/metamap06.pdf MetaMap:将文本映射到 UMLS 元数据库 总结 解决的问题 自动概念映射问题:解决如何将文本…

Vue3丨进一步了解这 20 个响应式 API,写码如有神

前面说的话 在 Vue2 中,个人觉得对于数据的操作比较 “黑盒” 。而 Vue3 把响应式系统更显式地暴露出来,使得我们对数据的操作有了更多的灵活性。所以,对于 Vue3 的几个响应式的 API ,我们需要更加的理解掌握,才能在实…

【MySQL】子查询、合并查询、表的连接

目录 一、子查询 1、单行子查询 显示SMITH同一部门的员工信息 2、多行子查询 in关键字 查询和10号部门的工作岗位相同的雇员的名字、岗位、工资、部门号,但是筛选出的雇员的部门不能有10号部门 all关键字 查询工资比30号部门中所有雇员工资高的雇员的姓名、…

TS(type,属性修饰符,抽象类,interface)一次性全部总结

目录 1.type 1.基本用法 2.联合类型 3.交叉类型 2.属性修饰符 1.public 属性修饰符 属性的简写形式 2.proteced 属性修饰符 3.private 属性修饰符 4.readonly 属性修饰符 3.抽象类 4.interface 1.定义类结构 2.定义对象结构 3.定义函数结构 4.接口之间的继…

postgresql|数据库|postgis编译完成后的插件迁移应该如何做(postgis插件最终章)

一、 本文的写作理由 postgis插件一般是编译安装,编译安装的原因是可以选择自己喜欢的版本,但编译的难度也是比较高的,因为有各种依赖,依赖之间还有依赖,非常容易形成依赖循环,因此,失败率是比…

【Python】CSVKit:强大的命令行CSV工具套件

CSVKit 是一个基于命令行的工具集,用于简化 CSV 文件的处理和管理。它提供了从数据转换、筛选、格式化到分析的全方位支持,特别适合需要处理复杂表格数据的用户。相比传统的 Excel 操作,CSVKit 更高效且功能更强大,非常适合数据分…

VSOMEIP代码阅读整理(1) - 网卡状态监听

一. 概述 在routing进程所使用的配置文件中,存在如下配置项目:{"unicast" : "192.168.56.101",..."service-discovery" :{"enable" : "true","multicast" : "224.244.224.245",…

线程和进程的关系和区别

目录 进程 概念 特点 生命周期 进程的通信 应用场景 线程 概念 特点 类型 状态 调度 应用场景 线程和进程的关系与区别 关系 区别 总结 僵尸进程 产生原因 解决方法 进程 概念 第一,进程是一个实体。每一个进程都有它自己的地址空间&#xff…

数字通信中不同信道类型对通信系统性能影响matlab仿真分析,对比AWGN,BEC,BSC以及多径信道

目录 1.算法运行效果图预览 2.算法运行软件版本 3.部分核心程序 4.算法理论概述 5.算法完整程序工程 1.算法运行效果图预览 (完整程序运行后无水印) 2.算法运行软件版本 matlab2022a 3.部分核心程序 (完整版代码包含详细中文注释和操作步骤视频&#xff09…

C0013.Clion中利用C++调用opencv打开摄像头

下载opencv https://opencv.org/get-started/ 直接官网下载opencv-4.9.0-windows.exe 安装opencv opencv配置环境变量 如上安装配置完成。

SpringBoot框架下的健康信息管理解决方案

第1章 绪论 1.1背景及意义 随着社会的快速发展,计算机的影响是全面且深入的。人们生活水平的不断提高,日常生活中人们对医院管理方面的要求也在不断提高,由于老龄化人数更是不断增加,使得师生健康信息管理系统的开发成为必需而且紧…

第三批安全可靠评测名单公布,几家欢喜几家忧

9月30号,赶在国庆长假之前,中国信息安全评测中心发布了《安全可靠评测结果公告(2024年第2号)》,测试结果自发布之日起有效期三年。 本期测试分为集中式数据库、分布式数据库和中央处理器三个大类,结果共有14家公司的16个产品入围&…

AI绘画实现数字人2D形象生成及3D数字人视频生成

概述 随着人工智能技术的不断进步,AI绘画已经成为数字艺术创作领域的重要工具。本章将详细介绍如何利用AI绘画技术生成数字人的2D形象,并进一步将其转化为3D数字人视频。通过一系列实践步骤和Python代码示例,您将能够掌握从平台使用到系统部…

计算机毕业设计之:音乐媒体播放及周边产品运营平台(源码+文档+讲解)

博主介绍: ✌我是阿龙,一名专注于Java技术领域的程序员,全网拥有10W粉丝。作为CSDN特邀作者、博客专家、新星计划导师,我在计算机毕业设计开发方面积累了丰富的经验。同时,我也是掘金、华为云、阿里云、InfoQ等平台…

看Threejs好玩示例,学习创新与技术(Noise)

给图像加一点噪声效果,可以起到朦胧背景的效果,比如下面这幅画。 除了普通的图片外,我们可以把这个效果应用到地图或其他方面,比如超过范围不允许用户了解更详细的内容。当然,也可以采用雾Fog效果,但后处理…

鸿蒙ArkUI实战开发-主打自研语言及框架

ArkUI 是 HarmonyOS 的声明式 UI 开发框架,而 ArkUI-X 是基于 ArkUI 框架扩展而来的跨平台开发框架。ArkUI-X 支持 HarmonyOS、OpenHarmony、Android 和 iOS 平台,允许开发者使用一套代码构建支持多平台的应用程序。 一、ArkUI-X 的实战开发步骤 在实战开…

(c++)在堆区创建一个数组并且访问与释放

在堆区创建一个数组,然后利用一个指针指向这个数组的首地址,通过这个指针来访问这个数组。 代码展示了三种赋值的方式: 1.直接利用数组访问赋值 2.利用循环结构(和1原理一样) 3.循环结构键盘输入赋值 然后输出这个…

Ray_Tracing_In_One_Weekend上

目标: 使用vscodeIDE编写代码,这是我的配置 学习这个教程,完成一个简易的光线追踪器开发 1输出PPM图像 在不使用 opengl (渲染图像)/ std_image.h(加载图像)等库的情况下,怎样通…

某信服, 一点底线都没有, 一点Face都不要

某些软件厂商, 仗着自己有点背景, 做出来的东西真的是流氓 !!! 铁子们, 这玩意儿怎么卸载呢?

CertiK《Hack3d:2024年第三季度安全报告》(附报告全文链接)

CertiK《Hack3d:2024年第三季度Web3.0安全报告》现已发布,本次报告深入分析了2024年7月至9月的链上安全状况,本季度总损失金额为7.53亿美元,网络钓鱼和私钥泄露是本季度造成资产损失的主要原因。 ​ 关键数据 2024年第三季度&a…