Skip to main content
Question

How to make a texture or an image as an appearance on 3d Walls or floors for KML writer files ???


Forum|alt.badge.img

I tried using Appearance setter for KMLwriter but didnt able to get the result. Appearance setter worked for CityGML output but not for KML output.

3 replies

whkarto
Contributor
Forum|alt.badge.img+14
  • Contributor
  • November 30, 2016

You need to make sure that your geometry is some sort of mesh and that you're writing kmz files not kml itself. You should also introduce an AppearanceStyler prior to the AppearanceSetter for defintion of your texture information.

Textured objects are stored as collada files that are referenced and placed by a master kml file. The FME OGCKML Writer is able to write such kmz files. Make sure that in Advanced settings of KML writer the parameter "Write 3D Geometry As Polygons" is set to "no". This triggers the collada/kml writing.


kennyo
Supporter
Forum|alt.badge.img+26
  • Supporter
  • August 14, 2022

Is it possible for kml file to inherit values from a raster/vector image as well when draping it to the feature?


evieatsafe
Safer
  • Safer
  • August 19, 2022
kennyo wrote:

Is it possible for kml file to inherit values from a raster/vector image as well when draping it to the feature?

Hi @kennyo​ what type of values or attributes are you looking to inherit/keep when draping an image onto features?


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