LAStools: converting, viewing, and compressing LIDAR data in LAS format

Martin Isenburg          Jonathan Shewchuk

abstract:
The program txt2las.exe converts LIDAR data from standard ASCII in various formattings to binary LAS. The corresponding las2txt.exe turns binary LAS into human-readable and easy-to-parse textual representations. The tool lasinfo.exe prints out a quick overview of the contents of a LAS file and lasmerge.exe can merge several LAS files into one and las2las.exe allows extracting only last returns, only points within a bounding box, etc. and lasthin.exe implements a simple point thinning algorithm. The little OpenGL viewer lasview.exe visualizes the contents of a LAS file. It needs the GLUT32.DLL. All these programs are command line tools and their source code (with Makefile) is available. To read gzipped inputs they need gzip.exe in the path.
We provide two simple C++ classes LASreader and LASwriter that implement reading and writing of LIDAR points from and to the binary LAS format 1.1 (as described in the May 2005 specification) that are included in the lastools.zip distribution. If you find this software useful, if you find bugs, or if you have additions or suggestions to our code, please let us know.
We also provide a simple tool laszip.exe for lossless compression and decompression of LIDAR data stored in the LAS format (versions 1.0/1.1), the binary standard format. The achieved compression is 2 to 4 times better than gzip -9. The coder is still in development and feedback is appreciated. There is also an API for reading and writing from and to our compressed format.

If you work with LAS or LIDAR you may also be interested in Visualizing LIDAR in Google Earth. There you find tools that would be called lasDEM.exe and lasTIN.exe and lasContour.exe if they were listed here. They turn lidar points into DEMs, TINSs, or Contours.

download: (updated on april 19th, 2008)

  • executables, API, and source code: lastools.zip
  • txt2las.exe and txt2las_README.txt
  • las2txt.exe and las2txt_README.txt
  • lasinfo.exe and lasinfo_README.txt
  • lasmerge.exe and lasmerge_README.txt
  • las2las.exe and las2las_README.txt
  • lasthin.exe and lasthin_README.txt
  • lasview.exe and lasview_README.txt and GLUT32.DLL
  • laszip.exe and laszip_README.txt
  • gzip.exe needs to be in the path for reading gzipped input
  • example LIDAR data (sample files) in LAS format:

  • from qcoherent.com: LP360_Sample_Data.rar
  • from geoict.net: OptechSampleLAS.zip, LeicaSampleLAS1.zip, LeicaSampleLAS2.zip
  • from appliedimagery.com: Serpent_Mound_LAS_Data.las
  • lidar data of gilmer county
  • the USGS server's LAS data for the mississippi area
  • from capcog.org: Sample_LiDAR_LAS_File.zip
  • related publications:

  • [ilsst-tin2dem-06.pdf] Martin Isenburg, Yuanxin Liu, Jonathan Shewchuk, Jack Snoeyink, Tim Thirion, Generating Raster DEM from Mass Points via TIN Streaming, GIScience'06 Conference Proceedings, pages 186-198, September 2006.
  • [ilss-scdt-06.pdf] Martin Isenburg, Yuanxin Liu, Jonathan Shewchuk, Jack Snoeyink, Streaming Computation of Delaunay Triangulations, Proceedings of SIGGRAPH'06, pages 1049-1056, July 2006.
  • [ilss-lidar2iso-06.pdf] Martin Isenburg, Yuanxin Liu, Jack Snoeyink, Streaming Extraction of Elevation Contours from LIDAR points, draft, april 2006.
  • related downloads:

  • slides: tin2dem.ppt (+ vids + DivX codec for vids)
  • streaming delaunay demo: sd_demo.zip (11 MB)
  • lidar points to elevation contours demo: lidar2iso_demo.zip (47 MB)
  • If you are interested in stream processing of terrain data let us know! Source code, programming APIs, and help for building your own stream processing modules is available on request.

    funding:

  • NSF grants CCF-0430065 and CCF-0429901: "Collaborative Research: Fundamentals and Algorithms for Streaming Meshes."
  • National Geospatial-Intelligence Agency/Defense Advanced Research Projects Agency Award HM1582-05-2-0003
  • Alfred P. Sloan Research Fellowship