koji higuchi wrote > Hi Even > I managed to write gpkg without ogr without fiona using class > ShapeConverter(osmium.SimpleHandler). > still, speed seems slow. > Any idea to increase it up.
Hi, Have you realised the importance of making big transactions? You can read background information from https://sqlite.org/atomiccommit.html. Every transaction has quite heavy initial cost and if your code is saving only one row per transaction it will be slow. If your code with ShapeConverter(osmium.SimpleHandler) is slow I suggest to study what kind of transactions it is generating. -Jukka- -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html _______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
