Hi all, I got some trouble trying to open a .kml file into R. Usually, the readOGR package works great for it but here I get a message error that I can't understand.
When I'm typing this : myfile <-readOGR(dsn="/windows/landuse.kml",layer="agricultural use") I get the following error : Error in ogrInfo(dsn = dsn, layer = layer, encoding = encoding, use_iconv = use_iconv) : Multiple incompatible geometries: 6:7 It seems that the file is read, since I get different parameters on it while using OGRSpatialRef() or ogrListLayers() Someone would have any idea to solve the "incompatible geometry" error ? Thanks for help! -- View this message in context: http://r.789695.n4.nabble.com/trouble-using-readOGR-function-tp4687937.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.