Comments (3)
Oh... that's subtle ...
😕
If you have any recommendations for alternative ZIP libraries, I'll have a look. Otherwise, I'll have a look at one of these 6302 libraries...
from 3d-tiles-tools.
@javagl Unfortunately I don't think one exists. This doesn't affect my project directly, but I wanted to write it up since we noticed it.
from 3d-tiles-tools.
I could reproduce this by creating a ZIP that uses Defalte64.
An aside: The Windows Explorer does not always seem to use it, even for large archives. From a quick test, it seemed that
- compressing a directory with many files (and >4GB) still used
Deflate
- compressing the same files in that directory directly (by selecting them all and adding them to a ZIP) caused it to use
Deflate64
Whatever the reason for that is.
In 7zip, the method can be selected explicitly, so that's an option for creating test data.
I have no idea how to resolve this, though. There does not seem to be any library that supports Deflate64. Even the zlib FAQ just say:
Does zlib support the new "Deflate64" format introduced by PKWare?
No. PKWare has apparently decided to keep that format proprietary, since they have not documented it as they have previous compression formats. In any case, the compression improvements are so modest compared to other more modern approaches, that it's not worth the effort to implement.
So we're out of luck here. If that comes up in practice, the only solution would be: Unpack that archive (in doubt, with some command-line call), and pass in the resulting directory.
Unrelated: I'm pretty sure that there is a bug related to that lurking in node-stream-zip
which tries to use zlib
for uncompressing Deflate64 data in the synchronous case, but not in the stream case, but that's none of our business for now...
from 3d-tiles-tools.
Related Issues (20)
- Questions about how to respond to errors during installation using yum in CentOS 7 HOT 5
- Document and extend the functionality of `createTilesetJson`
- Consider a command to re-compute bounding volumes
- missing BATCH_LENGTH property in b3dm files HOT 5
- ReferenceError: performance is not defined HOT 3
- `glTF model references separate files but no resourceDirectory is supplied` Error when upgrading legacy 3d tiles HOT 15
- Unable to set cartographic position while creating tileset.json HOT 3
- How to use the pipeline tool HOT 7
- Combining discards transforms of input tilesets
- Can a model be converted into multiple b3mm/i3mm to form a tiles set? HOT 4
- Creating b3dm results in loss of original attributes HOT 10
- Implement LOD grading for tiles HOT 8
- Unknown argument: convertB3dmToGlb error while executing 3d-tiles-tools HOT 1
- Texture transform is not written for property textures HOT 1
- Cannot extract data from GLB without BIN chunk
- The issue after merging 3dtiles HOT 2
- Merged tileset resolution HOT 16
- Consider pinning the Node version to a specific number
- Upgraded New York City b3dm tiles, but data not rendered using CesiumJS v1.113 HOT 15
- Fix legacy oct-encoded normals in glTF as part of `upgrade`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 3d-tiles-tools.