csv to las

Feel free to ask any question here
Post Reply
Aubam
Posts: 2
Joined: Wed Sep 25, 2019 10:41 am

csv to las

Post by Aubam »

Hi to all of you (and not only Daniel, I'm not sure he has the answer),
I'm working on a project where I have to use lidar points that I recorded by me and try to extract some information from the points.
I've already used cloudcompare for manipulating las files for example and generally point clouds, but the problem is that now, I have only the recorded points from the lidar in a csv file (Or a bag file).
I've done many researches and never found any answer, but does any one of you know how to convert a csv file to a proper point cloud (las file for example).
Thank you so much,
Regards,
Aubam14
hessel
Posts: 2
Joined: Fri Dec 20, 2019 3:46 pm

Re: csv to las

Post by hessel »

You can edit the CSV so that it's in X,Y,Z order and save it as a .XYZ file.
Then you can import the XYZ file into CloudCompare.
Chethana
Posts: 1
Joined: Wed Mar 02, 2022 9:28 am

Re: csv to las

Post by Chethana »

Is there any updates on this? Also can you suggest any alternate method to convert the .csv or .ulg file to .las (.laz) file?
Michel
Posts: 6
Joined: Wed Mar 02, 2022 8:42 am
Location: Luxembourg, Luxembourg

Re: csv to las

Post by Michel »

Hello Chethana,

Although CloudCompare is an efficient solution to convert .csv to .las either through the GUI or the command line, there is another open-source software developed specifically for the LAS format which is LAStools. (https://rapidlasso.com/). It is possible to use the graphical interface of the software or to use the scripts in ArcGIS and ERDAS.

The function you may be interested in is txt2las.exe (https://www.cs.unc.edu/~isenburg/lastoo ... README.txt) which converts text X Y Z to binary LAS. However, you will need to convert the .csv to a .txt file with the correct separators.
Post Reply