Export To Google Earth
(See
important information here)
This function is not available via the GUI of ET GeoWizards.
Converts a feature class to a Google Earth KML or KMZ file. Available only in the ToolBox implementation. See also the Map to Google Earth function available via the user interface.
Command line syntax
ET_GPExportToGoogleEarth <input_dataset> <out_file> {KML_Description} {label_field} {description_field} {transparency} {Z_Source} {z_field} {z_constant} {z_units} {z_type} {extrude_geometries} {attributes} {marker_symbol} {marker_scale} {line_width} {export_info_points} {info_symbol} {info_scale} {coordinate_precision}
Expression | Explanation |
---|---|
<input_dataset> | A feature class or feature layer |
<out_file> | A String - the full name of the output Google Earth file. The extension (KML or KMZ) is required and will define whether the result will be compressed (KMZ) or not (KML). |
{KML_Description} | A String that will be used for a general description of the KML file. |
{label_field} | A String representing a field name. The values in this field will be used for naming the Google Earth features. |
{description_field} | Required. A String representing a field name. The values in this field will be used for description of the Google Earth features. Read the general Google Earth notes. |
{transparency} | A Double indicating the transparency to be used. 0 = Opaque, 100 = invisible |
{Z_Source} | A String indicating what will be the source for the elevation values.
Valid strings:
|
{z_field} | A String representing a field name (numeric field). If the Z_Source = "Field ", the values in this field will be used to get the Z values. |
{z_constant} | A Double representing the Z values for all features if Z_Source = "Constant" |
{z_units} | A String indicating the units of the Z values of the input dataset. Valid strings - "Meters" and "Feet". |
{z_type} | A String indicating how the Z values will be interpreted. Valid strings:
|
{extrude_geometries} | A Boolean indicating whether to connect the geometry to the ground. |
{attributes} | A String that indicates whether and how the attributes will be exported.
Valid strings:
|
{marker_symbol} |
A String indicating which of the available Google Earth symbols will be
used for point features. The available symbols are: |
{marker_scale} | A Double indicating the size of the Icon for the point features. Actually this is a scale factor for the Google Earth markers - values of 0.5 to 1.5 will give good results. |
{line_width} | A Double representing the width of the Polyline features and outline width for Polygon features |
{export_info_points} | A Boolean indicating whether the Info-Points will be exported. |
{info_symbol} | A String indicating which of the available Google Earth symbols will be used for displaying Info-Points. The available symbols are above. |
{info_scale} | A Double indicating the size of the Icon for the Info-Points. Actually this is a scale factor for the Google Earth markers - values of 0.5 to 1.5 will give good results. |
{coordinate_precision} | An Integer representing the number of digits after the decimal point for exported coordinates. |
Scripting syntax
ET_GPExportToGoogleEarth (input_dataset out_file KML_Description label_field description_field transparency Z_Source z_field z_constant z_units z_type extrude_geometries attributes marker_symbol marker_scale line_width export_info_points info_symbol info_scale coordinate_precision)
See the explanations above:
<> - required parameter
{} - optional parameter
Copyright © Ianko Tchoukanski |