[GRASS-dev] Re: Problem when loading GRASS 6 raster with large integer values into R via r.out.bin

Roger Bivand Roger.Bivand at nhh.no
Thu Sep 18 17:01:23 EDT 2008


Roger Bivand <Roger.Bivand <at> nhh.no> writes:

> 
> Markus Neteler <neteler <at> osgeo.org> writes:
> 
> > 
> > On Wed, Sep 17, 2008 at 10:49 AM, Roger Bivand <Roger.Bivand <at> 
> > nhh.no> wrote:
> > > Markus Neteler <neteler <at> osgeo.org> writes:
> > >
> > means:
> > - the GDAL plugin is no option here since it does not respect current 
> >   region settings
> > - r.out.gdal is good since it does the job (AFAIK). Written in C

> I can revisit this in relation to using r.out.gdal for GRASS >= 6.3 
> instead of r.out.bin - in which case I can make r.out.gdal use 32 
> bits for integers and 64 bits for float/doubles.

Committed on R-spatial sourceforge CVS, new flag useGDAL=FALSE for now 
default, uses Int32 for CELL, so maybe could be tried to see if it works 
better than r.out.bin.

If it does, I'll change writeRAST6() too, change the default to TRUE, and 
release.

Roger

> 
> Roger
> 
> > Perhaps you mean r.out.gdal.sh?
> > 
> > Best
> > Markus
> > 
> 






More information about the grass-dev mailing list