Robert J. Hijmans wrote: > > rgeos is looking very good! This can also be done with 'sp' : > > o = overlay(maillesfrance, spcsv2) > i = na.omit(unique(o)) > select = maillesfrance[i, ] > > plot(select) >
It seemed to be easier with sp but actually, it didn't worked. When i asked to R "select=maillesfrance[i,]", a warning message appeared : "Erreur dans xj[i] : type 'list' d'indice incorrect" meaning that this kind of list was incorrect. And i don't know why, i can't load rgeos... I work on Windows with the R version 2.11.1. Any help ? -- View this message in context: http://r-sig-geo.2731867.n2.nabble.com/grid-and-spatial-selection-tp5329029p5337149.html Sent from the R-sig-geo mailing list archive at Nabble.com. _______________________________________________ R-sig-Geo mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-geo
