<div class="gmail_quote">I am afraid you are out of luck, the shapefile format restricts its size to 32 bit. See bytes 24-27<br><br><a href="http://en.wikipedia.org/wiki/Shapefile" target="_blank">http://en.wikipedia.org/wiki/Shapefile</a><br>
<br>Even if the SHP part was not so restricted, I bet the DBF part is. <br>
<br>Cheers<br><br>Brian<br><br><div class="gmail_quote">On Mon, May 2, 2011 at 3:28 PM, Harsha Ch <span dir="ltr"><<a href="http://harsha.ch" target="_blank">harsha.ch</a>@<a href="http://gmail.com" target="_blank">gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi all,<div> I am using ogr2ogr merge all my shapefiles into one large file. Its failing with following error</div>
<div><div>ERROR 1: Failed to write shape object. File size cannot reach 4294967280 + 28.</div><div>ERROR 1: Terminating translation prematurely after failed</div>
</div><div><br></div><div>I looked at shapefil.h its using unsigned int for filesize which would restrict the filesize to 4GB. </div><div>Is there any easy way to increase the filesize it can address, compiling in 64bit doesn't help either.</div>
<div>I'll appreciate if you can give me any pointers on this issue .</div><div><br></div><div>Thanks,</div><div>Harsha</div>
</blockquote></div></div>