Question

3D Building appearance setting by attribute

  • 14 December 2018
  • 2 replies
  • 5 views

Hi

I wanna try to convert building footprint shape file to cesium 3dtiles

Building footprint shape file has attribute of Building Floor information

Attribute field name is 'GRO_FLO_CO'

Check it under image

and i need to attach shape to DEM

I use 'SurfaceDraper' and Extruder from floor attribute.

I want to display different color of 3D building surface according to building floor.

I use appearanceStyler and AppearanceSetter but they didn't work.

Only AppearanceSetter Work.

This is my Workbench

<Workbench overview>

 

<AppearanceStyler Setting>

 

<AppearanceSetter Setting>

 

<Result cesium3dtile> -

Though i set 3 different condition and color but only one color applied


2 replies

Userlevel 2
Badge +17

Try setting an ID attribute unique for each feature to the Group By parameter in the AppearanceSetter. If the input features don't have ID attribute, you can use the Counter to add temporary ID to them.

Try setting an ID attribute unique for each feature to the Group By parameter in the AppearanceSetter. If the input features don't have ID attribute, you can use the Counter to add temporary ID to them.

OK. I will try it!!

Reply