Open Table of Contents

ET GeoWizards Scripting

ImportFromGoogle
(See important information here)

Converts the feature data contained in a KML or KMZ file to feature classes.

Syntax    

Dim ET As  New ETGW_Core
variable = ET.ImportFromGoogle(sInputFile, sOutFolder , sMessage)

The ImportFromGoogle method syntax has the following object qualifier and arguments:

Part Description
variable A Boolean
pInFeatureClass Required. A String - the full name of the input  Google Earth file. 
sOutFolder  Required. A String - the full name of the output workspace (folder, personal or file geodatabase)
sMessage Optional. In a case of failure -  description of the cause. If the functions completes with success an empty string will be returned.

Example