PROBLEM

Labels do not appear in Google Earth after converting to KML

Last Published: January 24, 2022

Description

When attempting to convert and display individual or multiple polygons or lines using the Map to KML or Layer to KML tool, labels for the polygons or lines do not appear in Google Earth.

[O-Image] Google Earth KMZ no labels
 

Cause

This is a known limit. Google Earth only displays labels for point features (placemarks). To display labels for line or polygon features in Google Earth, midpoints or centroids for those feature classes must be created as a point layer in ArcMap and imported as a separate layer to Google Earth.

Note:
KML uses the WGS84 coordinate system and meters for the unit of measurement. All elevation values are assumed to be in meters when creating KML.

Solution or Workaround

For Advanced licenses, use the Feature To Point tool

  1. Create points for the line or polygon data using the Feature To Point tool. Use the polygon/line layer as the Input Features, and determine the location for the Output Feature Class. Click OK.
  2. Label the point feature class with the desired field (right-click the layer, and select Label Features).
Note:
The Label Field can be changed by navigating to the Labels tab in Layer Properties.
  1. Use the Map to KML tool to convert the data to a KML or KMZ file, which can be viewed in Google Earth.

For Basic and Standard licenses, users do not have access to the Feature To Point tool. As a secondary option, follow the steps below.

  1. Open the attribute table of the polygon layer, and add two new fields, Longitude and Latitude (Table Options > Add Field). Ensure that the field is set to Double.
  2. Right-click the Longitude field > Calculate Geometry > X Coordinate of Centroid.
  3. Right-click the Latitude field > Calculate Geometry > Y Coordinate of Centroid.
  4. Export the attribute table to a new file. Click Table Options > Export. Add the table to the Table of Contents.
  5. Right-click the table > Display XY Data.
  6. Specify the X and Y fields.
  7. To save the event layer, right-click the event layer > Data > Export Data, as a shapefile or feature class.
  8. Label the shapefile or feature class with the desired field.
  9. Use the Map to KML tool to convert the data to a KML or KMZ file, which can be viewed in Google Earth.
[O-Image]

Article ID: 000012154

Software:
  • ArcMap 10 x

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options