[GRASS-user] Large File Support (LFS)

John Tate john.tate at ntlworld.com
Tue Mar 23 07:57:15 EDT 2010


Hamish wrote:
>...
> if you have a 32bit machine, the solution/workaround for this is
> to pipe from stdin instead.  try this:
> 
> cat /home/bob2/rawdata/clean/test4.asc | r.in.xyz input=- \
>   output=test4 method=min fs=, x=6 y=7 z=8
> 
> or this:
> 
> r.in.xyz input=- output=test4 method=min fs=, x=6 y=7 z=8 < \
>   /home/bob2/rawdata/clean/test4.asc
...

> > and <2Gb files start to process fine (without -s flag)(didn't continue
> > processing, to save time in testing), but >2Gb give the same
> > message: 'Unable to open input file...'
> 
> try sending the data via stdin rather than reading the file
> directly, as in the examples above.

Nice one, cheers. That solves the challenge.

> > I compiled and installed yesterday (20/03/10) following the
> > specific Ubuntu page, but added yes to largefile support (and
> > ignored the slight typo over folder locations, 'grass_current
> > / grass_trunk'.)
> 
> you mean the wiki page?
 
Yep: http://grass.osgeo.org/wiki/Compile_and_Install_Ubuntu#Dependencies

  "download latest source code from GRASS SVN repository in a directory on the     
system (e.g. /usr/local/src)

  svn checkout https://svn.osgeo.org/grass/grass/branches/releasebranch_6_4 \ 
grass_current

  Above command places GRASS' source code in /usr/local/src/grass_trunk...."

For the text to remain consistent in the example (and for beginners of 
compiling and using linux, e.g. me!)) this should fix any confusion:

svn checkout https://svn.osgeo.org/grass/grass/branches/releasebranch_6_4 \ 
/usr/local/src/grass_trunk


Thanks

John


More information about the grass-user mailing list