Re: [R-sig-Geo] matching points to a raster - resolved

2009-06-08 Thread Struve, Juliane
thanks again for your time. Juliane From: milton ruser [milton.ru...@gmail.com] Sent: 06 June 2009 23:42 To: Struve, Juliane Subject: Re: [R-sig-Geo] matching points to a raster Have you tryed rename the .TXT raster to .ASC and read it using import.asc? bests mc

Re: [R-sig-Geo] matching points to a raster

2009-06-05 Thread milton ruser
Hi there, How about join.asc at adehabitat packages? I have done this kind of points-raster overlap without problem using that funcion. Cheers milton On Fri, Jun 5, 2009 at 2:49 PM, Kamran Safi wrote: > Hi, > > I am not sure this is trivial. I think the simplest solution would be to > find th

Re: [R-sig-Geo] matching points to a raster

2009-06-05 Thread Alexander Brenning
Hi Juliane, may I also suggest having a look at the pick.from.ascii.grid function (and the like) in the RSAGA package. This will use nearest neighbour interpolation (or, for reasonably small grids, may also use an ad hoc local kriging interpolation) to pick grid values (from grids with numeri

Re: [R-sig-Geo] matching points to a raster

2009-06-05 Thread Kamran Safi
Hi, I am not sure this is trivial. I think the simplest solution would be to find the closest grid cell centre (maybe using spDistN1 or simple vector length) and get the closest grid cell with environmental data and assign it to your animals' position. You can further complicate things by not

Re: [R-sig-Geo] matching points to a raster

2009-06-05 Thread rick reeves
Hi Juliane: I see that you are STILL pushing the outer limits of R - :} I have been working a lot with combining point/vector and raster files using the overlay() method in the sp package. I suspect that if you want to have two spatially registered layers (raster and point vector) and want to

Re: [R-sig-Geo] matching points to a raster

2009-06-05 Thread Tobias Vetter
I am not sure if I undersood your problem. Do you like to get rastervalues for a point theme? If yes, then overlay() might be helpful. Tobias Dear list, I am trying to incoporate spatial information (for example distance) into a movement model by reading an ascii -b converted raster and matchi

[R-sig-Geo] matching points to a raster

2009-06-05 Thread Struve, Juliane
Dear list, I am trying to incoporate spatial information (for example distance) into a movement model by reading an ascii -b converted raster and matching the raster with points of a movement path (for example fishmove$coord[fishmove$day==1]. Below is a section of my code to explain the problem