Common Format Attributes

The following KML format attributes are common to most of the fixed schema feature types.

KML Format Attribute

Notes

kml_id

A unique string value that will be used by other elements/features to refer to this one.

kml_parent

The id of the parent Folder element. Does not apply to Document elements.

kml_document

The name of the document to which this feature belongs.

For Document features, this specifies the filename of the KML file for the document.

kml_tour

The ID of the Tour to which the node belongs.

kml_animated_update

The ID of the AnimatedUpdate element to which the node belongs.

kml_document_filename

See kml_document above.

kml_attr_in_description

Overrides ATTR_IN_DESCRIPTION setting for the feature.

kml_html_descriptions

Overrides HTML_DESCRIPTIONS setting for the feature. If enabled, a CDATA wrapper will be added to the description, snippet, and balloon text elements.

kml_detect_rasters

Overrides DETECT_RASTERS setting for the feature.

kml_raster_mode

Overrides RASTER_MODE setting for the feature.

kml_raster_compression_level

Overrides RASTER_COMPRESSION_LEVEL setting for the feature.

kml_icon

Overrides INFORMATION_POINT_ICON setting for the feature.

kml_copy_icon

Overrides COPY_ICON setting for the feature.

kml_sort_value

Specifies the value to use for ordering the feature within the parent container.

kml_document_href

The href from which the parent document was retrieved.

kml_document_path

The local path to the parent document. This path may be in a temporary location, and may become invalid upon the completion of the translation. By default, all temporary files are removed when the reader closes.

kml_raw_text

Raw XML text that can be added to contents of the feature's element.

kml_update_mode

Specifies the update mode for the feature. Values can be “create”, “change”, or “delete”.

kml_target_href

Overrides the TARGET_HREF setting.

kml_additional_files{}.path If a feature requires additional files to be included in the output dataset, set the source paths of the files in this list attribute.
kml_additional_files{}.href

This list attribute is only used if the kml_additional_files{}.path attribute is also set.

The entries in this list are the location to which the corresponding files in the path list should be copied. If the path is relative (for example, img/pic.jpg) the source file will be copied relative to the file containing the feature. If the path is absolute, (for example, /img/pic.jpg) the source file will be copied relative to the root file of the dataset.

If the href is empty, the source file will be copied into the same folder as the dataset root file.