[GRASS-windows] Large file support?
Jonathan Greenberg
greenberg at ucdavis.edu
Tue Jul 29 11:27:16 EDT 2008
I remember having problems with LFS and GDAL when we were compiling
starspan for windows use (starspan.casil.ucdavis.edu) -- I'll ask our
lead programmer about that. We used to have to use:
export CPPFLAGS=-D_FILE_OFFSET_BITS=64
export CXXFLAGS=-D_FILE_OFFSET_BITS=64
export CFLAGS=-D_FILE_OFFSET_BITS=64
to get GDAL to compile with LFS correctly, although we haven't used that
for a long time.
Unfortunately, its going to be difficult to get you a 7gb file -- is
there any easy way to make a test image in GRASS with random values? If
so, you could export it to ENVI format via r.out.gdal and then re-import
it via r.in.gdal.
The file system is definitely ntfs -- I routinely use > 4gb files
through ENVI on these same systems.
Again, has *anyone* besides me performed a > 4gb import via r.in.gdal in
grass windows recently that can confirm/deny this issue? This would
isolate the problem to *me* rather than taking up everyone's valuable
time thinking its a generic problem!
--j
Marco Pasetti wrote:
> Hi Jonathan,
>
>> "run" button returned to black (usually a good back-up indication that
>> a process is finished, if the progress bar isn't working).
>
> yes, correct
>
>> I think *grass* can deal with big files, but the GDAL compile it is
>> relying on probably isn't configured correctly.
>
> I really don't how could that be... the GDAL configure doesn't mention
> about large file support at all!
> the only thing that I could figure out now is that the problem could
> occur if GRASS is installed on a FAT32 partition...
>
> could you please give me that file? I could do some tests and try to
> track down the process, to check where and why it fails
>
> Regards,
>
> Marco
>
--
Jonathan A. Greenberg, PhD
Postdoctoral Scholar
Center for Spatial Technologies and Remote Sensing (CSTARS)
University of California, Davis
One Shields Avenue
The Barn, Room 250N
Davis, CA 95616
Cell: 415-794-5043
AIM: jgrn307, MSN: jgrn307 at hotmail.com, Gchat: jgrn307
More information about the grass-windows
mailing list