[R-sig-Geo] Plotting pie charts using plotKML

Edzer Pebesma edzer.pebesma at uni-muenster.de
Fri Dec 21 18:26:46 CET 2012


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:
> 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
> 

-- 
Edzer Pebesma
Institute for Geoinformatics (ifgi), University of Münster
Weseler Straße 253, 48151 Münster, Germany. Phone: +49 251
8333081, Fax: +49 251 8339763  http://ifgi.uni-muenster.de
http://www.52north.org/geostatistics      e.pebesma at wwu.de



More information about the R-sig-Geo mailing list