Reproject LAS File Sample Code
This ENVI LiDAR sample code shows how to reproject LAS file output. It provides information on how to:
- Specify an input
.lasor.lazfile, if one is not open. - Specify an output location and
.lasoutput type. - Reproject the data.
-
Write the reprojected points with projection information to a new
.lasfile.
View the Sample Code
- Start the IDL Workbench.
- 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. - Close IDL.
Run the Sample Code from the ENVI Toolbox
- Copy the PRO code source file
INSTALL_DIR\ENVIxx\examples\lidar\reproject_las_file.proto youruser_home/.idl/envi/extensionsx_xfolder. - Launch ENVI x.x +IDL x.x from the Windows Start menu.
- In the ENVI Toolbox, select Extensions > LiDAR > Samples and double-click Reproject LAS File.