-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GDAL /vsizip fails to open ZIP archive which is compressed with Deflate64 #7013
Comments
A non-trivial one, given that Deflate64 is not supported by zlib itself: https://en.wikipedia.org/wiki/Deflate#Deflate64/Enhanced_Deflate. That said it seems that the code at https://github.com/madler/zlib/tree/master/contrib/infback9 could be used, seeing it mentioned at https://pypi.org/project/zipfile-deflate64/ |
Implemented in #7014. Was quite tricky as infback9 needs to be patched to be usable for streamed reading. |
Wow, thanks for your efforts, @rouault! |
/vsizip/: add read support for Deflate64 (fixes #7013)
/vsizip/: add read support for Deflate64 (fixes OSGeo#7013)
/vsizip/: add read support for Deflate64 (fixes OSGeo#7013)
Trying to read open data provided by the City of Hamburg in Germany leads to an issue with unsupported Deflate64 compression:
The related code section is here:
gdal/port/cpl_minizip_unzip.cpp
Line 1346 in 30daf01
I cannot judge how much effort it would be to implement support for the Deflate64 compression (for now we can go on with download/uncompress, then continue with GDAL) but I took liberty to open an issue.
The text was updated successfully, but these errors were encountered: