Writer Notes

Creation of the <name> element

In most cases, the kml_name attribute is used to specify the name of the <Feature>. If the kml_name attribute is not present, the fme_text_string attribute, or the feature’s id will be used.

Creation of the <description> element

There are several writer operations that affect how the description field is constructed.

If the FME attribute kml_description_text is present, its value will be used for the description field (that is, no further processing will take place).

If the FME attribute kml_description is present, its value will be inserted into the description field.

If the Create Attribute Table in Description Balloon parameter is enabled, a table of the features user-defined attributes will be added to the description field.

To add raw HTML to the description, use the kml_description_raw_text format attribute.

If the Use HTML in Description Balloon parameter is enabled, the entire description field will be wrapped in a CDATA block that facilitates the inclusion of HTML in a XML document.

KML Attribute Table

The default header for the KML attribute table header is Attribute. To define a new header, expose the format attribute: kml_attribute_table_title. Leave it blank to set a blank header, set it to a new name. If you do not expose the format attribute, the header title will default to Attribute.