Google Earth .KML and .KMZ Export Options Dialog

 

When using the File | Export command to export to a .KML or .KMZ file, the Export Options dialog allows you to specify the Scaling options and Spatial Reference options. In addition, the KML Options page is available to control how exported objects are created in the .KML or .KMZ file.

 

Coordinate System

.KML and .KMZ files require that the coordinates be in latitude and longitude degrees. This means that the Map object in the Object Manager is converted to lat/long (WGS84) when exporting. The program does this conversion internally. No change is needed to the Map.

 

Attributes

The first and second attributes for polyline, polygon, and symbol objects are automatically exported to all .KML and .KMZ files. The first attribute is used for object names. The second attribute is used for an object's description. For contour maps, the elevation is exported to the polyline object name for all polylines in the contour map.

 

The Export Options Dialog

The Export Options dialog is displayed when exporting a Google Earth .KML or .KMZ file. The dialog controls determine how text, symbols, polygons, and polylines are treated when exporting these files.

 

Set the KML options in the Export Options dialog.

 

Text Objects

When the Text Objects is set to Export as placemark pins with text descriptions, text is output as point placemarks with the text as the object name. These appear in Google Earth as yellow pushpins. This is the default.

 

Changing the Text Objects option to Export as rendered curves/areas converts all text to polylines and/or polygons, as appropriate. Changing the Text Objects to Don't export text objects removes all text from the .KML or .KMZ file.

 

Marker Objects

When the Marker Objects is set to Export as icon pictographs (GIF format), symbols are saved to .GIF files. A .GIF file is created for each unique symbol in the MapViewer file. When sending the .KML or .KMZ file to other users, be sure to include all .GIF files, as well. Otherwise, symbols will not appear. Small red boxes will appear at the locations in Google Earth, indicating the symbols are not found. This is the default Marker Objects setting.

 

Changing the Marker Objects to Export as placemark pins, converts all symbols to Google Earth yellow pushpins. Changing the Marker Objects to Export as rendered curves/areas, converts all symbols to polylines and polygons, as appropriate. Changing the Marker Objects to Don't export marker symbols removes all symbols from the .KML or .KMZ file.

 

Area (Polygon) Objects

When the Area (Polygon) Objects is set to Export using application transparency, the polygons are exported with the transparency option set in the Property Manager. This is the default option.

 

Changing the Area (Polygon) Objects to Export all areas as opaque, makes all polygons in the .KML or .KMZ file 100% opaque. No transparency is shown for any objects. Changing the Area (Polygon) Objects to Export all areas with 50% transparency makes all polygons 50% transparent, regardless of the transparency level in the MapViewer file. Changing the Area (Polygon) Objects to Don't export areas removes all polygons from the .KML or .KMZ file.

 

Curve (Polyline) Objects

When the Curve (Polyline) Objects is set to Export using application transparency, the polylines are exported with the transparency option set in the Property Manager. This is the default option.

 

Changing the Curve (Polyline) Objects to Export all curves as opaque makes all polylines in the .KML or .KMZ file 100% opaque. No transparency is shown for any objects. Changing the Curve (Polyline) Objects to Don't export curves removes all polylines from the .KML or .KMZ file.

 

Line Width

When the Line Width is set to Fixed width for all lines, in KML pixels, the line width for all lines in the .KML or .KMZ file are the same width. Set the width by highlighting the existing value and typing a new value. The smaller the number, the thinner the line. The default value is 2, which makes the lines 2 pixels wide in the .KML or .KMZ file.

 

When the Line Width is set to Scaled width in inches per KML pixel, the line width for each line is individually determined. The line width in MapViewer, is multiplied by the number in the box to determine how many pixels are used for each line. The default value is 0.050 which means that a line in MapViewerthat is 0.050 inches is equivalent to 1 pixel in the .KML or .KMZ file. The Scaled width in inches per KML pixel is the default setting for Line Width.

 

Split Compound Polygons

Check the box next to Split compound polygons into pieces to break complex polygons into smaller polygons. Uncheck this box to export the complex polygons as a single object. The default is unchecked. Checking this box does make the .KML or .KMZ file size larger, due to the large number of small polygons being created. When unchecked, some very complex polygons may appear as unfilled in Google Earth.

 

KML Layers

When exporting KML files, each map layer is exported to a separate folder in the KML. In Google Earth, this shows as separate folders under the KML file name when imported and displayed on the map. To turn on or off each map layer separately, click on the check box next to the map layer name.

 

Defaults

The Defaults button sets all options to default conditions.

 

Scaling Page

Scaling information can be set on the Scaling page.

 

Spatial References

The spatial reference information can be set on the Spatial References page. Check the desired file formats. It is recommend that GS Reference (Version 2) file and/or the ESRI .PRJ file option be checked. Click OK and the file is saved.

 

Limitations

 

See Also

Google Earth .KML and .KMZ File Description

Google Earth Export Automation Options