Skip to content

AT: extract the archive instead of reading through /vsizip - #238

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

AT: extract the archive instead of reading through /vsizip#238
ivorbosloper wants to merge 1 commit into
mainfrom
split/at

Conversation

@ivorbosloper

@ivorbosloper ivorbosloper commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

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 extracts the archive once, and the same read takes 74 seconds and 4.7 GB.

Worth checking in any other converter whose source is a zipped .gpkg. Seven editions, 2018-2024.

🤖 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
@ivorbosloper ivorbosloper changed the title AT: extract the archive rather than read the GeoPackage inside it AT: extract the archive instead of reading through /vsizip Sep 12, 2026
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