1. A concise explanation of the problem you’re experiencing.
After rendering lidar point cloud, my objective is to be able to mouse pick the objects in it, like signposts etc.
Is it possible ,and are tutorials available for same?
2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.
3. Context. Why do you need to do this? We might know a better way to accomplish your goal.
4. The Cesium version you’re using, your operating system and browser.
Hey again Manish,
Yes feature selection is possible with point clouds, but the pnts file needs to include a BATCH_ID attribute (listed here: https://github.com/AnalyticalGraphicsInc/3d-tiles/tree/master/TileFormats/PointCloud#point-semantics).
You can look at an example tileset included in Cesium that does this: https://github.com/AnalyticalGraphicsInc/cesium/tree/master/Specs/Data/Cesium3DTiles/PointCloud/PointCloudBatched
If the lidar data has classification data it should get passed along when running through the ion point cloud converter. I can double check the data you sent me before.
Thanks for the reply.
I would check abt classification data in my lidar data.
After rendering a point cloud which has objects in it, like signposts,speed signs,road rails etc…can we implement a behaviour so that use can draw bounding volumes of these objects by mouse picking?Is API there in CeisumJS for implementing this behaviour?And how much does a programmer need to know internals of 3DTiles contents to implement it?
Check out ClassificationPrimitive. Example: https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/?src=Classification.html&label=Tutorials. Is that the type of thing you’re looking for?
CesiumJS doesn’t come with drawing tools built-in but you could use viewer.scene.pickPosition as a start. The simplest version would be to get the pick position and then create a spherical classification primitive around that position. Knowledge of 3D Tiles internals is not required.