[R-sig-Geo] error for converting between KML and Shape file

2009-12-10 Thread rusers.sh
Hi all, I try to use the readOGR and writeOGR in rgdal package to do the conversion KML and Shape files, but failed. Following is my codes for a simulated dataset. #library(rgdal);library(maptools);ogrDrivers() #generate a simulated point SHAPE file,its name is pointexamle0 and save in

Re: [R-sig-Geo] error for converting between KML and Shape file

2009-12-10 Thread Barry Rowlingson
On Thu, Dec 10, 2009 at 8:17 PM, rusers.sh rusers...@gmail.com wrote: Hi all,  I try to use the readOGR and writeOGR in rgdal package to do the conversion KML and Shape files, but failed. Following is my codes for a simulated dataset. #library(rgdal);library(maptools);ogrDrivers() #generate

Re: [R-sig-Geo] error for converting between KML and Shape file

2009-12-10 Thread rusers.sh
Thanks Barry. The problem is i didnot understand the parameters in the functions correctly. Thanks for your detailed explanation. 2009/12/10 Barry Rowlingson b.rowling...@lancaster.ac.uk On Thu, Dec 10, 2009 at 8:17 PM, rusers.sh rusers...@gmail.com wrote: Hi all, I try to use the readOGR