Chevron DownAPI Reference

LASLoader

The LASLoader parses a point cloud in the LASER file format.

LoaderCharacteristic
File Extension.las, .laz
File TypeBinary
File FormatLASER file format
Data FormatPointCloud
Decoder TypeSynchronous
Worker Thread SupportYes
Streaming SupportNo

Usage

import {LASLoader} from '@loaders.gl/las';
import {load} from '@loaders.gl/core';

const data = await load(url, LASLoader, options);

Options

OptionTypeDefaultDescription
options.las.skipNumber1Read one from every n points.
options.onProgressFunction-Callback when a new chunk of data is read. Only works on the main thread.