Re: Extremely slow performance with shapefile and geopackage
toggle quoted messageShow quoted text
René, this is all good advice.
In the past, saving to a geopackage could be especially slow because of the overhead of transactions. Every Collection write() would happen within its own transaction. Since version 1.8 of Fiona, calling writerecords() uses a default transaction size of 20,000 features (see https://fiona.readthedocs.io/en/latest/README.html#a1-2017-11-06) and is much faster.
Geopandas uses the faster method since https://github.com/geopandas/geopandas/issues/557#issuecomment-332202764. You may want to check to see if a geopandas upgrade improves your situation.
On Thu, Nov 14, 2019 at 8:33 AM René Buffat <buffat@...> wrote: