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!



Comparing Amplitude and Coherence Time Series With ICEYE US GTR Data and ENVI SARscape

Comparing Amplitude and Coherence Time Series With ICEYE US GTR Data and ENVI SARscape

12/3/2025

Large commercial SAR satellite constellations have opened a new era for persistent Earth monitoring, giving analysts the ability to move beyond simple two-image comparisons into robust time series analysis. By acquiring SAR data with near-identical geometry every 24 hours, Ground Track Repeat (GTR) missions minimize geometric decorrelation,... Read More >

Empowering D&I Analysts to Maximize the Value of SAR

Empowering D&I Analysts to Maximize the Value of SAR

12/1/2025

Defense and intelligence (D&I) analysts rely on high-resolution imagery with frequent revisit times to effectively monitor operational areas. While optical imagery is valuable, it faces limitations from cloud cover, smoke, and in some cases, infrequent revisit times. These challenges can hinder timely and accurate data collection and... Read More >

Easily Share Workflows With the Analytics Repository

Easily Share Workflows With the Analytics Repository

10/27/2025

With the recent release of ENVI® 6.2 and the Analytics Repository, it’s now easier than ever to create and share image processing workflows across your organization. With that in mind, we wrote this blog to: Introduce the Analytics Repository Describe how you can use ENVI’s interactive workflows to... Read More >

Deploy, Share, Repeat: AI Meets the Analytics Repository

Deploy, Share, Repeat: AI Meets the Analytics Repository

10/13/2025

The upcoming release of ENVI® Deep Learning 4.0 makes it easier than ever to import, deploy, and share AI models, including industry-standard ONNX models, using the integrated Analytics Repository. Whether you're building deep learning models in PyTorch, TensorFlow, or using ENVI’s native model creation tools, ENVI... Read More >

Blazing a trail: SaraniaSat-led Team Shapes the Future of Space-Based Analytics

Blazing a trail: SaraniaSat-led Team Shapes the Future of Space-Based Analytics

10/13/2025

On July 24, 2025, a unique international partnership of SaraniaSat, NV5 Geospatial Software, BruhnBruhn Innovation (BBI), Netnod, and Hewlett Packard Enterprise (HPE) achieved something unprecedented: a true demonstration of cloud-native computing onboard the International Space Station (ISS) (Fig. 1). Figure 1. Hewlett... Read More >

1345678910Last
13160 Rate this article:
No rating

Accessing 3-D point cloud data in IDL using the ENVI PointCloud API

Anonym

The following is an example of using the new PointCloud API included in ENVI 5.3. This allows easy access to 3-D data stored in LAS format. The data and metadata becomes accessible from IDL. The new API includes ability to read as well as write 3-D point cloud data in LAS format (there is also much more functionality included beyond that). There are 2 fundamentally different ways to get read access. One method is to simply read the points in the order they were stored in the LAS file. This would normally be the order the points were collected by the LiDAR sensor, although point cloud data could also be derived from other sources. The second way to access the point cloud data is by creating an ENVIPointCloud project, which means that the points will be spatially sorted such that they can be indexed quickly based on spatial tiles. The sorting process takes a little time initially, but once that is done, points can be retrieved quickly based on spatial querying methods.

This first example shows how to access point cloud data using the simple, non-sorted API calls.

ENVI> nv = envi(/current)

ENVI> pc=nv.QueryPointCloud('C:\Users\borsholm\Downloads\Lincoln.laz')

ENVI> print,pc

ENVIPOINTCLOUDQUERY <717772>

  DATA_RANGE                = 692204.97,       4519668.7,       340.79242,       695331.36,       4522642.4,       485.24673

  NPOINTS                   = 9278073

  SPATIALREF                = !NULL

  URI                       = 'C:\Users\borsholm\Downloads\Lincoln.laz'

ENVI> pc.metadata

ENVIPOINTCLOUDMETADATA <718218>

  File Creation Day         = 0

  File Creation Year        = 0

  File Source ID            = 0

  Generating Software       = 'Lidar Explorer by ProLogic, Inc.'

  Global Encoding           = 0

  Max X                     = 695331.36

  Max Y                     = 4522642.4

  Max Z                     = 485.24673

  Min X                     = 692204.97

  Min Y                     = 4519668.7

  Min Z                     = 340.79242

  Number Of Point Records   = 9278073

  Number Of Variable Length = 3

  Point Data Format         = 0

  Point Data Record Length  = 20

  Project ID GUID Data 1    = 0

  Project ID GUID Data 2    = 0

  Project ID GUID Data 3    = 0

  Project ID GUID Data 4    = 0,   0,   0,   0,   0,   0, ...

  System Identifier         = ''

  Version Major             = 1

  Version Minor             = 0

  X Scale Factor            = 1.4558386e-006

  X Offset                  = 692204.97

  Y Scale Factor            = 1.3847266e-006

  Y Offset                  = 4519668.7

  Z Scale Factor            = 6.7266782e-008

  Z Offset                  = 340.79242

ENVI> pts=pc.GetPointsInRange(0,pc.npoints,intensity=i)

ENVI> help,pts,i

PTS             DOUBLE    = Array[3, 9278073]

I               UINT      = Array[9278073]

ENVI> pc.Close

This shows how get access to metadata associated with the file, and to return the points as a 3xN array, in the original order that they were stored in the file.

This second example shows how to spatially sort the points in a new project, and access points in a given rectangle.

ENVI> pc = nv.OpenPointCloud('C:\Users\borsholm\Downloads\Lincoln.laz')

ENVI> pts = pc.GetPointsInRect(694000, 4520000, 695000, 4521000)

ENVI> help,pts

PTS             DOUBLE    = Array[3, 1000002]

ENVI> pc.Close

 

 

 

Please login or register to post comments.