Hi, 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.
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… Try compressing the resulting file. Nicolas Cadieux https://gitlab.com/njacadieux > Le 27 juill. 2022 à 22:47, krishna Ayyala via Qgis-user > <qgis-user@lists.osgeo.org> a écrit : > > > Hello, > 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. > > Regards. > _______________________________________________ > Qgis-user mailing list > Qgis-user@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
_______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user