Skip to content

Incorrectly indexed file with null bounding box #50

@wonder-sk

Description

@wonder-sk

A user has pointed me to this dataset (28 MB LAZ):
https://drive.google.com/file/d/1YNBnZvc_85cXuMm9Tn1uS3Uzbkn7lKEt/view?usp=drive_web

Untwine indexes it incorrectly with the following hierarchy:

{
"0-0-0-0": 1,
"1-0-0-0": 0,
"2-0-0-0": 0,
"3-0-0-0": 0,
"4-0-0-0": 0,
"5-0-0-0": 0,
"6-0-0-0": 0,
"7-0-0-0": 7700716
}

Looking at the file's metadata, it seems the source of the trouble could be the fact that min/max X/Y/Z coordinates are all zero.

The user says the file was produced with CloudCompare, and CloudCompare also correctly displays it (which I can confirm).

I am not sure what to do here - is the file simply incorrectly written? Or is it valid? Should untwine detect such cases and handle them gracefully or just fail with some error message?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions