James Fee GIS Blog

Geospatial Technology, Web Mapping and Spatial Services

James Fee GIS Blog header image 2

ArcMap Feature Layer to KML

August 28th, 2005 · No Comments · Google Earth

Link - VBA code for Google Earth KML paths

ArcObjects VBA code to take a feature layer, split it up into line segments, and then generate a valid KML file. It’s pretty basic, and you have to hard code some values, but it does the job. It will work with either lines or polygons, and it shouldn’t matter whether it’s a shapefile or a coverage. Just make sure that your layer is projected into lat/long first.

Looks like Jim’s code is now on ArcScripts.



Tags:

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment

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