James Fee GIS Blog

Geospatial Technology, Web Mapping and Spatial Services

James Fee GIS Blog header image 2

ESRI Shapefile to KML

August 17th, 2005 · 2 Comments · Extensions, Google Earth

Link - Shape2KML v1.0 via ArcScripts

Shape2KML works within ArcMap 9.x to convert points, lines, and polygons to KML for viewing and manipulation in Google Earth.

Seems like a very simple method to convert shapefiles to KML. Unfortunately there isn’t any source code to see how this was done and make improvements, but I’m sure any feedback to the author would be appreciated. I’m still on vacation and not near my license manager to check this out so anyone who’s tried it, post in the comments what you think.

Thanks to Ray Carnes for pointing this out to me. Good eye!

Update - Mike points out in my comments that a VBA script that converts a feature layer into a KML file. It only exports linear features right now (input can be point, poly, line), but at least this one has the souce code. :)



Tags:

2 responses so far ↓

  • 1 MikeMO // Aug 17, 2005 at 7:56 pm

    You can also find a VBA script for ripping linear features to KML here:
    http://bbs.keyhole.com/ubb/showthreaded.php?Cat=&Board=SupportKML&Number=65960

  • 2 Simon Jackson // Oct 8, 2007 at 6:51 am

    I know this is an old thread and theres been a lot of development since it was written, but it still pops up fairly high in google.

    Id like to find some VBA/ArcObjects code to export a user-created point file to KML (then open it in GE). Im only on 9.1, but have heard that 9.3 will incorporate exporting to kml.

    Any info on if its possible to do this within the VBA/AO environment at 9.1? I use Export to KML 2.4.1 tool from ArcScripts, but the code is locked down.

    Any ideas?

Leave a Comment

Note: This post is over 3 years old. You may want to check later in this blog to see if there is new information relevant to your comment.