Hi everyone,
I’m trying to display a classified point cloud where each class has its own color
for some reason cesium can’t access point classes above 21
here is my code:
tileset_Trimming.style = new Cesium.Cesium3DTileStyle({
pointSize : document.getElementById('pointSize-slider').value,
show : "${POSITION}.z >=" + String(document.getElementById('viewRange-min').value) + "&& ${POSITION}.z <=" + String(document.getElementById('viewRange-max').value), // Section
color: { //Color conditions
conditions: [
// ["${Classification} === 3 ", "color('GRAY')"]
["${Classification} >= " + 21, "color('" + String(document.getElementById('pole_col_sel').value) + "')"], // #pole -> 21 #wire -> 11
["${Classification} === 11 ", "color('" + String(document.getElementById('wire_col_sel').value) + "')"], // wire
["true", "${COLOR}"]
]}
});
}
Points from classes 32 - 41 are not being affected.
What can be the cause of this problem?