Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Writing .las file from raw data, not from copying a header? #6

Open
carbocation opened this issue Feb 22, 2022 · 1 comment
Open

Writing .las file from raw data, not from copying a header? #6

carbocation opened this issue Feb 22, 2022 · 1 comment

Comments

@carbocation
Copy link

Is there a demonstration for how to use this to write a .las file from scratch? The examples show how to write a .las file, but this seems to involve first reading a .las file (and reusing its header).

Right now, when I'm making one from scratch, the las2las program rejects the output as invalid. E.g., the Las version appears off, even though the Header in this program reports VersionMajor as 1 and VersionMinor as 3:

WARNING: unknown version 111.104 (should be 1.0 or 1.1 or 1.2 or 1.3 or 1.4)

I suspect that I may need to modify the header, but it would be great if there were an basic example of doing so without starting from a pre-existing Las file.

@carbocation
Copy link
Author

Actually it looks like writing .las files is fixed in this fork. At least, that fork worked for me as expected.

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

No branches or pull requests

1 participant