The Talking Geek

Kyle Souza's Blog

  • RSS
  • Google+
  • Facebook
  • Twitter
No public Twitter messages. No public Twitter messages.
Twitter

Opening KMZ / KML Files in ArcMap

Posted by Kyle Souza April - 3 - 2012

Recently someone sent me a KMZ file that I needed to manipulate in ArcMap.  There is not a straight-forward way to do this (in ArcMap ArcView / ArcGIS for Desktop Basic), by the normal add data method or a toolbox item.  So I needed to figure out how to use this data, quickly, and preferably without spending any money.

KMZ Files are compressed KML Files.  KML files can contain raster (pictures) or vector information.  Shapes, including points, lines, and polygons, as well as text can be contained in these files.  There are several commercial applications that will convert KML files to shapefiles, or KMZ to File Geodatabases, etc.  But you don’t have to convert the file to a “normal” Esri file format be able to open it in ArcMap.  KML files are often associated with Google Earth (http://www.google.com/earth/index.html).

I have downloaded a KML file from the European Commission Joint Research Center containing soil information:  http://eusoils.jrc.ec.europa.eu/ESDB_Archive/ESDBv3/legend/LegendData.cfm (I just needed an example file).

Before you can proceed any farther you will need ArcGIS Explorer (free download).  You can download ArcGIS Explorer here:  http://www.esri.com/software/arcgis/explorer/index.html

Got it installed?  Good, let’s continue.

Open ArcGIS Explorer (this will change your windows display settings on Windows 7, deactivating the Aero interface).  Click the “Add Content” button.

Go down to “KML Files” and Choose “KML Files…” on the flyout.

Navigate to where the KMZ file is saved.  Select the file and click “Open” or double-click on the file.

It will load.  Remember, each KMZ file is different and can contain multiple types of features, so this may take several seconds.

In the contents menu (default location is bottom left corner of window) right-click on the KMZ entry and select “Share…”.

In the Sharing Menu select “Layer Package”.

Select “File” so that the LPK is saved to your local machine/network.

Click “Save”.  Now enter something for the description of the package, the more detailed the better (for your own benefit later).  Click “OK” and ArcGIS Explorer will begin creating the package.  WARNING: This could take a while.

Now you can use the regular “Add Data” function of ArcMap.  Before ArcMap just showed an empty directory, not even recognizing the KMZ file existed.  But now the LPK is recognized and usable.

NOTE:  I have only tested this in ArcMap 10.

20 Responses so far.

  1. Bryan says:

    My head hurts now. This is way over my hear.

  2. alonzo says:

    i just tried this and it worked out great…. thanks. i am using arcmap 10.1 and even though the lpk does not show in the directory….you can drag it from your desktop or where you may have it saved to your table of contents in arcmap.

  3. Bill M says:

    Hi Kyle

    I have tried this several times on three separate KMZ files and the package fails to create every time. Any ideas?

  4. gwen hopkins says:

    The above suggestion works of dragging the data into the arcmap, however the data points are not listed correctly in the table of contents: they are not listed under their names but instead under the symbols they are and in the incorrect frequency

  5. Shaun says:

    will this work with arcmap 9.3.1

  6. Lynne says:

    Neither method for getting the layer package into ArcMap will work for me. When I go to add data, the lpk file does not show up. I also tried to drag and drop – ArcMap give me an error message that states, “Could not open the specified file.” Do you have any other ideas?
    I also tried the KML –> layer tool in ArcMap.



3 × = twenty seven