[GRASS-dev] Re: [GRASS GIS] #1106: r.terraflow limited to 32bit temp files in WinGrass

GRASS GIS trac at osgeo.org
Mon Jul 12 03:08:51 EDT 2010


#1106: r.terraflow limited to 32bit temp files in WinGrass
-----------------------------------+----------------------------------------
 Reporter:  hamish                 |       Owner:  grass-dev@…              
     Type:  task                   |      Status:  new                      
 Priority:  normal                 |   Milestone:  6.4.1                    
Component:  Raster                 |     Version:  svn-develbranch6         
 Keywords:  wingrass, r.terraflow  |    Platform:  MSWindows XP             
      Cpu:  x86-32                 |  
-----------------------------------+----------------------------------------

Comment(by mmetz):

 Replying to [ticket:1106 hamish]:
 >
 > The ftell() solution is not 64bit safe though, so it awaits a backport
 of G_ftell() [or even better `off_t G_filesize()`] in some later release.
 >

 AFAICT this will only work if LFS is globally enabled/disabled in grass,
 as in grass7. The modifications done in grass7 are probably too
 fundamental to backport (not sure about libgis and the raster part, but
 for the vector part I had to change core functions in the vector libs).

 BTW, the 2GB temp file limit also applies to various other modules (all
 vector modules, r.watershed.seg, r.cost, r.walk, r.drain, r.proj...)

 Markus M

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/1106#comment:2>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list