CesiumGS / 3d-tiles

Specification for streaming massive heterogeneous 3D geospatial datasets :earth_americas:
2.11k stars 467 forks source link

Need for a new 3dtiles archive format #422

Open erikdahlstrom opened 4 years ago

erikdahlstrom commented 4 years ago

In the OWT program, Vricon has identified the need for an archive format for 3dtiles with the following requirements:

The existing 3dtiles sqlite archive format fails to meet the first criteria.

Our proposed solution, now in use in the OWT program, is using a standard zip format container as the basis. With just a few restrictions on what zip features may be used, and adding an index to speed up reading, all the necessary requirements are fulfilled. The file extension selected for this new archive format is *.3tz.

Note that because the container is a valid zip archive, it's possible to unzip the *.3tz and inspect everything inside, using readily available zip tools.

Please see the 3D Tiles Archive Format 1.0.pdf specification document for the details.

A reference implementation, including validation of a *.3tz archive and it's index file can be found on this branch:

The code for the *.3tz reader is all here:

The validator will check to make sure the *.3tz index has all files in it, ensure offsets are correct and some basic checks on the flags set in the zip archive itself.

erikdahlstrom commented 4 years ago

Related to #89, #399

erikdahlstrom commented 3 years ago

Support for compression was added in 3D Tiles Archive Format 1.1.pdf.

erikdahlstrom commented 2 years ago

The restrictions for being entirely self-contained were lifted in 3D Tiles Archive Format 1.3.pdf.

onsummer commented 2 years ago

Can a tileset pack into an sqlite file?

erikdahlstrom commented 2 years ago

The specification (and copies of the older drafts) have been moved to new repo https://github.com/erikdahlstrom/3tz-specification.

bjornblissing commented 6 months ago

The specification (and copies of the older drafts) have been moved to new repo https://github.com/Maxar-Corp/3tz-specification