Import Google Earth KML Files to ESRI Geodatabase with Arc2Earth

Posted on December 17, 2007. Filed under: Arc2Earth, ESRI, Google Earth |

Arc2Earth was initially created as a tool for exporting your existing ArcGIS data to Google Earth, but has since evolved into a robust tool that is also capable of importing KML/KMZ, GeoRSS, and Atom files into an ESRI geodatabase format.  With the release of Arc2Earth version 2, the data import functionality has been rewritten to be more flexible, and includes the ability to import KML/KMZ, GeoRSS (simple, GML), and geo-enabled AtomPub files. The import process can create a new feature class to store the data or update an existing feature class in a personal or enterprise ArcSDE geodatabase.

Click here to see a demonstration of using Arc2Earth to import an existing KML/KMZ file into an ESRI geodatabase. 

 

The “Import KML/KMZ” and “Import GeoRss/Atom” items on the Import menu item open the same Import KML dialog.  The General tab contains a number of options related to the file that will be imported as well as the geodatabase export parameters.  By default, the Import KML dialog is assumed to be KML.  If the importer can’t discern the file type of the source document you will need to know the feed type (GeoRss, Atom) and check the option indicating the file is of type GeoRss if necessary. In the event that you need to import all files in a folder you may specify a folder by using the browse button.  The target layer for your import can be stored in a personal or enterprise ArcSDE geodatabase and can be an existing or new feature class.  In the event that you will be storing the target layer in an ArcSDE enterprise database you must specify the correct connection string for the database.  Three feature classes are created, one each for points, lines, and polygons with the root name of each feature class defaulting to the KML/KMZ file name along with an extension of _points, _lines, or _polys.

 

 

Import options can be saved into an import file (*.a2ei) for later use for commonly used import operations by clicking the “Save” button and specifying a filename and directory path. Both import menu items open the same window, but different options are set for each type of import.

 

The Schema tab on the Import KML dialog contains options for importing KML extended data values, a description templates schema, and the option to only import placemarks.  The “Description Templates Schema” option can be used to pull attribute data from existing description tags in KML Placemarks.  Normally description tags are free form text making them difficult to cull meaningful information.  Schemas allow you to define where in the description text your attribute data is hidden. The “Only Import Placemarks” option can be used to limit the import to only those Placemarks that match the filters on your Template Schemas and are good for targeting specific data in a large KML file.

 

 

The Options tab on the Import KML dialog contains some general options related to KML/KMZ files.  The “Update existing features using Placemark ID’s” option is used with a Placemark ID to find an existing record to update.  When exporting KML, you can specify which field to use for the Placemark ID.  The “Delete all records” option removes existing records from a feature class before the import takes place. This option is useful when you need to re-use a feature class.  In the event that you need to download data loaded in Network Links contained within a KML/KMZ file you can use the “Download all Network Links” option. This option follows nested Network Links and downloads all data associated with these Network Links.  The “Ground Overlays” option downloads all ground overlays in a KML/KMZ file as raster images, and you may specify a folder to place the downloaded images and associated world files.

 

 

Click here to see a demonstration of using Arc2Earth to import an existing KML/KMZ file into an ESRI geodatabase. 

 

For more detailed information on Arc2Earth, please see our new e-learning course.

 

 

 

About these ads

Make a Comment

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

2 Responses to “Import Google Earth KML Files to ESRI Geodatabase with Arc2Earth”

RSS Feed for GeoChalkboard Comments RSS Feed

[...] conectar ArcGIS con Google Earth, subir y bajar datos en ambos sentidos.  Ahora gracias a Geochalkboard conocemos como importar datos desde archivos kml/kmz directamente a una Geodatabase de [...]

[...] permite conectar ArcGIS con Google Earth, subir y bajar datos en ambos sentidos.  Ahora gracias a Geochalkboard conocemos como importar datos desde archivos kml/kmz directamente a una Geodatabase de [...]


Where's The Comment Form?

Liked it here?
Why not try sites on the blogroll...

Follow

Get every new post delivered to your Inbox.

Join 47 other followers

%d bloggers like this: