错误

错误:无法加载 KML:内部 KML 解析程序错误

Last Published: July 22, 2024

错误消息

When adding a KML file using the 'From my computer' option to Portal for ArcGIS, the following error message is returned:

Error:   
Unable to load KML: Internal kml parser error.

原因

The error occurs because the script in the KML file is not encoded using UTF-8.

解决方案或解决方法

Follow the steps below to encode the script using UTF-8.

  1. Open the KML file in a text editor such as Notepad ++.
  2. Click the Encoding tab and select Convert to UTF-8.

    Encoding tab and UTF- 8 option
     
  3. Save the file and add to Portal for ArcGIS. For more detailed steps, refer to Portal for ArcGIS Web Help: Add layers from the web .

文章 ID: 000018602

接收通知并查找新问题或常见问题的解决方案

从我们全新的 AI 聊天机器人中获得简明答案和视频解决方案。

下载 Esri 支持应用程序

相关信息

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项