This ENVI LiDAR sample code shows how to reproject LAS file output. It provides information on how to:

  • Specify an input .las or .laz file, if one is not open.
  • Specify an output location and .las output type.
  • Reproject the data.
  • Write the reprojected points with projection information to a new .las file.

View the Sample Code


  1. Start the IDL Workbench.
  2. Select File > Open and navigate to the PRO Code file INSTALL_DIR\ENVIxx\examples\lidar\reproject_las_file.pro. The file opens in the IDL Workbench.
  3. Close IDL.

Run the Sample Code from the ENVI Toolbox


  1. Copy the PRO code source file INSTALL_DIR\ENVIxx\examples\lidar\reproject_las_file.pro to your user_home/.idl/envi/extensionsx_x folder.
  2. Launch ENVI x.x +IDL x.x from the Windows Start menu.
  3. In the ENVI Toolbox, select Extensions > LiDAR > Samples and double-click Reproject LAS File.