[gdal-dev] merging shapefiles larger than 4GB

Chaitanya kumar CH chaitanya.ch at gmail.com
Mon May 2 23:01:52 EDT 2011


It is advisable to limit the file size to 2GB. Though 4GB is possible, not
all software implement up to that limit. You may have problems if you ever
use it in other software.

On Tue, May 3, 2011 at 3:58 AM, Harsha Ch <harsha.ch at gmail.com> wrote:

> Hi all,
>       I am using ogr2ogr merge all my shapefiles into one large file. Its
> failing with following error
> ERROR 1: Failed to write shape object. File size cannot reach 4294967280 +
> 28.
> ERROR 1: Terminating translation prematurely after failed
> I looked at shapefil.h its using unsigned int for filesize which would
> restrict the filesize to 4GB.
> Is there any easy way to increase the filesize it can address, compiling in
> 64bit doesn't help either.
> I'll appreciate if you can give me any pointers on this issue .
> Thanks,
> Harsha
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev

Best regards,
Chaitanya kumar CH.
/tʃaɪθənjə/ /kʊmɑr/
17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110503/3e0136ef/attachment.html

More information about the gdal-dev mailing list