[gdal-dev] Alternative to GPKG format
jratike80
jukka.rahkonen at maanmittauslaitos.fi
Thu Nov 1 04:33:14 PDT 2018
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
More information about the gdal-dev
mailing list