[Qgis-user] WG: Convert huge shapefile to small size

Andrea Giudiceandrea andreaerdna at libero.it
Sat Jul 30 02:18:40 PDT 2022


> *Reetz, Michael (NLPV)*
> /Fri Jul 29 03:46:34 PDT 2022/
> ------------------------------------------------------------------------
> maybe I'm wrong, but isn't the maximum file size for the dbf format 2 GB? Obviously it is possible to put more data in it (with ESRI software ?), but this may lead to problems if the file is used with other software.

Hi Michael,
probably you missed my previous replay:

Il 28/07/2022 22:19, Andrea Giudiceandrea ha scritto:
> The QGIS / GDAL/OGR implementation goes beyond the normal ESRI 
> implementation limit ("2 GB size limit for any shapefile component file").
>
> See https://gdal.org/drivers/vector/shapefile.html
> ***
> Size Issues
> Geometry: The Shapefile format explicitly uses 32bit offsets and so 
> cannot go over 8GB (it actually uses 32bit offsets to 16bit words), 
> but the OGR shapefile implementation has a limitation to 4GB.
>
> Attributes: The dbf format does not have any offsets in it, so it can 
> be arbitrarily large.
> ***
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20220730/28821df4/attachment.htm>


More information about the Qgis-user mailing list