XTools Website

 

Import Data from KML

 

 

Purpose

 

KML, or Keyhole Markup Language, is an XML grammar and file format for modeling and storing geographic features such as points, lines, images, polygons, and models for display in Google Earth and Google Maps. You can use KML to share places and information with other users of Google Earth and Google Maps. Likewise, you can find KML files on the Google Earth Community site that describe interesting features and places.*

 

XTools Pro Import Data from KML tool allows importing data from KML/KMZ format to ArcGIS supported formats.

 

 

Description

 

Import Data from KML tool imports selected KML/KMZ files to shapefiles and geodatabase feature classes. Please note, that only vector features from KML/KMZ files are supported for importing in the current XTools Pro version. If there are no vector features stored in the input KML/KMZ file the corresponding message is prompted.

 

 

Importing KML files

 

  1. Select the "Import Data from KML" tool from the XTools Pro menu.

  2. Select the input KML or KMZ file containing features that you wish to import.

  3. Specify the name and location of the output feature class.

  4. Specify the name and location of the output layer file.

  5. Select the attributes you wish to import with the features.

  6. Select if you wish to use any specific extent for importing and specify the extent.

  7. Select if you wish to keep Z coordinate in the output dataset and import only visible placemarks (features).

  8. Press Run to import features.

 

 

 

By default output dataset is placed in the same directory as input KML/KMZ file. Depending on the data geometry type(s) in the input KML/KMZ file there can be one or a few output shapefiles or geodatabase feature classes. Accordingly, the words _points, _lines, or _polygons will be added at the end of the specified output dataset name. Likewise, the output layer file is placed in the same directory as out dataset, although you can manually select another directory.

 

Importing attributes

 

Importing data from KML format you can select to keep attributes from the input KML file:

 

  • Name

  • Description

 

These are the default attributes but you can select to keep all additional attributes if there are any in the input KML file.

Additional optional attributes that can be added are:

 

  • Snippet

  • Address

  • TimeSpan: Begin

  • TimeSpan: End

  • TimeStamp: When

  • Extrude

  • AltitudeMode

  • Tessellate

+ plus any number of custom attributes that may be stored in the KML files

 

You can change default attribute field names for Name and Description, at that additional attributes will be imported as is.

 

Using extent

 

Importing data you can also use a particular extent to limit imported output features.

Following options are supported to specify the extent:

 

  • Custom extent

- any custom extent can be specified and used for importing data

  • Full extent

- full extent of the current map will be used

  • Current extent

- current map extent will be used

  • Layer or dataset

- extent of the layer or dataset selected from the map or from Catalog will be used

  • Graphics

- extent of the active graphics layer will be used

  • Selected graphics

- extent of the selected graphic objects will be used

 

Additional options

 

There are following additional optional parameters available:

 

  • Keep Z coordinate

- this option allows importing 3D data

 

  • Import visible placemarks only

- using this option you can import only those features set as visible in the KML file.

 

 

* from the Google Earth User Guide.

 

--

 

Table of Contents

-Search-

Back