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!



From Image to Insight: How GEOINT Automation Is Changing the Speed of Decision-Making

From Image to Insight: How GEOINT Automation Is Changing the Speed of Decision-Making

4/28/2025

When every second counts, the ability to process geospatial data rapidly and accurately isn’t just helpful, it’s critical. Geospatial Intelligence (GEOINT) has always played a pivotal role in defense, security, and disaster response. But in high-tempo operations, traditional workflows are no longer fast enough. Analysts are... Read More >

Thermal Infrared Echoes: Illuminating the Last Gasp of a Dying Star

Thermal Infrared Echoes: Illuminating the Last Gasp of a Dying Star

4/24/2025

This blog was written by Eli Dwek, Emeritus, NASA Goddard Space Flight Center, Greenbelt, MD and Research Fellow, Center for Astrophysics, Harvard & Smithsonian, Cambridge, MA. It is the fifth blog in a series showcasing our IDL® Fellows program which supports passionate retired IDL users who may need support to continue their work... Read More >

A New Era of Hyperspectral Imaging with ENVI® and Wyvern’s Open Data Program

A New Era of Hyperspectral Imaging with ENVI® and Wyvern’s Open Data Program

2/25/2025

This blog was written in collaboration with Adam O’Connor from Wyvern.   As hyperspectral imaging (HSI) continues to grow in importance, access to high-quality satellite data is key to unlocking new insights in environmental monitoring, agriculture, forestry, mining, security, energy infrastructure management, and more.... Read More >

Ensure Mission Success With the Deployable Tactical Analytics Kit (DTAK)

Ensure Mission Success With the Deployable Tactical Analytics Kit (DTAK)

2/11/2025

In today’s fast-evolving world, operational success hinges on real-time geospatial intelligence and data-driven decisions. Whether it’s responding to natural disasters, securing borders, or executing military operations, having the right tools to integrate and analyze data can mean the difference between success and failure.... Read More >

How the COVID-19 Lockdown Improved Air Quality in Ecuador: A Deep Dive Using Satellite Data and ENVI® Software

How the COVID-19 Lockdown Improved Air Quality in Ecuador: A Deep Dive Using Satellite Data and ENVI® Software

1/21/2025

The COVID-19 pandemic drastically altered daily life, leading to unexpected environmental changes, particularly in air quality. Ecuador, like many other countries, experienced significant shifts in pollutant concentrations due to lockdown measures. In collaboration with Geospace Solutions and Universidad de las Fuerzas Armadas ESPE,... Read More >

1345678910Last
«May 2025»
SunMonTueWedThuFriSat
27282930123
45678910
11121314151617
18192021222324
25262728293031
1234567
23924 Rate this article:
3.4

Creating a Custom Three-Dimensional Visualization with ENVI + IDL

Anonym

This past week I decided to take some time to familiarize myself with some of the three-dimensional visualization tools available in ENVI + IDL.

Within the ENVI user interface, users can very quickly build a three-dimensional visualization of a scene by using the 3D SurfaceView tool which is available in the ENVI Toolbox. This is a great tool and offers a number of handy surface and motion controls for customizing a three-dimensional visualization. I have worked with this tool quite a bit over the years, but had always been curious about what could be done with a three-dimensional visualization if I leveraged the power of IDL.

IDL has a couple of three-dimensional functions that are particularly powerful and allow users to create fully customized three-dimensional visualizations. What I learned is that these functions allow users a tremendous amount of flexibility. In the example I discuss below, I used the CONTOUR function. The SURFACE function also offers some good options for creating three-dimensional surfaces in ENVI + IDL.

For this example, I downloaded a couple of 1/3 arc second USGS DEMs from the National Map Viewer. I first mosaicked the two DEMs and then resampled them slightly to decrease the file size so that they would be more performant in IDL. I then wrote the code which produces the three-dimensional representation. The code opens the DEM file, extracts information about lat/lon extent and pixel size, then draws a grid upon which elevation values can be plotted. Once I figured out how to get this to work, I chose an IDL color table to display elevation ranges, added contour lines, and made some fine-tuning adjustments to the axes labels. There are tons of different adjustments that can be made, so building a custom three-dimensional visualization really does allow users to use their imagination. For reference, my code is shown below:

The nice thing about this code is that replicating this, or something similar, with other DEMs should be fairly easy. All it would require would be to change a couple of lines of code to match the extent of the new image and make some adjustments to the axes. The result of running this code on my DEM is shown below.

There are a lot of pretty cool things that can be done with the three-dimensional functions available in ENVI + IDL. For instance, in this example I plotted elevation values using a USGS DEM, but values that represent something completely different than elevation could have been plotted along the z-axis. This could make for some pretty cool and informative visualizations.

I also decided to make a map of my area using ENVI and ArcMap interoperability. I then inserted an image of my three-dimensional plot into the map. I think it gives a unique view of the scene. You can check out my map below. If you would like to see more examples of what can be done with the SURFACE and CONTOUR functions, check out our Documentation Center for more Graphics Examples.

Please login or register to post comments.