Skip to main content

I created trees in citygml based on point data. The tutorial is described here:

https://hub.safe.com/publishers/con-terra/templates/citygml-create-solitaryvegetationobject-with-implicit-representation

Workflow:

imageResult:

image 

No I will set a color for this trees. Unfortunately it is not working with appearance setter. No appearance is set inside citygml file. In the description it is written: "

tree models: can be any kind of 3D object (Sketchup, OBJ, DWG, ...) but currently does not work with geometry containing color appearances" So does anyone know if this is possible maybe? We need to color this trees

 

Hope someone has ideas how to solve this kind of problem?

Hi @limo​ ,

Maybe it can solve your problem. It's SurfaceColorSetter. You can set color of your models by using this transformator. I wonder your result.

Thanks.


thanks for your hint but also not working with geometrycolorsetter or featurecolorsetter.


Try setting the color at the beginning of the workflow - Just after reading the model - If you add color to the model before using the SharedItemAdder it will become part of the shared item.

 

To test you can try a simple workspace where you read the model, use the AppearanceSetter and then just run the model into the data inspector


Try setting the color at the beginning of the workflow - Just after reading the model - If you add color to the model before using the SharedItemAdder it will become part of the shared item.

 

To test you can try a simple workspace where you read the model, use the AppearanceSetter and then just run the model into the data inspector

@virtualcitymatt​ good to know thanks

So to set the color after reading the model is working:

image" data-fileid="0694Q00000Is765QAB 

If I try this with the current workflow the citygml looks good. I can see green trees in fme datainspector :)

image" data-fileid="0694Q00000Is76ZQAR 

But I cant see the color inside FZKViewer (V.6.3). This is strange.


Reply