Skip to main content


Greetings FME Community!

I have a CityGML of buildings [1] and I want to attach new textures to the roof surfaces.

The Appearance should be a texture based on a specific GeoTIFF that was generated for every buildings.

Every GeoTIFF has the CityGML feature unique id as name. I don’t find a way to save every texture in the FMELibray and, mostly, retrieve the right Appearance for every feature of the CityGMLd to

I think this should be related to the AppearanceSetter r2] settings or SharedItemRetriever r3], but I can't figure how to use them properly.

 

Kind regards,

 

>1] http://donnees.ville.montreal.qc.ca/dataset/maquette-numerique-plateau-mont-royal-batiments-lod2-avec-textures

>2] https://docs.safe.com/fme/2017.1/html/FME_Desktop_Documentation/FME_Transformers/Transformers/appearancesetter.htm

>3] https://docs.safe.com/fme/2017.1/html/FME_Desktop_Documentation/FME_Transformers/Transformers/shareditemretriever.htm

Hi @jeandenis, this workflow illustrates how you can register rasters to the FME Library, retrieve one of them according to its name (unique id), and then map it to surface features as a texture appearance.

However, depending on the scenario, this workflow could work as well.

Hope this helps.



Thank you @takashi !

The variable usage is quite insightful.

I only try the first solution because it seems much more generic than the second.

Best regards,


Reply