当前位置:网站首页>Cesium realizes the monomer of buildings (divided into buildings and layers)
Cesium realizes the monomer of buildings (divided into buildings and layers)
2022-04-22 08:41:00 【Gisleung】
For a building, it is necessary to realize monomer :
1. First of all, it has its own advantages 3dtiles Model , Load into the scene ;
2. stay GIS In software , Create a face layer to outline the building vector contour ( An outline is called an element )
2.1 have access to ArcGIS perhaps QGIS Open the corresponding image , Sketch
2.2 If layered monomer is required , The floor height needs to be increased in the element 、 Building height attribute ( Used in cesium Draw the specified height and position in box)
remarks : If there are conditions , You can use energy to load osgb Software for , Directly outline the three-dimensional contour

3. The face layer drawn in the previous step ( It contains all the architectural elements that need to be monomer ), Publish as a service that can query elements
3.1 Can't write back-end code , Use geoserver Server Publishing wfs service .
3.2 Can write back-end code , Use postgis The database combines with the back-end code to realize the query service .
4. Click the target... In the scene , Obtain the longitude and latitude of the target point , Pass the first 3 Service query element information in step ,
remarks : If there are few elements , have access to turf Achieve target query ( No second 3 Step map service )
5. After the target element is queried , Construct a scene with classificationType Of entity perhaps primitive, Can achieve monomer ;
Refer to the official example :Classification - Cesium Sandcastle


6. By setting viewer.scene.invertClassification = true, You can also achieve the mask effect ;


I personally test the implementation process , It can meet the requirements of building separation, layering and monomer .
If you have questions about the steps , Please leave a message , Let me add more details .
版权声明
本文为[Gisleung]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204220742073092.html
边栏推荐
- OLED显示驱动
- 1315. Sum of nodes with even grandfather node value (medium)
- 101. Symmetric binary tree (easy)
- 第1关:继承
- leaflet、cesium加载百度地图,加载自定义样式百度地图
- The PS - EF query process PID in the shell script always returns an exception
- 客户端与服务器通信项目4
- ROM、RAM、SRAM、DRAM、Flash、SDRAM区别
- WeChat official account - webpage authorization
- 磁盘管理—RAID创建
猜你喜欢

129. 求根节点到叶节点数字之和(Medium)
![[paper reading] [3D object detection] voxel set transformer: a set to set approach to 3D object detection from point clouds](/img/49/255f46e44039500acf1c4a641f5c91.png)
[paper reading] [3D object detection] voxel set transformer: a set to set approach to 3D object detection from point clouds

shell笔记

CentOS 安裝 MySQL

Establishment of golang environment

C的动态内存管理

Installation de MySQL par CentOS

The fluent modul class and JSON are converted to each other

SQL 語句中 “意想不到” 的操作

Fluent listview loads more
随机推荐
二进制的前导的零
[paper reading] [3D target detection] pvgnet
社会工程学之黑客七宗罪——傲慢(Hooking)
Single page application(单页面应用)
1315. 祖父节点值为偶数的节点和(Medium)
Client server communication project 2
Flutter Foundation
The fluent modul class and JSON are converted to each other
SQL database multiple choice question (2)
Level 3: node quota and other commands
Cesium collects terrain height and model height (asynchronous method, suitable for more data)
JMU enumeration weekday
Level 1: node monitoring mechanism
Matlab tip: to use 'xxx function', you must authorize, install and enable the following products: XXX toolbox
94. Middle order traversal of binary tree (easy)
第2关:多态
mysql插入自由列
C的动态内存管理
Pointer and array (detailed operation)
面试题 04.03. 特定深度节点链表(Medium)