Skip to content

AT: extract the archive rather than read the GeoPackage inside it - #238

Open
ivorbosloper wants to merge 1 commit into
mainfrom
split/at
Open

AT: extract the archive rather than read the GeoPackage inside it#238
ivorbosloper wants to merge 1 commit into
mainfrom
split/at

Conversation

@ivorbosloper

Copy link
Copy Markdown
Collaborator

Part of the publish-portolan split (#231-#237).

GDAL re-inflates the whole deflate stream on every SQLite seek when a GeoPackage is read through /vsizip. The 2018 edition read 85 GB out of a 1.7 GB archive in 40 minutes without finishing. Naming the inner file ({url: ["*.gpkg"]}) makes vecorel extract the archive once, and the same read then takes 74 seconds and 4.7 GB.

Worth checking in any other converter whose source is a zipped .gpkg.

Seven editions (2018-2024) are built and published this way. Original commit: d15e0d1.

🤖 Generated with Claude Code

https://claude.ai/code/session_01DVx9uQV2QPM8ecPAY3ZjXG

GDAL re-inflates the whole deflate stream on every SQLite seek when a GeoPackage
is read through /vsizip. The 2018 edition read 85 GB out of a 1.7 GB archive in
40 minutes without finishing. Naming the inner file makes vecorel extract the
archive once, and the same read then takes 74 seconds and 4.7 GB.

Seven editions (2018-2024) are built and published this way.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DVx9uQV2QPM8ecPAY3ZjXG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant