Skip to main content
Solved

Create CityGML trees from points


limo
Supporter
Forum|alt.badge.img+8
  • Supporter

Hi all,

 

I will create trees[citygml] based on point geometry. On the internet I found this tutorial: https://hub.safe.com/publishers/con-terra/templates/citygml-create-solitaryvegetationobject-with-implicit-representation

 

Unfortunately *SKP format is not supported for my fme version. So I have tried it with obj models. But this doesnt work for me! I got this rejection code:

INVALID_SHARED_ITEM(SharedItemIDSetter). How can I solve this problem?

 

Workflow:

image

Best answer by virtualcitymatt

Hmm, the shartedItem stuff only really works if you turn off Feature Caching. Can you try turning off feature cashing and see if that helps?

View original
Did this help you find an answer to your question?

5 replies

virtualcitymatt
Celebrity
Forum|alt.badge.img+35

Hmm, the shartedItem stuff only really works if you turn off Feature Caching. Can you try turning off feature cashing and see if that helps?


limo
Supporter
Forum|alt.badge.img+8
  • Author
  • Supporter
  • July 4, 2022

Yeah it works :). Sometimes the solution is very close. I didnt know that FeatureCaching has an influence of the project. During the development we use it mainly. Good to know thanks @virtualcitymatt​ 

image


limo
Supporter
Forum|alt.badge.img+8
  • Author
  • Supporter
  • July 4, 2022

Do you maybe know if it is possible to add a color? Maybe AppearanceStyler-> AppearanceSetter? Something like this to make the trees green?


virtualcitymatt
Celebrity
Forum|alt.badge.img+35
limo wrote:

Yeah it works :). Sometimes the solution is very close. I didnt know that FeatureCaching has an influence of the project. During the development we use it mainly. Good to know thanks @virtualcitymatt​ 

image

Nice - Yeah the sharedItemID must be set and picked up in the same run. The ID's get lost at the end of each run. It's the same with the VariableSetter and VariableRetreiver

 

 


virtualcitymatt
Celebrity
Forum|alt.badge.img+35
limo wrote:

Do you maybe know if it is possible to add a color? Maybe AppearanceStyler-> AppearanceSetter? Something like this to make the trees green?

Yeah, best would be to have an obj which already has color. AppearnceSetter should work


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