[R-sig-Geo] grid and spatial selection
Laetitia Blanc
blanc.laetitia.esr34 at gmail.com
Mon Jul 26 11:09:41 CEST 2010
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.
More information about the R-sig-Geo
mailing list