I have a million points and a large shape file 8gb which is too big for to load into memory in R. The shape file is single-layer so a given x,y will hit at most one polygon - as long as it's not exactly on a boundary! Each polygon is labelled with a 'severity' - e.g. 1,2,3. I'm using R on a 64-bit ubuntu machine with 12gb ram.
What's the simplest way to be able to "tag" the data frame to the polygon 'severity' so that I get a data.frame with an extra column, i.e. x,y,severity?
Thanks, Sean