KML To Layer (Conversion Tools)
Summary
Converts a .kml or .kmz file into datasets in a geodatabase and a layer file. The layer file maintains the symbology of the input .kml or .kmz file.
Usage
The output datasets will be named
Points,Lines,Polygons, orMultipatches, depending on the feature types in the input file.Each feature class created will have attributes that contain information about the input file. The original folder structure, name, and pop-up information, as well as fields that help define how the features sit on a surface, compose the attributes of each feature.
The output layer file maintaining the original KML symbology will be created in the target folder.
Rasters, or ground overlays, will be converted to a mosaic dataset in the output geodatabase. The source raster in its native format will be copied to a
GroundOverlaysfolder in the target folder. Ground overlays are not converted by default. Use the Include ground overlay parameter to create rasters.License:
Use of the Include ground overlay parameter to create a mosaic dataset requires a Desktop Standard license.
Note:
Converting overlays using this tool may take a long time, depending on the source data. All available rasters and overlays in the KML will be converted. All of the imagery will be converted if a KML references a service that provides imagery. Highly detailed imagery may also take a long time to convert due to its file size.
Output datasets will be in the WGS84 coordinate system. Feature classes can be reprojected to another coordinate system using the Project tool.
Most input up to KMZ version 2.2 of the OGC KML standard is supported. Point locations that use the address tag (by way of geocoding) are not supported. A valid latitude and longitude location is required in the source KML.
ArcGIS Pro supports adding KML and KMZ layers to the map in their original format without conversion. However, to perform editing or to modify the layers in any way, the layer must be converted using this tool. You can select the KML layer as the input to this tool.
Parameters
| Label | Explanation | Data type |
|---|---|---|
|
Input File (KML or KMZ) |
The |
File; KML Layer |
|
Target Folder |
The destination folder where the output geodatabase and layer file ( |
Folder |
|
Output Name (Optional) |
The name that will be used for both the output geodatabase and layer file ( You can specify the name of an existing geodatabase in the target folder, and the conversion will write new datasets into the existing geodatabase. If the geodatabase with the specified name does not exist, it will be created in the target folder. |
String |
|
Include ground overlay (Optional) |
Specifies whether ground overlays from the KML will be included in the output. Use caution if the KMZ points to a service that serves imagery. The tool will attempt to convert the raster imagery at all available scales. This process may be lengthy and possibly overwhelm the server or time out.
|
Boolean |
|
Output Suffix (Optional) |
The suffix that will be added to the names of all output feature datasets, feature classes, mosaic datasets, and layer files. If no suffix is specified, the name of the feature dataset in the output geodatabase will be Placemarks. |
String |
Derived output
| Label | Explanation | Data type |
|---|---|---|
|
Output Layer File |
The output layer file. |
Group Layer |
|
Output Geodatabase |
The output geodatabase containing feature classes in a feature dataset, and a mosaic dataset if ground overlays were included. |
Workspace |
Environments
Current Workspace, Scratch Workspace, Output has Z values
Licensing information
- Basic: Limited
Some parameters are limited by license level. - Standard: Yes
- Advanced: Yes