PROBLEM

Unable to display KML data in Collector for ArcGIS

Last Published: April 25, 2020

Description

When opening a web map containing a Keyhole Markup Language (KML) layer in Collector for ArcGIS, the KML layer is not displayed in the map. The image below shows an ArcGIS Online web map containing a polygon feature layer and a KML layer displaying a polyline.

An image of a KML layer in an ArcGIS Online web map.

The following image shows the same web map opened in Collector for ArcGIS. Collector for ArcGIS only displays the polygon feature layer, but nor the KML layer.

An image of a KML layer in Collector for ArcGIS.

Cause

This is a known limitation. Some platforms of Collector for ArcGIS may not support viewing KML data.

Solution or Workaround

As a workaround, use the KML To Layer tool in ArcMap or ArcGIS Pro to convert the KML file to a feature class. Publish the converted feature class to ArcGIS Online for use in the web map in Collector for ArcGIS.

  1. In ArcGIS Online, open the item details page of the KML file, and click Download to download the KML file to a local folder.
  2. In ArcMap or ArcGIS Pro, add the downloaded KML file to the map.
  3. Use the KML To Layer tool to convert the KML file to a feature class. This tool creates a new file geodatabase containing the converted feature class.
    1. In the KML To Layer dialog box or pane, select the KML file as the Input KML File.
    2. Set the location of the output feature class for the Output Location.
    3. Click OK or Run. The output feature class is added to the map.
  4. Disable the output feature class Z-values. For the steps to do this, refer to: How To: Remove Z- and/or M-values from a feature class
  5. Publish the file geodatabase containing the feature class to be hosted in ArcGIS Online. Refer to: Publish the contents of a file geodatabase
  6. Add the hosted feature layer to the ArcGIS Online web map that is used in Collector for ArcGIS. See the article, Search for layers
  7. Click Save to save the edits in the web map.
  8. In Collector for ArcGIS, reopen the web map. The feature layer converted from the KML layer is displayed in the map.
An image of a web map containing hosted feature layers in Collector for ArcGIS.

Article ID:000019472

Software:
  • ArcGIS Collector
  • ArcMap
  • ArcGIS Pro
  • ArcGIS Online

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic