> Script Details
Export to KML 2.5.4
report inappropriate content
Aug 17 2010
Status of work
ArcScripts is intended for the free exchange of scripts and tools related to ESRI software products. Please alert the moderator if this script is a demo, trial-version, or an advertisement for a retail product.
Export to KML is an extension developed for ArcGIS 9.x by the City of Portland, Bureau of Planning. The extension allows ArcGIS users to export GIS data in “keyhole markup language” (KML) format for viewing in Google Earth. Any point, polyline, or polygon dataset, in any defined projection, can be exported. Features can be exported as either 2-dimensional features, or 3D features "extruded" upwards by an attribute or z-value.
Some other features: ability to incorporate ArcMap layer symbology into the exported KML; labeling of point, line, and polygon features; "describe" individual features using the database attributes, store database attributes as "schema" items.
The "Export_to_KML_Documention.pdf" document explains how to install and use the extension. Please refer to it for more information. The download also includes all of the original VB6 source code.
If you come across any bugs or make any improvements, please let me know. I'd highly recommend checking back regularly for updated versions.
> NEW FEATURES AND FUNCTIONALITY:
- styles are now stored in the KML document rather than in each individual feature, greatly improving the efficiency of the output KML and the ability to customize it
- implements Schema and ExtendedData tags to improve the transferability of the output KML
- much better support for HTML in layer and feature ("balloon") descriptions
- supports time stamps and time animations
- now supports coordinate system transformations
Refer to "Export_to_KML_Documention.pdf" for instructions on installing and uninstalling the extension. Includes instructions for installing with Windows Vista.
This is a free, open source product. While I'll continue to make improvements, if you need much more sophistication than this tool offers, check out the commercial software.
**ESRI Note august 2010 ** version 2.5.5 available from author on ArcGIS Resource Center site, compatible with Windows 7 and ArcGIS 10:
> RECENT FIXES AND MODS (Version 2.5):
6/30/09 - added instructions for installing with Windows Vista
5/14/09 - added option to use Google Maps compatible layer and feature descriptions; can now modify "snippet" elements; bunch of other fixes
6/18/08 - domain values are now supported; field aliases are used in all dialogs when available
6/11/08 - added ability to specify a coordinate transformation on export to improve horizontal accuracy (if necessary); fixed issue with "true curves" in polyline data