Skip to content

Spec disagrees with sample files about indexStartOffset = 0 #338

@nh2

Description

@nh2

Spec says in TABLE 35 Fields for the CompressedVector Header about indexStartOffset:

The file offset to the root level index packet in this binary section (in bytes). Shall be in the interval (0, 263).

Image

and in section 5.2.1 about intervals:

An open interval is denoted (a, b), where ab. An open interval includes the numbers between the endpoints a and b, but does not include the endpoints themselves.

So indexStartOffset = 0 should be illegal as per spec.

But the sample file bunnyFloat.e57 from http://www.libe57.org/data.html seems to set indexStartOffset = 0.

Just sharing this info here for now.


(I'm currently investigating why Autodesk ReCap can import bunnyFloat.e57 but errors on importing that file after rountripping it through CloudCompare which uses libE57Format for writing. I suspect that ReCap cannot read E57 index packets, and thus found the above.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions