Skip to content

Extract multiple raster but obtain NULL values

2 messages · Diego Valbuena, Robert J. Hijmans

#
Diego,
To check what extract does you should look at what it returns! Your
object "rasValue" in this case.
Then it should be easy to understand that the mistake is here:

combine=cbind(points,rasValue)

You can fix it like this:

combine=cbind(coordinates(points), rasValue)
Robert
On Thu, Jul 18, 2013 at 1:36 AM, Diego Valbuena <dfvv at yahoo.com> wrote: