0
votes
0answers
19 views

How do I randomly alter a raster with som correlation

I need to randomly alter an existing raster. The original raster is essentially a topography map that measures its values around a normal distribution ranging between 0.5 and 1.5 The new raster ...
7
votes
3answers
293 views

R - How to sampleRandom() from large raster without NA values

I have a number of vary large rasters which need to be randomly sampled with the return value being a matrix of x, y, and value. The raster package sampleRandom(raster,n, na.rm=TRUE, xy=TRUE) will do ...
1
vote
1answer
115 views

Set certain amount of pixels to 1 inside of a polygon (GRASS)

I have a rather coarse vector map with polygons and want to calculate a (sufficiently) finer raster map defined by spatial extension and resolution. Every polygon of the vector map has a value ...