CÓMO

Convertir múltiples capas KML en un shapefile

Last Published: July 21, 2023

Resumen

KML is an XML-based file format for displaying information in a geographic context. While KML information can be drawn in many Earth-based browsers (including ArcGIS Earth and ArcGIS Pro), there are limitations when using them for GIS analysis.

This article describes the method to combine multiple KML layers into a single, usable shapefile to allow advanced GIS analysis on the features within.

Procedimiento

  1. Use the Batch tool to convert KML files.
    1. In ArcGIS Pro, navigate to Analysis > Tools.
    2. In the Geoprocessing pane, search for KML To Layer in the search box.
In the Search box, search for KML To Layer tool
  1. Right-click the KML To Layer tool, and select Batch.
Right-click KML To Layer tool, select Batch
  1. In the Batch KML To Layer pane, under Choose a batch parameter, select the Make temporary batch tool option.
  2. Use the default details for Name and Location. Click Next.
Select the Make temporary batch tool option.
  1. Under Parameters, select all the KML layers for Batch Input KML File, and specify the location for Output Location. Click Run.
Select the shapefiles converted from the Batch Input KML File tool.
Note:
For the Batch Input KML File tool to work, do not remove %NAME% from Output Data Name.
The Output Data Name with %NAME%
  1. Use the Merge tool to combine the converted shapefiles.
    1. In ArcGIS Pro, navigate to Analysis > Tools.
    2. In the Geoprocessing pane, search for Merge in the search box. Select the tool.
Search for Merge tool in the Geoprocessing pane.
  1. In the Merge pane, under Parameters, select the shapefiles converted from the Batch Input KML File tool.
  2. Select the output location for Output Dataset. Click Run.
Note:
Ensure the selected layers contain the same geometry type (for example, merge all the polylines layers only).

Id. de artículo:000026382

Recibir notificaciones y encontrar soluciones a problemas nuevos o comunes

Obtenga respuestas resumidas y soluciones de vídeo de nuestro nuevo chatbot de IA.

Descargar la aplicación de soporte de Esri

Información relacionada

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga