Re: [R-sig-Geo] How to pick up cell values of grids using points?

2008-12-03 Thread Paul Hiemstra
Hi, Have a look at the overlay() function in the sp-package. cheers, Paul Yong Li wrote: > Hi ALL, > > I want to pick up cells values of a grid (say a RS image) using points' > positions. For example, I have an image and a point shape file with the same > coordinate system, then I try to overl

[R-sig-Geo] How to pick up cell values of grids using points?

2008-12-03 Thread Yong Li
Hi ALL, I want to pick up cells values of a grid (say a RS image) using points' positions. For example, I have an image and a point shape file with the same coordinate system, then I try to overlay points on the image, and want to get the cell values of the on-point cell and 8 surrounding cells