Google Key Markup .KML and .KMZ Export Automation Options

 

Since the Export Options dialog is not displayed when the program is driven from an automation script, an options string can be specified in the script. The string consists of comma-separated parameters, which specify the behavior of the various export options. A typical example would be:

 

 "Defaults=1,RenderText=1"

 

This would first set all export options to their default values, then convert the text to lines.

 

Option

Action

Default

Description

RenderMarkers

0 = No

1 = Yes

0

If set to 0, marker symbols will be output to the export file as marker objects. If set to 1, marker symbols will be output to the export file as lines and areas to retain the shape and look of the symbol.

RenderText

0 = No

1 = Yes

0

If set to 0, text will be output to the export file as text objects. If set to 1, text will be output to the export file as lines and areas to retain the shape and look of the font face.

ScalingSource

0 = previously saved

1 = application-supplied

1

Use previously saved or application-supplied scaling source.

SaveScalingInfo

0 = No

1 = Yes

0

Save scaling parameters for later use.

PageLLX

N.N

 

Set application page rectangle lower left X value.

PageLLY

N.N

 

Set application page rectangle lower left Y value.

PageURX

N.N

 

Set application page rectangle upper right X value.

PageURY

N.N

 

Set application page rectangle upper right Y value.

FileLLX

N.N

 

Set scaling rectangle lower left X value.

FileLLY

N.N

 

Set scaling rectangle lower left Y value.

FileURX

N.N

 

Set scaling rectangle upper right X value.

FileURY

N.N

 

Set scaling rectangle upper right Y value.

Kml_Opt_DecomposeCompoundPolygons

0 = No

1 = Yes

0

If set to 0, complex polygons are created as complex polygons. Some large polygons may appear unfilled in Google Earth with this setting. If set to 1, complex polygons are split into multiple smaller polygons. This increases the .KML or .KMZ file size.

 

 

See Also

Google Earth .KML and .KMZ File Description

Google Earth Export Options Dialog