Question

KML Tessellation

  • 10 August 2018
  • 2 replies
  • 9 views

Badge

Hi,

I am writing out to KML using a FeatureWriter from a File Geodatabase and want to set the geometry of the polygons to not tessellate (default is for tessellation).

I have found the geometry tag but I am unable to figure out how to insert it into the workflow. I need to optimize a large dataset in google earth for less than ideal computers.

Thanks!


2 replies

Badge +7

Hi @dmerrick, thanks for the question!

 

Usually the kml_tessellate tag can be accessed from the Format Attributes (writer feature type parameters) in both the FeatureWriter and normal KML Writer. It seems you can turn it on in the FeatureWriter, but it doesn't do anything. Investigating that!

 

 

What you can do now:

 

 

Put down an AttributeCreator before your FeatureWriter, and create a new attribute "kml_tessellate". Set the value to '0' for off. That's been working for me so far. Another option would be to use the regular KML Writer, where kml_tessellate can be properly exposed in the writer's Format Attributes and then given a value of '0'.

 

Hope this helps!

 

Nathan
Badge

Hi @dmerrick, thanks for the question!

 

Usually the kml_tessellate tag can be accessed from the Format Attributes (writer feature type parameters) in both the FeatureWriter and normal KML Writer. It seems you can turn it on in the FeatureWriter, but it doesn't do anything. Investigating that!

 

 

What you can do now:

 

 

Put down an AttributeCreator before your FeatureWriter, and create a new attribute "kml_tessellate". Set the value to '0' for off. That's been working for me so far. Another option would be to use the regular KML Writer, where kml_tessellate can be properly exposed in the writer's Format Attributes and then given a value of '0'.

 

Hope this helps!

 

Nathan
Thanks @NathanAtSafe I thought I had something else wrong when I would turn on KML_Tessellate in featurewriter and nothing would happen.

 

I realized that by using the KMLPropertySetter parameters and turning off "Follow Terrain:" the polygons no longer tessellated since the default for Google Earth is to not tessellate.

 

Follow Terrain = Tessellate

 

Reply