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. I.e. 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 “ATTR_IN_DESCRIPTION” preference 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 “HTML_DESCRIPTIONS” preference is enabled, the entire description field will be wrapped in a CDATA block that facilitates the inclusion of HTML in a XML document.