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

Segmentation fault when using --dims #150

Closed
flemmens opened this issue Jan 8, 2024 · 4 comments
Closed

Segmentation fault when using --dims #150

flemmens opened this issue Jan 8, 2024 · 4 comments

Comments

@flemmens
Copy link

flemmens commented Jan 8, 2024

Hello,

When I am trying to use the --dims option, I receive a "Segmentation fault" error.

This works fine:

untwine --files=mydata.las --single_file=true --output_dir=out

This does not work (Segmentation fault):

untwine --files=mydata.las --single_file=true --dims="X, Y, Z" --output_dir=out

Is this the correct way to use the --dims option ? There is not much info in the README. I would like to keep only X,Y,Z values.

@abellgithub
Copy link
Collaborator

abellgithub commented Jan 8, 2024

"output_dir" is for multi-file output. Just specify the output file as an argument:

untwine --files=mydata.las --single_file=true --dims="X, Y, Z" out.copc.laz

I'll try to harden the argument handling.

@abellgithub
Copy link
Collaborator

I forgot that this was correct syntax for the filename. I can't reproduce, so if you have a file that causes this behavior and can post, I can take a look.

@abellgithub
Copy link
Collaborator

Reproduced.

@abellgithub
Copy link
Collaborator

Fixed by #151

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

2 participants