Import from Google Earth

Running programmatically

Converts the feature data contained in a KML or KMZ file to shapefile or File GDB layers

Inputs:

Notes:

Running Programmatically

(Go to TOP)

Parameters

Expression Explanation
Function Name ImportFromGoogle
<Input KML> A String representing the full path to the KML(KMZ) file
<Output Workspace> A String - the full path to the output folder or File GDB.

Running the function

ETGWPath used in the table below is the  full path to ETGWRun.exe (E.G. "C:\Program Files\ETSpatial Techniques\ETGeo Wizards\ETGWRun.exe")

Language Syntax
Python subprocess.call([ETGWPath, "ImportFromGoogle", "Input KML", "Output Workspace"])
.NET using ETGWRun.exe StartInfo.FileName = ETGWPath
StartInfo.Arguments = "ImportFromGoogle" "Input KML" "Output Workspace"
.NET using ETGWOutX.dll ImportFromGoogle(Input KML, Output Workspace)
ArcPy arcpy.ImportFromGoogle(Input KML, Output Workspace)

Notes:

(Go to TOP)