Skip to content

Plotting pie charts using plotKML

2 messages · Paul Galpern, Edzer Pebesma

#
Dear list,

   This question pertains to the very nice package, plotKML.

   Does anyone know of an efficient way to render pie charts on Google 
Earth using plotKML? Creating thousands of little pie images and using 
the SpatialPhotoOverlay class doesn't seem viable.

   The only other thing I can think of is rendering each segment of each 
pie (of which there may be thousands) as a SpatialPolygons object.  But 
this, again, seems like a lot of work (and likely to produce a very 
large KML file).

Thanks for your ideas.

Sincerely,
Paul
#
RKML, from omegahat, was written to do that: plot arbitrary R plots
somewhere on the earth - you might give it a try.
On 12/21/2012 04:53 PM, Paul Galpern wrote: