Go to ET GeoWizards 12.x User Guide
Import from Google Earth
Go to ToolBox
Implementation
Converts the feature data contained in a KML or
KMZ file to feature classes.
Inputs:
- A Google Earth KML or KMZ file
- Output workspace
Notes:
- The KML format allows a lot of freedom in
the data structure and not all applications that create KML files structure
the data in the same way. This in many cases makes it impossible to import
correctly the data. This is frequently the case with attribute data
exported from GIS formats. Often the attribute data is exported as
part of the description field for a feature. This is usually done in
HTML format, which is not structured. KML Version 2.2 supports structured
attribute data through the "ExtendedData" element. The import function
of ET GeoWizards creates attributes based on this element.
- KML Version 2.2 supports models, which are
3D objects in their own coordinate space. Such models are not imported
by ET GeoWizards. This includes Google SketchUp models.
- ET GeoWizards does not support the "Link"
element, which references data in external KML or KMZ files.
- The KML structure does have a definition of
the Field Types, but not for the fields width, precision and scale. General
rules are used to create the fields. You can use the Redefine fields to fix
some problems in the field definitions.
- Importing of KML files is slow in general,
be patient.
- See Google Earth general for important additional information.
ToolBox
implementation
(Go to TOP)
Command line syntax
ET_GPImportFromGoogle <in_file>
<out_workspace>
Parameters
Expression |
Explanation |
<in_file> |
A String
- the full name of the input Google Earth file. |
<out_workspace> |
A String
- the full name of the output workspace (folder, personal or file
geodatabase)
|
Scripting syntax
ET_GPImportFromGoogle (in_file
out_workspace)
See the explanations above:
<> - required parameter
{} - optional parameter
Copyright © Ianko Tchoukanski |