GIS Lounge


  • Home
  • What is GIS?
  • GIS Career
  • Learn GIS
  • Maps
  • Contact

You are here: Home » GIS Data » How to Convert a KML File into an ArcGIS Compatible Format

How to Convert a KML File into an ArcGIS Compatible Format

Filed in GIS Data by Caitlin Dempsey on June 18, 2012 • 3 Comments

Share this article:

Related Content:

xy-coodinatesHow to Add XY Coordinates to a File in ArcGIS arcgisxArcGIS Tips and Tricks

With the proliferation of KML files created for use in Google Maps, Google Earth, or Google Fusion Table, you may find yourself needing to bring the data from a KML file into ArcGIS.  KML files are an XML-based geographic dataset and have an extension of .kml (.kmz are compressed KML files).

ArcGIS can’t natively read KML files, so in order to access the geographic data, you will first need to first convert the KML file into a personal geodatabase (.gdb) using a tool provided within ArcGIS called KML2Layer.  The only way to actually view a KML file natively in ArcGIS without having to convert it is to purchase the ArcGIS Data Interoperability extension, which enables ArcGIS the ability to directly view more than 100 different GIS file formats.

Some notes to consider before starting this GIS tutorial:

KMLs and KMZs (up to version 2.2) can be converted using the KML2Layer tool.

Before you start the conversion process, make sure that the KML file has valid geographic data or you will be frustrated by the failure of your KML to convert to a geodatabase.  If your conversion process fails after following the steps in this GIS tutorial, check to make sure that the KML file contains valid geographic data.  The Official Google Maps blog has information about KML validators.

The steps and screenshots in this tutorial were done using ArcGIS 10.0.

Converted KML file in ArcGIS

Converted KML file in ArcGIS

Open up ArcCatalog.  Click on the ArcToolBox icon (1) to open up the tools section.  Then click on the Conversion toolbox (2) to open up the data conversion options.  Select the “From KML” toolkit to access the ‘KML to Layer’ tool.

ArcGIS has a KML to layer conversion tool.

ArcGIS has a KML to layer conversion tool.

In the “KML to Layer” dialogue box, select the folder icon next to the Input KML File box.  Navigate to the location on your hard drive where the KML is stored.  In the Output Location select the folder where you want the personal geodatabase (.gdb) to be stored.  In the Output Data Name either type in the name that you want the geodatabase to have or accept the default (which retains the name of the KML file.

KML to Layer Conversion Settings

KML to Layer Conversion Settings

A scrolling text indicated located in the lower right hand corner of ArcCatalog (1) will indicate the conversion is in process.  Depending on the size of the KML file, this conversion process can take seconds or several minutes.  Once the KML to ArcGIS layer has completed, a small window (2) in the lower right hand corner of your desktop will pop up with a green check mark announcing the completion of the conversion.  If the conversion fails, the window will have a red check mark.

A successful KML to layer conversion is indicated by a green check mark.

A successful KML to layer conversion is indicated by a green check mark.

Now you’re ready to view the converted file.  In the catalog tree section (1) of ArcCatalog, navigate to the folder you designated in the KML to Layer dialogue window as the output location.  Find the .gdb file containing the same name you selected as the Output Data Name.  Click on the geodatabase to open it and drill down to the file you converted.  The geographic dataset will be housed within “Placemarks” and will have an appendage of _point, _line or_polygon depending on the type of vector data converted.    A preview of the file can be viewed in the preview section (2).  You can toggle back and forth between the geographic data and the attribute table (3).  The converted file can now be loaded into an ArcMap session.

Converted KML file as a geodatabase.

Converted KML file as a geodatabase.

The output geodatabase file will be in the WGS84 coordinate system.  If needed, the resulting geodatabase can be be reprojected after the conversion process.  As noted in the beginning of this tutorial, if the KML file doesn’t contain valid geographic features, the conversion will fail.

Related GIS Data and Mapping Articles

  • Making Maps with Google Fusion

You Might Also Be Interested In:

  • Installing QGIS on the MacInstalling QGIS on the Mac
  • How To Make Area Cartogram Maps in ArcGISHow To Make Area Cartogram Maps in ArcGIS
  • How to Install ArcView 3.x on Windows 7How to Install ArcView 3.x on Windows 7
  • How to Add XY Coordinates to a File in ArcGISHow to Add XY Coordinates to a File in ArcGIS


Tags: ArcGIS tutorial, convert KML to ArcGIS, GIS tutorial, how to



Comments (3)

Trackback URL | Comments RSS Feed

  1. jfarrow says:
    June 20, 2012 at 11:10 am

    nice post…
    wouldn’t GPS Visualizer make a conversion for you too? http://www.gpsvisualizer.com/gpsbabel/

    Reply
  2. Steve says:
    June 20, 2012 at 6:29 pm

    It is far easier, and the output better, to use Qgis. Its free, and can read write any ogr format including kml and shp. All one has to do is right click -> save as from the table of contents.

    Reply
  3. Adam says:
    August 5, 2012 at 12:09 am

    This is another very good free conversion application. Useful for more than just .kml to .shp, also.
    http://www.dnr.state.mn.us/mis/gis/tools/arcview/extensions/DNRGarmin/DNRGarmin.html

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

« Geography Bloopers
Where are the GIS Jobs? A Look at the GIS Job Market in the United States »

Subscribe

Fill out your e-mail address to receive a weekly newsletter from GIS Lounge:

Advertise on GIS Lounge

GIS Book Pick

The Look of Maps: An Examination of Cartographic Design is a cartographic classic by Arthur H. Robinson originally published in 1952. The book was based on Robinson’s doctoral research “which investigated the relationship between science and art in cartography and the resultant refinement of graphic techniques in mapmaking to present dynamic geographic information.”

  • Popular
  • Recent
  • Comments
  • Archives
  • Largest Atlas in the World Created using ArcGIS
  • What is GIS?
  • Creating Simple Maps with Microsoft Excel
  • GIS Job Listing Sites
  • GIS Career Resources – Jobs and Internships
  • Open and Machine Readable Now the Default for Government Data
  • Google Map Redesign
  • Crowdsource Power Plant Data Project
  • Shapefile Viewers
  • Timelapse Satellite Imagery – View Changes on Earth over Time
  • Mark: A very easy way to do this!!! Thank you.
  • Richard Ortwine: I am currenlty working on a project that will show there are more liquor stores in zip codes that ha
  • John Chioles: This is a phenomenal move on the part of the USGS! I remeber getting imagery was cost prohibitive, n
  • aizolnai: this is yesterday's news, but it's so well illustrated that it's defo worth a (re)read, thx for the
  • Web GIS System: FYI. We have collected 1,545 responses in our 2012 GIS salary survey to our vendors and customers pa

Connect


Introduction to GIS

New to GIS? Start by reading What is GIS for an introduction to Geographic Information Systems. Next visit the GIS 101 launch page for basics of GIS articles.

Getting Started with GIS

To understand the different options for GIS education read How to Learn GIS , GIS distance learning programs, and GIS certification versus certificate programs

GIS Jobs

Interested in GIS as a career? Visit GISGig.com for GIS job listings.A good first article is the Building a Career in GIS which provides an introduction to the building blocks of GIS employment .

Subscribe

Enter your email address below to receive updates each time we publish new content.

Connect

Connect with us on the following social media platforms.

Subscribe via RSS Feed Connect on Facebook Follow Me on Twitter Connect on Google Plus Join Our LinkedIn Group

GIS Resources

  • What is GIS?
  • GIS 101
  • GIS Career
  • Cartography
  • Maps
  • GIS Software
  • Learn GIS
  • Data
  • Free GIS

Colophon

  • Advertising on GIS Lounge
  • Submitting to GIS Lounge
  • Contact GIS Lounge
  • Subscribe
  • Site Map
© 2013 GIS Lounge. All rights reserved.