PROBLEM

Unable to import a KML file with polygon features in ArcGIS CityEngine

Last Published: January 8, 2024

Description

Keyhole Markup Language (KML) is an XML-based file format for storing and displaying information in a geographic context. Importing a KML file to ArcGIS CityEngine enables the integration and enrichment of 3D models with real-world context. In some cases, when importing a KML file with polygon features, ArcGIS CityEngine fails to read the KML file and returns the following warning message:

Warning:
java.io.IOException: KML Importer: no valid placemarks detected, file is probably too old (< KML v2.1) or corrupt.
The workspace log warning message

Cause

ArcGIS CityEngine does not read the polygon features in the KML file as the file does not contain any 3D models, which refers to a COLLADA DAE model.

Solution or Workaround

  1. Create a project in ArcGIS Pro.
  2. Add the KML file to the map. Refer to ArcGIS Pro: Browse to data to add to a map or scene for instructions.
  3. Convert the KML file to a file geodatabase feature class using the KML To Layer tool.
    1. On the ribbon, on the Analysis tab, click Tools.
    2. In the Geoprocessing pane, search for and click KML To Layer (Conversion Tools).
    3. In the KML To Layer pane, for Input File (KML or KMZ), select the KML file from the drop-down list.
    4. For Target Folder, specify a location and name for the output geodatabase and layer file.
    5. Specify Output Name.
    6. Click Run.
The KML To Layer pane
  1. In ArcGIS CityEngine, import the file geodatabase into a scene. Refer to ArcGIS CityEngine: Import by drag and drop for instructions.
Note:
Alternatively, the file geodatabase can be imported into a scene using the import dialog box method. Refer to ArcGIS CityEngine: Import by dialog for more information. 

Article ID: 000031636

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

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