hobuinc / untwine

GNU General Public License v3.0
52 stars 22 forks source link

Segmentation fault when using --dims #150

Closed flemmens closed 9 months ago

flemmens commented 9 months ago

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 commented 9 months ago

"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 commented 9 months ago

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 commented 9 months ago

Reproduced.

abellgithub commented 9 months ago

Fixed by #151