[Qgis-user] Convert huge shapefile to small size

Andrea Giudiceandrea andreaerdna at libero.it
Thu Jul 28 13:19:37 PDT 2022


> *chris hermansen*
> /Thu Jul 28 13:05:08 PDT 2022/
> ------------------------------------------------------------------------
> With respect I think this conversation is moving off the point, which was
> related to a 5gb shapefile
>
> https://en.m.wikipedia.org/wiki/Shapefile
>
> Which is beyond the design limits of the Shapefile standards and perhaps
> therefore the source of the problem that the OP has.

Hi Chris,
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.
***

Best regards.

Andrea Giudiceandrea
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20220728/fee475f7/attachment.htm>


More information about the Qgis-user mailing list