Shapezip output format fails if the generated shapefile breaks the shapefile size limits

Description

The new ShapeDumper in Geotools will fan out multiple shapefiles if the maximum size is reached

Environment

None

Activity

Show:
Jukka Rahkonen
November 22, 2015, 12:31 PM

For documenting the new splitting feature it would be good to write what is the maximum size of shapefiles for this operation. There are some different interpretations about the limits (2 GB, 4 GB, or even 8 GB) and if the limit affects only .shp and .shx or also the .dbf part. I believe that the safe 2 GB limit should be used for the .shp part. I can't say if the size of .dbf should be controlled as well even theoretically it can be however big.

Andrea Aime
November 23, 2015, 11:24 AM

Documentation added, stating the 2GB safe limit is the default for both .shp and .dbf (as many programs use integer offsets to scroll over the DBF, even if you're right, theoretically there is no limit on it)

Andrea Aime
February 15, 2017, 11:48 AM

Mass closing all resolved issues not modified in the last 4 weeks

Fixed

Assignee

Andrea Aime

Reporter

Andrea Aime

Triage

None

Fix versions

Affects versions

None

Priority

Medium