Hi Ned,
This should work:
# Set output image properties
predrast <- setRaster(spot)
predrast <- setDatatype(predrast, 'INT1U')
filename(predrast) <- outImage
etc.
Robert
On Thu, Feb 26, 2009 at 10:15 PM, Ned Horning wrote:
> What is the recommended way to output a large byte GeoTiff image o
On Wed, 25 Feb 2009, Roger Bivand wrote:
On Tue, 24 Feb 2009, Heuvelink, Gerard wrote:
Dear list,
The stratified random sampling problem that I submitted a few days ago has
already been solved, with the help of several of you, notably Edzer
Pebesma. Edzer came up with the following solution
What is the recommended way to output a large byte GeoTiff image one
line at a time? I am creating large double and integer images using
writeRaster to create a GeoTiff file. I've been converting these to a
byte data type outside of R but it would be nice to R to output a byte
GeoTiff directly.
Hi,
Please also send your replies to the mailing list, and not only to me
personally. Other people might have better ideas than I have.
If your shapefile is too big for your memory, try to cut it up and do
your analysis on a subset of both your point data and polygon data. And
please provide