Hi everyone,
For clarity, i asked this question in python - Convert multi KML and KMZ into shapefile using ArcPy? - Geographic Information Systems Stack Exchange .
I don't know how to do it with arcpy?
Thanks in advance.
How we can write the code to help us to write script to convert multi format to another format
As Polygeo says, you have to add your filename variable to the folder since the first parameter is the kml filename, then the output folder...then optionally the output name NOT INCLUDING the folder name...and you can skip the last one.
KMLToLayer_conversion (in_kml_file, output_folder, {output_data}, {include_groundoverlay})
in_kml_file
The KML or KMZ file to translate.
output_folder
The destination folder for the file geodatabase and layer (.lyr) file.
output_data
(Optional)
The name of the output file geodatabase and layer file (.lyr). Defaults to the name of the input KML file.
include_groundoverlay
Include ground overlay (raster, air photos, and so on). Use caution if the KMZ points to a service that serves raster imagery. The tool will attempt to translate the raster imagery at all available scales. This process could be lengthy and possibly overwhelm the service.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.