LAStools is a collection of tools for LiDAR data processing.
LAStools is included in following modules:
- lastools: 2023 (more exactly 230914) and 2022 (220613)
- geoconda: 3.10.9 and 3.10.6 (both with older 20171231)
Load one of these modules, for example the newest version (default):
module load lastools
The 2023 version of LAStools is based on the new native Linux version of LAStools and requires
64 at the end of all tools. You can test that the LAStools module is loaded successfully with
For all older versions, for example in the geoconda module, you will need to omit the 64 at the end of the tool name, for example:
All lastool installations in Puhti include the open source tools of LAStools.
- las2las - extracts last returns, clips, subsamples, translates, etc ...
- las2txt - turns LAS into human-readable and easy-to-parse ASCII
- lasdiff - compares the data of two LAS/LAZ/ASCII files
- lasindex - creates a spatial index LAX file for fast spatial queries
- lasinfo - prints out a quick overview of the contents of a LAS file
- lasmerge - merges several LAS or LAZ files into a single LAS or LAZ file
- lasprecision - analyses the actual precision of the LIDAR points
- laszip - compresses the LAS files in a completely lossless manner
- txt2las - converts LIDAR data from ASCII text to binary LAS format
The 2023 version includes also:
In Puhti, only the command line tools are available, without the graphical user interface.
Using a licensed version
CSC provides only the "free" version of LAStools. If you have your own license for LAStools, it can be used also in Puhti.
For using the 2023 native Linux version, copy the license file to your projects projappl directory in Puhti and provide the license file location as environment variable before using the tools:
Alternative: Also using the licensed Windows version is possible with wine (Windows emulator). You can install the .exe files yourself for your project. Download and unzip LAStools to your projappl disk area.
cd /projappl/<your_project> wget https://lastools.github.io/download/LAStools.zip unzip LAStools.zip
Then add your license file to the /bin folder and you can start running the .exe files with wine64
Notice you can only use the 64-bit versions of the tools with wine64
Here is an example of running lasinfo64.exe with wine64
module load wine wine64 lasinfo64.exe -i <LAS file>
Finnish National Land Survey's lidar data in Puhti
LAStools with many files
If you are processing large number of lidar files with LAStools, it is possible in Puhti to process the files in parallel.
- For using up to 40 cores (=1 node in Puhti), the best option would be using GNU parallel - see CSC GDAL parallel example for details.
- For multi-node usage, see Tutorial: GNU Parallel workflow for many small, independent runs.
For information on the legal use and licensing of LAStools, please read the LAStools LICENSE.
If you use this software on Puhti, please acknowledge CSC and Geoportti in your publications, it is important for project continuation and funding reports. As an example, you can write "The authors wish to thank CSC - IT Center for Science, Finland (urn:nbn:fi:research-infras-2016072531) and the Open Geospatial Information Infrastructure for Research (Geoportti, urn:nbn:fi:research-infras-2016072513) for computational resources and support".
Citation of the software depends on which license was used:
- LAStools, "Efficient LiDAR Processing Software" (version 220613, academic), obtained from http://rapidlasso.com/LAStools
- M. Isenburg, "LAStools - efficient LiDAR processing software" (version 220613, unlicensed), obtained from http://rapidlasso.com/LAStools
- rapidlasso GmbH, "LAStools - efficient LiDAR processing software" (version 220613, commercial), obtained from http://rapidlasso.com/LAStools
wrap-container -w /opt/LAStools lastools.sif --prefix 2023
wrap-container -w /opt/LAStools docker//:pydo/lastools:latest --prefix 2022