[gdal-dev] merging shapefiles larger than 4GB

2011-05-02 Thread Harsha Ch
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

Fwd: [gdal-dev] merging shapefiles larger than 4GB

2011-05-02 Thread Brian Wilson
I am afraid you are out of luck, the shapefile format restricts its size to 32 bit. See bytes 24-27 http://en.wikipedia.org/wiki/Shapefile Even if the SHP part was not so restricted, I bet the DBF part is. Cheers Brian On Mon, May 2, 2011 at 3:28 PM, Harsha Ch harsha...@gmail.com wrote: Hi

Re: [gdal-dev] merging shapefiles larger than 4GB

2011-05-02 Thread Chaitanya kumar CH
Harsha, 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...@gmail.com wrote: Hi all, I am using ogr2ogr merge