Hi

I want to get the data from a grid at locations based in a point vector
file. I am using the following code, and I get the error below.

Could anybody help to solve this?

Thanks

Rainer


> lastFire <- readAsciiGrid("fire_last_2006.asc")
> biota <- readShapePoints("Biota")
> overlay(lastFire, biota)
Error in SpatialPointsDataFrame(cc, x@data[idx, , drop = FALSE], proj4string
= CRS(proj4string(x))) :
  row.names of data and coords do not match
>

-- 
Rainer M. Krug, Centre of Excellence for Invasion Biology, Stellenbosch
University, South Africa

	[[alternative HTML version deleted]]

