<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Hi,<div><br><div>There is a distinct possibility that the 5GB shape file is corrupt or that it will be if you manipulate it.  It’s too big for the normal shape file format.  I would first save it as a geopackage then stat looking at why the file is so big.  </div><div><br></div><div>Unless shapes can be simplified without loosing resolution (keep a back up always), you might have to split the file using a field to make multiple files (example splitting a lake file by state).  You may look at the data types.  Perhaps they can be simplified (ex int16 vs float64 for a filed that has no decimal values…</div><div><br></div><div>Try compressing the resulting file.<br><br><div dir="ltr">Nicolas Cadieux<div><a href="https://gitlab.com/njacadieux">https://gitlab.com/njacadieux</a></div></div><div dir="ltr"><br><blockquote type="cite">Le 27 juill. 2022 à 22:47, krishna Ayyala via Qgis-user <qgis-user@lists.osgeo.org> a écrit :<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div dir="ltr"><div>Hello,</div>I have a shapefile of 5GB in size. Is it possible to convert this shapefile to a smaller size file? It can be any format, not necessarily a shapefile. But, preferably a vector format. I tried to convert it into tiles, but that didn't work as it was losing the resolution. I am looking to convert this 5GB size file to about 500MB.<div><br></div><div>Regards.</div></div>
<span>_______________________________________________</span><br><span>Qgis-user mailing list</span><br><span>Qgis-user@lists.osgeo.org</span><br><span>List info: https://lists.osgeo.org/mailman/listinfo/qgis-user</span><br><span>Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user</span><br></div></blockquote></div></div></body></html>