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 |
Seekml_documentabove. |
kml_attr_in_description |
OverridesATTR_IN_DESCRIPTIONsetting for the feature. |
kml_html_descriptions |
OverridesHTML_DESCRIPTIONSsetting for the feature. If enabled, a CDATA wrapper will be added to the description, snippet, and balloon text elements. |
kml_detect_rasters |
OverridesDETECT_RASTERSsetting for the feature. |
kml_raster_mode |
OverridesRASTER_MODEsetting for the feature. |
kml_raster_compression_level |
OverridesRASTER_COMPRESSION_LEVELsetting for the feature. |
kml_icon |
OverridesINFORMATION_POINT_ICONsetting for the feature. |
kml_copy_icon |
OverridesCOPY_ICONsetting 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 theTARGET_HREFsetting. |
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 thekml_additional_files{}.pathattribute 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. 如果href为空,将copi源文件ed into the same folder as the dataset root file. |