# How to get pointcloud property?

**URL:** <https://community.cesium.com/t/how-to-get-pointcloud-property/14552>\
**Category:** CesiumJS\
**Created:** [July 23, 2021, 7:23am UTC](https://community.cesium.com/t/how-to-get-pointcloud-property/14552 "2021-07-23T07:23:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zyy1987](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/zyy1987/32/3458_2.png) [@zyy1987](https://community.cesium.com/u/zyy1987)\
**Post date:** [July 23, 2021, 7:23am UTC](https://community.cesium.com/t/how-to-get-pointcloud-property/14552/1 "2021-07-23T07:23:24Z")

</div>

my .las file have classification property，conversion 3DTiles，how to get classification property？

---

<div class="post-metadata">

**Author:** ![janine](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/janine/32/5135_2.png) [@janine](https://community.cesium.com/u/janine)\
**Post date:** [July 23, 2021, 3:19pm UTC](https://community.cesium.com/t/how-to-get-pointcloud-property/14552/2 "2021-07-23T15:19:02Z")

</div>

Hi @zyy1987,

We have a Sandcastle demo that demonstrates this functionality here: [Cesium Sandcastle](https://sandcastle.cesium.com/?src=3D%20Tiles%20Point%20Cloud%20Classification.html). In particular, this block of code is responsible to assigning points of the point cloud different colors depending on their `id`:

```auto
classificationTileset.style = new Cesium.Cesium3DTileStyle({
  color: {
    conditions: [
      ["${id} === 'roof1'", "color('#004FFF', 0.5)"],
      ["${id} === 'towerBottom1'", "color('#33BB66', 0.5)"],
      ["${id} === 'towerTop1'", "color('#0099AA', 0.5)"],
      ["${id} === 'roof2'", "color('#004FFF', 0.5)"],
      ["${id} === 'tower3'", "color('#FF8833', 0.5)"],
      ["${id} === 'tower4'", "color('#FFAA22', 0.5)"],
      ["true", "color('#FFFF00', 0.5)"],
    ],
  },
});

```

Let me know if you need further assistance!

Best,  
Janine

---

<div class="post-metadata">

**Author:** ![zyy1987](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/zyy1987/32/3458_2.png) [@zyy1987](https://community.cesium.com/u/zyy1987)\
**Post date:** [July 26, 2021, 6:21am UTC](https://community.cesium.com/t/how-to-get-pointcloud-property/14552/4 "2021-07-26T06:21:32Z")

</div>

Thank you for your reply！  
knew it in advance for id property，i want get property when load 3DTiles，get property from 3DTiles。
