Frequently asked question

Why are KML attributes not auto-populated to attribute fields in ArcGIS Pro?

Last Published: March 20, 2024

Answer

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.

Pop-up displaying the PopupInfo field

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.

Use the Quick Import tool with the ArcGIS Data Interoperability extension

Note:
If the KML file is missing its schema, the attribute fields of the layer are not populated in the attribute table.
  1. Open the ArcGIS Pro project.
  2. In ArcGIS Pro, on the Analysis tab, click Tools in the Geoprocessing group.
  3. In the Geoprocessing pane, search for and click the Quick Import tool.
  4. On the Parameters tab, for Input Dataset, click Browse Browse.
  5. In the Specify Data Source dialog box, search for and select OGC/Google KML from the Format drop-down list.
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.
  1. For Dataset, click Open file browser Open file browser and select the KML file from the Select 'File' dialog box.
  2. Click OK.
Configure the Specify Data Source dialog box
  1. In the Quick Import pane, provide a name for Output Geodatabase and click Browse Browse to specify the location of the file geodatabase.
  2. Click Run.
Configure the Quick Import parameters

The image below shows the attributes automatically populated in their respective fields when using the Quick Import tool.

Pop-up displaying the attribute fields for a KML schema file

Manually populate the converted KML layer attributes to their respective fields in the attribute table

Note:
This workaround is applicable for smaller datasets. Manually populating larger datasets consumes time.
  1. Open the ArcGIS Pro project.
  2. In the Contents pane, right-click the KML layer and click Attribute Table.
  3. Create new fields to populate the KML attribute information.
Creating new fields
  1. Manually populate the KML attributes in their respective fields.
Manually populating attributes
Note:
In the attribute table, delete or hide other fields if necessary.

Article ID:000032102

Software:
  • ArcGIS Pro 3 2
  • ArcGIS Pro 3 1
  • ArcGIS Pro 3 0

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