Skip to main content
Question

I would like to know how to set up color by attribute value, for example, Green: 0 to 1, Yellow: 1 to 2, Red: 2 to 3.

  • August 21, 2023
  • 1 reply
  • 117 views

I am creating a workspace converting from shapefile to cesium 3Dtiles. The workspace is completed, but it can not set the color by values of specific attribute. I am trying to use "AppearanceSetter" or "FeatureColorSetter" but it won't allow to set various values of one attribute by colors like value 0-1:Green, value 1-2:yellow, value 2-3:Red. I'm new to FME, so if you don't mind, please kindly help me out how to set up. Thank you.Screenshot2023Aug22

1 reply

ebygomm
Influencer
Forum|alt.badge.img+33
  • Influencer
  • August 22, 2023

You could use an AttributeValueMapper followed by an AppearanceStyler to set colours based on the value of an attribute, then you can set the appearance to the 3D geometry with the AppearanceSetter

 

image


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings