Wanted to post an exchange with Roger Bivand on combining KML files. 

I had hoped to combine multiple KML files into a single
SpatialPolygonsDataFrame. I used readOGR to bring files into R; had I worked
with .shp files, I might've used readShapePoly and a unique IDvar. SPRbind
construction would have followed.

Turns out I needed to review spChFIDs-methods in the sp package. Roger said, 
'they let you assign row.names to the geometries and the data slot
data.frame consistently.'

Zack

--
View this message in context: 
http://r.789695.n4.nabble.com/Combining-two-or-more-KML-files-in-R-tp4378333p4378333.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.

Reply via email to