I am trying to change the point_source ID.
lasinfo -i D:\Users\Masterarbeit\Gebiet1\25021.las -set_point_source_to 25021
lasinfo -i D:\Users\Masterarbeit\Gebiet1\25021.las -change_point_source_from_to 21 25021
The program runs correctly and in the cmd it looks like the values have changed, but when I start lasinfo to check, the old values are still there.
So I tried this command:
las2las -i D:\Users\Masterarbeit\Gebiet1\25021-o D:\Users\Masterarbeit\Gebiet1\25021neu.las -set_point_source 25021
It creates the new file and the point_source ID is changed correct.
I would not prefer using las2las to create a new file and just use the lasinfo command to change the exsisting file. What am I doing wrong?
I also change the file source id and the file creation date with the lasinfo tool. They change correctly and also stay changed, only the point source is not working for me.
Thanks for your help!
Btw: Lastools is really awesome!
Thanks for your help, guys.
Yes I am referring to File_Source_ID and Point_Source_ID and the file is an original swath. This is what I am trying to do, to fulfil the specifications of the LAS 1.1. The two IDs are wrong and must be changed.
The Original Files are save will be not altered. I was trying to save disk space and time, because first it looked like that the lasinfo command was faster than the las2las.
I will now use las2las, but I think it’s confusing that the -set_point_source_to and -change_point_source_from_to commands are included in the lasinfo_README.txt.