KML To Geodatabase (Conversion Tools)
Summary
Converts features and ground overlay rasters stored in a .kml or .kmz file to point, polyline, or polygon feature classes and mosaic datasets in a geodatabase.
Usage
When using the tool dialog box, the tool will scan the input KML file and automatically populate the output parameters based on feature types and ground overlays present in the KML. If the KML contains data that you do not want to convert, leave the corresponding output parameter blank.
The tool can create output feature classes as shapefiles, memory feature classes, and any geodatabase format. Output mosaic datasets can only be created in a geodatabase.
When the tool adds the output datasets to the map, the layers will maintain the symbols used for the features in the input
.kmlor.kmzfile.If the input KML features have attribute information stored in KML Extended Data nodes, this information will be written to the output feature classes as attribute fields.
This tool is an improved version of the KML To Layer tool, and uses a different KML reader that is shared with KML layers in ArcGIS Pro and ArcGIS Maps SDK. The output of the KML To Layer and KML To Geodatabase tools may be different.
Ground overlay rasters stored in the input KML will be copied to a new folder with a
.grdsuffix stored in the same directory as the output geodatabase.
License:
Using this tool to convert ground overlay rasters into a mosaic dataset requires a Desktop Standard license.
- Converting ground overlay rasters may take a long time. Source data may include highly detailed and network linked imagery and services, which will require additional processing time.
Parameters
| Label | Explanation | Data type |
|---|---|---|
|
Input KML (.kml or .kmz) |
The |
File; Workspace; KML Layer |
|
Output Point Feature Class (Optional) |
The output feature class containing the point features and attributes extracted from the input KML. |
Feature Class |
|
Output Line Feature Class (Optional) |
The output feature class containing the line features and attributes extracted from the input KML. |
Feature Class |
|
Output Polygon Feature Class (Optional) |
The output feature class containing the polygon features and attributes extracted from the input KML. |
Feature Class |
|
Output Mosaic Dataset (Optional) |
The output mosaic dataset containing the ground overlay rasters extracted from the input KML. |
Mosaic Dataset |
Environments
Current Workspace, Scratch Workspace, Output has Z values
Licensing information
- Basic: Limited
Some parameters are limited by license level. - Standard: Yes
- Advanced: Yes