Skip to content

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

Merged
ivorbosloper merged 2 commits into
mainfrom
split/at
Sep 14, 2026
Merged

ivorbosloper merged 2 commits 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.

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
@ivorbosloper
ivorbosloper merged commit 53e374f into main Sep 14, 2026
7 checks passed
@ivorbosloper
ivorbosloper deleted the split/at branch September 14, 2026 12:01
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.

2 participants