X

NV5 Geospatial Blog

Each month, NV5 Geospatial posts new blog content across a variety of categories. Browse our latest posts below to learn about important geospatial information or use the search bar to find a specific topic or author. Stay informed of the latest blog posts, events, and technologies by joining our email list!



Using ENVI and IDL Agents with Your Own API Keys

Using ENVI and IDL Agents with Your Own API Keys

6/22/2026

Earlier this year, we introduced the ENVI® Agent and IDL® Agent to bring intelligent, AI-driven automation to your geospatial and data science workflows. If you missed the launch, you can catch up on the full breakdown by watching our release webinar. Both agents are built upon GitHub Copilot, a powerful AI orchestration... Read More >

What We're Looking Forward to at Esri UC 2026

What We're Looking Forward to at Esri UC 2026

6/16/2026

Every year, the Esri User Conference brings together thousands of geospatial professionals to explore new technologies, share ideas, and learn how organizations are solving complex challenges with GIS. For many members of the NV5 team, attending Esri UC is an annual tradition. Some have attended for more than 15 years. Others will be... Read More >

New ENVI Agent, IDL Agent, and GeoAgent Quick Guides

New ENVI Agent, IDL Agent, and GeoAgent Quick Guides

6/9/2026

The recent release of ENVI® Agent, IDL® Agent, and GeoAgent™ revolutionize how users interact with geospatial software. These agentic AI applications act as partners to plan, simplify, and execute complex workflows. Knowing where to start can be challenging for new users. To this end, we developed three new quick guides to... Read More >

Introducing NISAR Data Support

Introducing NISAR Data Support

6/5/2026

The release of ENVI® SARscape 6.3 in April 2026 includes preliminary support for NASA-ISRO SAR (NISAR) data. The NISAR mission is a joint Earth-observing satellite project between NASA and the Indian Space Research Organization designed to monitor changes in the planet’s land and ice surfaces using advanced radar imaging. It... Read More >

Monitoring Illegal Mining in the Amazon: Turning Persistent Data Into Actionable Insight

Monitoring Illegal Mining in the Amazon: Turning Persistent Data Into Actionable Insight

5/28/2026

Illegal mining over decades has constituted one of the most persistent and complex socio-environmental problems in the Brazilian Amazon. In recent years, with the increasingly intensive use of mechanized extraction, the associated environmental impacts—such as deforestation, intense soil disturbance, river siltation, and mercury... Read More >

1345678910Last
30310 Rate this article:
3.0

Custom Processing of LiDAR Data: An ENVI LiDAR API Example

Anonym

I recently presented a webinar about performing analysis on point cloud LiDAR data. This webinar was focused on how our ENVI LiDAR product can be extended using custom extensions written in IDL using the ENVI LiDAR API. A couple of my colleagues pitched in by providing me with some cool extension examples that can be used to extract valuable information from a LiDAR point cloud. Today, I would like to show one of these extension examples and walk through how it works. The extension I would like to show can be used to extract building footprints from a LiDAR point cloud. This example actually works quite well with low resolution point cloud data. So, if you are working with a point cloud that has fewer than 5 points per square meter, this method of extracting information might be of interest to you.

To understand how the extension works, let’s start by talking about LiDAR point cloud classifications. The American Society for Photogrammetry and Remote Sensing(ASPRS) maintains specifications for LAS file LiDAR (or other) point cloud data. ENVI LiDAR supports ASPRS LAS Specification Version 1.4. This specification maintains standard classification values for points in a point cloud which correspond to various different features such as ground, vegetation, buildings, and power lines. When a LAS file is processed in ENVI LiDAR, the classification value for each point in the point cloud is determined based on this specification. The table below shows the classification values that are computed when a point cloud is processed in ENVI LiDAR. Note that the buildings correspond to a classification value of 6. We will use this value in our extension to extract the building footprints.

When run, the extension first prompts a user to open a classified LAS or LAZ file. The extension then continues to run, scrolling through the point cloud, taking any point with a classification value of 6 and setting the point to an elevation of -10 meters, which is well below the elevation of the rest of the scene. It then writes out a new LAS point cloud file with buildings set to an elevation of -10 meters. The IDL code that makes the extension work is shown in the image below.

The image below shows what our new point cloud looks like with the building footprints dropped to a constant elevation of -10 meters. With our building footprints now set to a constant elevation of -10 meters, we can use the out-of-the-box functionality of ENVI LiDAR to produce a Digital Surface Model (DSM) of our scene.

The DSM produced from this point cloud can be brought into an image analysis software package, such as ENVI. There are a number of methods that could then be used to extract the building footprints, but I chose to run an unsupervised IsoData classification.The image below shows the extracted building footprints with a corresponding WorldView-2 image. In the portal window, you can also see the DSM that was produced from the point cloud. As you can see, this method worked quite nicely to extract the building footprints from the scene.

The cool thing about this simple extension is that it opens up a lot of possibilities for working with point cloud classification values. With a few minor tweaks to the code you could easily extract other features of interest from the scene. The ability to create custom tools is pretty cool because the sky is really the limit for what you can do with your LiDAR data.

Please login or register to post comments.