Opened 11 years ago
Closed 10 years ago
#4911 closed defect (fixed)
OGR-generated shapefiles larger than 2GB don't load in ArcMap
Reported by: | freekvw | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 1.11.0 |
Component: | OGR_SF | Version: | 1.9.2 |
Severity: | normal | Keywords: | shapefile |
Cc: |
Description
After r18413 (see bug #3236), OGR can write shapefiles of size up to 4GB. Such big shapefiles can unfortunately not be loaded in ArcMap (it stops reading after the first 2GB of data). The attached patch therefore limits the size of written shapefiles to 2GB.
In case ArcMap compatibility is not required by certain users it might be nice to let the user decide if shapefile size should be limited to 2 or 4GB, but for me that's not so interesting so it's not implemented in the patch.
Attachments (1)
Change History (3)
by , 11 years ago
Attachment: | shapefile-size.patch added |
---|
comment:1 by , 10 years ago
comment:2 by , 10 years ago
Milestone: | → 1.11.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Done as documented in http://www.gdal.org/ogr/drv_shapefile.html:
2GB_LIMIT=YES/NO: (OGR >= 1.11) set the YES to enforce the 2GB file size for .SHP or .DBF files. Defaults to NO.