The Esri Community
Services & Programs
GeoNet Resource Hub
to create and rate content, and to follow, bookmark, and share content with other members.
Using python for Google Earth
Discussion created by
on Jan 21, 2012
on Jan 24, 2012 by stacyrendall
Show 0 Likes
Kinda off topic for ArcGis, but does anyone know where I can find some info on how to use python to auto-generate GE maps? Essentially I want to load a KML (that I will generate in ArcMap) into GE, and then save it as an image. Thanks Guys!
This content has been marked as final.
Show 1 comment
(Required, will not be published)
Jan 24, 2012 3:26 PM
You don't need Python to do this, it is in the normal set of Arc tools...
If, for some reason, you wanted to avoid using the Arc tools, KML is actually pretty easy to make - it's basically a text file with a defined syntax. For example a simple point can be made with the following (from
Google KML Tutorial
[HTML]<?xml version="1.0" encoding="UTF-8"?>
<description>Attached to the ground. Intelligently places itself
at the height of the underlying terrain.</description>
All you need to do is save it to a text file, give it a .kml extension and GE can load it... You could easily automate the creation of a file like this in Python (iterate over a set of features, getting the coordinates and an attribute for the label).
However, getting symbology to work in GE might not be easy, which is why the Arc tools are nice...
Show 0 Likes
Retrieving data ...
raster data load issue
Trying to use own basemap
Error: 8004205a: Cannot process remotely built mosaic dataset items
Issues when overwriting a public Map Image Service with non-owner Portal user
ArcGIS 10 Searching Metadata