User-Defined Feature Type Parameters
The following parameters can be specified for user-defined features. They do not apply to writer-specific feature type names, such as “Placemark” or “Folder”.
DEF line parameters that affect Placemark styling correspond to a single <Style> element that will be created for each feature type. All features with that feature type will have their <styleUrl> element set to refer to the feature type <Style> element. Note: if a given feature already has a kml_style_url attribute, its value will take precedence.
Name |
Value |
KML21_DOCUMENT_FILENAME |
The name of the file that will be used to store all the features of the feature type. |
KML21_SORT_BY_ATTRIBUTE |
The name of the attribute that will be used to sort features within the folder that corresponds to the feature type. Only applies to user-defined feature types. If unspecified, the order of the features will be in the original arrival order. |
KML21_OPACITY |
Specifies the opacity of both the fill and pen colors. Valid values are 0 to 1. |
KML21_PEN_OPACITY |
Specifies the pen opacity. Valid values are 0 to 1. |
KML21_FILL_OPACITY |
Specifies the fill opacity. Valid values are 0 to 1. |
KML21_FILL_COLOR |
Specifies the fill color. Valid values are any fme color specification. |
KML21_PEN_COLOR |
Specifies the pen color. Valid values are any fme color specification. |
KML21_INFORMATION_POINT_ICON |
Specifies the information point icon to use for each feature. |
KML21_ICON_COLOR |
Specifies the color for each information point icon. Valid values are any fme color specification. |
KML21_LABEL_COLOR |
Specifies the label color. Valid values are any fme color specification. |
KML21_CREATE_FOLDER_FOR_FEATURE_TYPE | Specifies whether or not features of this type should be contained in a folder. If this parameter is set to ‘no’, features of this type will be contained by the top level <Document> node. |
In addition, the following parameters override the corresponding writer parameters for the specified feature type:
KML21_ATTR_IN_DESCRIPTION KML21_HTML_DESCRIPTIONS KML21_RASTER_MODE KML21_RASTER_FORMAT KML21_RASTER_COMPRESSION_LEVEL KML21_INFORMATION_POINT_ICON KML21_COPY_ICON