[GRASS-windows] Large file support?

Milton Cezar Ribeiro miltinho.astronauta at gmail.com
Wed Jul 30 00:01:25 EDT 2008


Dear All,

I also have the same problem, but I am running Native WinGrass, and my image
is about 60,000x48,000 cells.
I am using r.in.gdal to import the image (which is 32bits, because I have
values greater than 250,000).
When I import the .img file, only the upper part of my map is loaded. How
can I solve it on my system,
taking in account that I have no way of (re)compile WinGrass because I have
limited knowledge with
this kind of tasks on computer?

Any help are welcome.

Miltinho Astronauta
brazil

2008/7/29 Frank Warmerdam <warmerdam at pobox.com>

> Glynn Clements wrote:
>
>> If code is obtaining the file size using stat(), it isn't going to
>> work on files >2GiB. You could try manually changing the last two
>> defines to:
>>
>>        /* Define to name of 64bit stat function */
>>        #define VSI_STAT64 _stat64
>>
>>        /* Define to name of 64bit stat structure */
>>        #define VSI_STAT64_T __stat64
>>
>
> Glynn,
>
> Good advice.
>
> If it works, please file a GDAL ticket with the details,and we may be
> able to add this to configure.
>
> Best regards,
> --
>
> ---------------------------------------+--------------------------------------
> I set the clouds in motion - turn up   | Frank Warmerdam,
> warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam<http://pobox.com/%7Ewarmerdam>
> and watch the world go round - Rush    | President OSGeo, http://osgeo.org
>
> _______________________________________________
> grass-windows mailing list
> grass-windows at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-windows
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-windows/attachments/20080730/b4ef36b9/attachment.html


More information about the grass-windows mailing list