Skip to content
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

fix:maptool:create valid zip64 central directory #915

Merged
merged 2 commits into from
Oct 18, 2019
Merged

Conversation

metalstrolch
Copy link
Contributor

This fixes the zip64 central directory created by the maptool.
While the broken one works on navit, it failed to extract with usual zip
tools due to parts of the zip64 end of directory part not being filled
correctly with values.
This happens on all 64 bit zip files generated by maptool including the sample map since the multipolygon patches.

Files downloaded from planet extractor are and always have been corrupt as well. Without the source of the planet extractor, I don't know if this actually fixes the files shared by planet extractor as well.

metalstrolch and others added 2 commits October 17, 2019 11:29
This fixes the zip64 central directory created by the maptool. While the
broken one works on navit itselve, it failed to extract with usual zip
tools due to parts of the zip64 end of directory part not being filled
correctly with values.
@jkoan
Copy link
Member

jkoan commented Oct 18, 2019

As far as i rememper from reading the zip spec some time ago this is correct :D

@metalstrolch
Copy link
Contributor Author

Merging this. Hope it doesn't have any negative effect on the planet extractor.
Done this to ease up working on a "planet extractor" tool myself.

@metalstrolch metalstrolch merged commit 6c16e5a into trunk Oct 18, 2019
@metalstrolch metalstrolch deleted the fix_zip64 branch October 18, 2019 08:27
jkoan pushed a commit to jkoan/navit that referenced this pull request Oct 24, 2019
This fixes the zip64 central directory created by the maptool. While the
broken one works on navit itselve, it failed to extract with usual zip
tools due to parts of the zip64 end of directory part not being filled
correctly with values.
hoehnp pushed a commit that referenced this pull request Nov 4, 2019
This fixes the zip64 central directory created by the maptool. While the
broken one works on navit itselve, it failed to extract with usual zip
tools due to parts of the zip64 end of directory part not being filled
correctly with values.
viktorgino pushed a commit that referenced this pull request Sep 22, 2020
This fixes the zip64 central directory created by the maptool. While the
broken one works on navit itselve, it failed to extract with usual zip
tools due to parts of the zip64 end of directory part not being filled
correctly with values.
jkoan pushed a commit to jkoan/navit that referenced this pull request Jun 30, 2021
This fixes the zip64 central directory created by the maptool. While the
broken one works on navit itselve, it failed to extract with usual zip
tools due to parts of the zip64 end of directory part not being filled
correctly with values.
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