I didn't realize that readOGR could do that. Very cool! Thanks for the good info.
________________________________________ From: Alex Mandel [[email protected]] Sent: Monday, March 24, 2014 1:30 PM To: Hodgess, Erin; Manuel Spínola; [email protected] Subject: Re: [R-sig-Geo] How to read or import a kml file in R Well that hardly seems the whole story. rgdal package's readOGR should be able to import kml into an sp object, which can be analyzed or plotted. https://stat.ethz.ch/pipermail/r-sig-geo/2010-May/008370.html I think Erin was confusing it with KMZ files which are a bundle of kml + images(sometimes) that are hard to use anywhere but Google Earth. Though the trick is to just unzip them and use the components individually. Thanks, Alex On 03/24/2014 11:16 AM, Hodgess, Erin wrote: > Hello Manuel: > > Not sure what you're trying to do. KML files display in Google Earth & > Google Maps. > > You can create KML files in R but not display them. > > Hope this helps! > > Sincerely, > Erin > > ________________________________________ > From: [email protected] [[email protected]] on > behalf of Manuel Spínola [[email protected]] > Sent: Monday, March 24, 2014 1:02 PM > To: [email protected] > Subject: [R-sig-Geo] How to read or import a kml file in R > > Dear list members, > > How to read a .kml file in R. I was reading some threads on this, but I > stll don't understand how to do it. > > The name of my file is "Circuito Tamarindo.kml" > > Best, > > Manuel > > -- > *Manuel Spínola, Ph.D.* > Instituto Internacional en Conservación y Manejo de Vida Silvestre > Universidad Nacional > Apartado 1350-3000 > Heredia > COSTA RICA > [email protected] > [email protected] > Teléfono: (506) 2277-3598 > Fax: (506) 2237-7036 > Personal website: Lobito de río <https://sites.google.com/site/lobitoderio/> > Institutional website: ICOMVIS <http://www.icomvis.una.ac.cr/> > > [[alternative HTML version deleted]] > > > _______________________________________________ > R-sig-Geo mailing list > [email protected] > https://stat.ethz.ch/mailman/listinfo/r-sig-geo > _______________________________________________ R-sig-Geo mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-geo
