Reputation
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
3 9
Newest
 r
Impact
~44k people reached

1d
comment Change raster projection in R
See cross-posted question here: stackoverflow.com/questions/35340162/…
Feb
6
revised Failure of the code calling the function “rasterize” in R: NAs or no slots
remove unnecessary (and hence distracting) code
Feb
6
suggested approved edit on Failure of the code calling the function “rasterize” in R: NAs or no slots
Feb
6
answered Failure of the code calling the function “rasterize” in R: NAs or no slots
Feb
4
revised Increase speed of reverse clip (erase) for large shapefiles in R
added 108 characters in body
Feb
4
answered Increase speed of reverse clip (erase) for large shapefiles in R
Feb
3
answered Spearman correlation between two rasters in R
Feb
1
comment R raster() function failed to read tif file
If it were a path issue, you would get a "file does not exist" message. The file probably is corrupted.
Jan
31
comment problem when doing algebra with raster layers in R
You state that ` this operation leads me to a constant value` but that is not correct. Do show(Q) and you will see the range of values. Because of the odd range of values (mostly very close to zero, but with some outliers, the default legend is not helpful. But see plot(log(Q)) or plot(Q, zlim=c(-0.0001, 0.0001)) (and fdetsch's answer)
Jan
30
revised Spplot SpatialPolygonDataFrame and SpatialGridDataFrame
put code in code block, also separating input & output (with a #)
Jan
30
suggested approved edit on Spplot SpatialPolygonDataFrame and SpatialGridDataFrame
Jan
20
comment Keys for merging US state/county ANSI's with GADM Unique identifiers?
See: gis.stackexchange.com/questions/176722/…
Jan
20
answered R: aggregate raster with 'mode' function - how does it work?
Jan
19
comment Defining the correct AEA proj4string for FEWSnet Rainfall Data (Southern Africa) in R
In R this EPSG code does not work. Is it an ESRI code (see spatialreference.org/ref/esri/africa-albers-equal-area-conic). This suggests that in R you would use +proj=aea +lat_1=20 +lat_2=-23 +lat_0=0 +lon_0=25 +x_0=0 +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m +no_defs
Jan
19
comment Defining the correct AEA proj4string for FEWSnet Rainfall Data (Southern Africa) in R
The reason the reported CRS is NA is that the hdr (header) file of the bil format does not normally store this information. So you need to know it. The 'bil' format is simple, but archaic.
Jan
18
answered Masking low quality raster with polygons in R gives weird overhang?
Jan
18
comment How to join a table to a shapefile with non-matching IDs and names (similar strings)?
df has no geometries, hence the final step with merge. Spatial aggregate is useful for different cases (if, in this example, NAME_1 had duplicates.)
Jan
17
revised How to join a table to a shapefile with non-matching IDs and names (similar strings)?
added 86 characters in body
Jan
17
comment How to join a table to a shapefile with non-matching IDs and names (similar strings)?
Do not use arm@data, that would create a big mess (records not matching their correct geometries)
Jan
17
revised How to join a table to a shapefile with non-matching IDs and names (similar strings)?
added 25 characters in body