[R-sig-Geo] extracting non-NA values from RasterLayer

2012-04-25 Thread Carson Farmer
Dear list, I am currently dealing with extremely large raster datasets (100s of millions of cells), and am masking out large regions which are of no particular interest for our current project. This produces RasterLayers with a large number of NAs (but still millions of non-NA cells as well). What

Re: [R-sig-Geo] extracting non-NA values from RasterLayer

2012-04-25 Thread Rafael Wüest
Hi Carson, check ?rasterToPoints from raster package. That should do it! Rafi On 25.04.2012, at 12:26, Carson Farmer wrote: Dear list, I am currently dealing with extremely large raster datasets (100s of millions of cells), and am masking out large regions which are of no particular

[R-sig-Geo] averaging home range contours

2012-04-25 Thread Melanie Shapiera
Hello all I am trying to run some Monte Carlo simulations on single individuals in R. So far, I have sampled 100 X and Y coordinates from known positions of an individual, 100 times. This results in a list of 200. I then convert this list into a dataframe that is more condusive to eventual

[R-sig-Geo] Overlaying maps

2012-04-25 Thread mas.cyrille2
Dear all, I am a botanist and I need some assistance for overlaying maps under R. I have an altimetric file for Madagascar in .gri. This file come from http://www.diva-gis.org/gdata (and the original data seem to have been edited by CGIAR STRM). I realize a plot of this file and I’m

Re: [R-sig-Geo] Overlaying maps

2012-04-25 Thread Raphael Saldanha
Hi Cyrille, This can be something linked to the projection of your files. All geographical data have a projection, and, for a correct overlaying, the projection should be informed to the software (ArcView, ArcGIS, R, etc), and will be better if all the data have the same projection. Can you

Re: [R-sig-Geo] earth Package question for running a loop

2012-04-25 Thread Brooke, J.
-- De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onterecht ontvangt, wordt u verzocht de inhoud niet te gebruiken en de afzender

Re: [R-sig-Geo] semi-transparent mapping - overlapping areas

2012-04-25 Thread Juta Kawalerowicz
Dear Roger and Roman, Thanks for answering, with your kind help I compiled the maps I wanted. Best wishes, Juta From: Roger Bivand [roger.biv...@nhh.no] Sent: 25 April 2012 11:34 To: Roman Luštrik Cc: Juta Kawalerowicz; r-sig-geo