[gdal-dev] Writing a Tiff from R (was Writing a Tiff)

2009-01-20 Thread Michael Sumner
Hi, This should work better. I'm not greatly familiar with the lower-level R functions for GDAL, but the following should be closer to what you wanted. This assumes that "bm" is defined in the top level workspace, and the function can access it via R's scoping rules. You could use a similar

Re: [gdal-dev] Writing a Tiff

2009-01-19 Thread Henning Bredel
On Mon, 2009-01-19 at 20:57 +1100, Michael Sumner wrote: > Hello, > Hey Mike, thanks for your exhaustive answere :-) > Note this recent R-Sig-Geo post about the "in-development" nature of the > latest builds of rgdal - you need to let us know what versions you are > using. Also, view the defi

Re: [gdal-dev] Writing a Tiff

2009-01-19 Thread Michael Sumner
.9-28 rcom_2.0-4 rscproxy_1.0-12 loaded via a namespace (and not attached): [1] grid_2.8.1 lattice_0.17-17 tools_2.8.1 HTH, Regards, Mike. Subject: Re: [gdal-dev] Writing a Tiff From: Henning Bredel Date

Re: [gdal-dev] Writing a Tiff

2009-01-16 Thread Frank Warmerdam
Henning Bredel wrote: ups .. sorry, I was on the R-sig mailinglist before, so I forget to point the language out explicitely. It's R -- I'm using GDAL with a wrapper package called `rgdal' (Roger Bivand is involved in its development). Henning, Gotcha. I will note that the R bindings are not

Re: [gdal-dev] Writing a Tiff

2009-01-16 Thread Henning Bredel
On Thu, 2009-01-15 at 16:57 -0500, Frank Warmerdam wrote: > > ,---. > > bm.writeTiff <- function(bm,filename) { > > > > # GTiff ist standard but show it here, though > > driver <- new('GDALDriver', 'GTiff') > > > > t <- new("

Re: [gdal-dev] Writing a Tiff

2009-01-15 Thread Frank Warmerdam
Henning Bredel wrote: Hi there, (not sure if my last mail came through) I have read http://www.gdal.org/frmt_gtiff.html and I am wondering if I have to build GDAL on my own to get the possibility writing tiffs .. I tried something like ,---. bm.writeTiff <- fun

[gdal-dev] Writing a Tiff

2009-01-15 Thread Henning Bredel
Hi there, (not sure if my last mail came through) I have read http://www.gdal.org/frmt_gtiff.html and I am wondering if I have to build GDAL on my own to get the possibility writing tiffs .. I tried something like ,---. bm.writeTiff <- function(bm,filename) {

[gdal-dev] Writing a tiff

2009-01-15 Thread Henning Bredel
Hi there, I have read http://www.gdal.org/frmt_gtiff.html and I am wondering if I have to build GDAL on my own to get the possibility writing tiffs .. I try something like ,---. bm.writeTiff <- function(bm,filename) { # GTiff ist standard but show