Skip to content

ensure header is consistent after unit conversion#58

Merged
MeganDawson42 merged 3 commits into
mainfrom
INS-2418
May 5, 2026
Merged

ensure header is consistent after unit conversion#58
MeganDawson42 merged 3 commits into
mainfrom
INS-2418

Conversation

@MeganDawson42

Copy link
Copy Markdown
Collaborator

Fix the min/max XYZ in the las header to be consistent with the unit conversion

Signed-off-by: Megan Dawson <meganldawson42@gmail.com>
i-kieu
i-kieu previously approved these changes May 1, 2026
Signed-off-by: Megan Dawson <meganldawson42@gmail.com>
BenCurran98
BenCurran98 previously approved these changes May 5, 2026
zqiaofugro
zqiaofugro previously approved these changes May 5, 2026
Signed-off-by: Megan Dawson <meganldawson42@gmail.com>
@MeganDawson42 MeganDawson42 dismissed stale reviews from zqiaofugro and BenCurran98 via 954e7ec May 5, 2026 01:52
Comment thread src/write.jl
# reverse our unit conversion done on ingest so the positions match the header / VLR info
if get_unit_conversion(las) != NO_CONVERSION
pc.position .= map(p -> p ./ get_unit_conversion(las), pc.position)
_consolidate_point_header_info!(header, pc)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function updates the header with new unit?

@MeganDawson42 MeganDawson42 merged commit bf25b59 into main May 5, 2026
8 of 10 checks passed
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.

5 participants