Annotate Highest Point Sample Code
This sample code shows how to create an ENVI LiDAR extension that annotates the highest point of a LiDAR dataset. To run this extension requires ENVI LiDAR and a full IDL license.
Use the sample code to become familiar with extensions. This sample provides information on how to:
- Open the current or a new ENVI LiDAR session.
- Create and use a LiDAR point filter.
- Query a rectangular area of the LiDAR data with the LiDAR point filter.
- Annotate the highest point of a LiDAR dataset.
View the Sample Code
- Start ENVI LiDAR.
- In the Toolbox, select Samples.
- Right-click Annotate Highest Point and select Debug.
Note: If the extension is not visible in the Toolbox, verify you have a full IDL license.
Run the Sample Code
Use one of the following to run the sample code:
- On the IDL workbench toolbar, click Compile, then click Run.
- In ENVI LiDAR double-click the Annotate Highest Point extension in the Toolbox
Note: Depending on your user account privileges, you may not be able to save changes to the sample extensions. Refer to Deploy Extensions for information on copying the samples to a user-writeable location.