Frequently asked question
In ArcGIS Pro, when importing Keyhole Markup Language (KML) files using the KML To Layer tool, the output layer's attributes are not auto-populated to their respective attribute fields due to the different formats used to store the tabular information. Since KML is a tag-based file format, the tabular information is represented within the <ExtendedData> tag. This tag contains one or more <Data> tags to represent the specific attributes associated with the geographic features.
ArcGIS Pro stores feature attributes in a structured tabular format with columns or fields representing the different attributes. Thus, when using the KML To Layer tool, ArcGIS Pro creates a PopupInfo field comprising the visible information displayed in a KML pop-up window, which is based on HTML markup.
The image below shows the attribute information displayed in the pop-up when selecting the features in ArcGIS Pro.
However, users can use the Quick Import tool available with the ArcGIS Data Interoperability extension and license to maintain the attribute fields of the KML file, or manually populate the KML attributes to their respective fields.
Note: If the KML file is missing its schema, the attribute fields of the layer are not populated in the attribute table.
Note: Optionally, click More Formats…, search for and select OGC/Google KML from the format list in the FME Reader Gallery dialog box, and click OK.
The image below shows the attributes automatically populated in their respective fields when using the Quick Import tool.
Note: This workaround is applicable for smaller datasets. Manually populating larger datasets consumes time.
Note: In the attribute table, delete or hide other fields if necessary.
Get help from ArcGIS experts
Download the Esri Support App