<div dir="ltr">Dear All,<br><br>I also have the same problem, but I am running Native WinGrass, and my image is about 60,000x48,000 cells.<br>I am using r.in.gdal to import the image (which is 32bits, because I have values greater than 250,000). <br>
When I import the .img file, only the upper part of my map is loaded. How can I solve it on my system, <br>taking in account that I have no way of (re)compile WinGrass because I have limited knowledge with<br>this kind of tasks on computer?<br>
<br>Any help are welcome.<br><br>Miltinho Astronauta<br>brazil<br><br><div class="gmail_quote">2008/7/29 Frank Warmerdam <span dir="ltr">&lt;<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Glynn Clements wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
If code is obtaining the file size using stat(), it isn&#39;t going to<br>
work on files &gt;2GiB. You could try manually changing the last two<br>
defines to:<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;/* Define to name of 64bit stat function */<br>
 &nbsp; &nbsp; &nbsp; &nbsp;#define VSI_STAT64 _stat64<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;/* Define to name of 64bit stat structure */<br>
 &nbsp; &nbsp; &nbsp; &nbsp;#define VSI_STAT64_T __stat64<br>
</blockquote>
<br></div>
Glynn,<br>
<br>
Good advice.<br>
<br>
If it works, please file a GDAL ticket with the details,and we may be<br>
able to add this to configure.<div class="Ih2E3d"><br>
<br>
Best regards,<br>
-- <br>
---------------------------------------+--------------------------------------<br>
I set the clouds in motion - turn up &nbsp; | Frank Warmerdam, <a href="mailto:warmerdam@pobox.com" target="_blank">warmerdam@pobox.com</a><br>
light and sound - activate the windows | <a href="http://pobox.com/%7Ewarmerdam" target="_blank">http://pobox.com/~warmerdam</a><br>
and watch the world go round - Rush &nbsp; &nbsp;| President OSGeo, <a href="http://osgeo.org" target="_blank">http://osgeo.org</a><br>
<br>
_______________________________________________<br></div><div><div></div><div class="Wj3C7c">
grass-windows mailing list<br>
<a href="mailto:grass-windows@lists.osgeo.org" target="_blank">grass-windows@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-windows" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-windows</a><br>
</div></div></blockquote></div><br></div>