HOW TO

Konvertieren mehrerer KML-Layer in ein Shapefile

Last Published: July 21, 2023

Zusammenfassung

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.

Vorgehensweise

  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).

Artikel-ID: 000026382

Benachrichtigungen erhalten und Lösungen für neue oder häufige Probleme finden

Unser neuer KI-Chatbot stellt zusammengefasste Antworten und Videolösungen für Sie bereit.

Esri Support App herunterladen

Zugehörige Informationen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln