LasOverviewCreator

LasOverviewCreator draws the extent of each LAS file of a folder as a rectangle, with the name of the file, its number of points and its range of elevations. It reads only the headers of the files, so it is quick also on large surveys, to see how they are divided and where each file is.

Details

The rectangles are the bounds written in the headers of the files, and the number of points and the elevations come from the headers too: the points are not read, so the overview of a large folder is quick. The reference system is the one of the prj file of the first las file.

Only the files ending in .las are read, without the subfolders. The overview shows how a survey is divided in files, and where a file is, before opening it.

Parameters

Creates a vector of the extents of the las files of a folder, with their names, number of points and range of elevations.

Toolbox folder: Lesto › utilities
Status: Draft
Keywords: overview, vector, lidar, las
Authors: Andrea Antonello, Silvia Franceschi
Class: org.hortonmachine.lesto.modules.utilities.LasOverviewCreator

Inputs

Parameter

Type

Unit

Default

Description

inLas

LAS file

Las file or folder path.

Outputs

Parameter

Type

Unit

Description

outOverview

output file

The overview: a rectangle per file, with its name (file), number of points (points) and lowest and highest elevation (minelev, maxelev).

Example

The overview of the four pieces of the sample survey written by LasSplitter:

import org.hortonmachine.lesto.modules.utilities.LasOverviewCreator

// the folder with the lidar survey: change it to yours
var folder = "/data/flanginec/"

// the extents of the four pieces of LasSplitter, with their names and points
var overview = new LasOverviewCreator()
overview.inLas = folder + "las_pieces"
overview.outOverview = folder + "las_pieces_overview.shp"
overview.process()
The four rectangles of the pieces, filled by their number of points: the north-east one, red, with 9,992 points, the denser part of the survey, the others, in yellow, with 7,745 to 7,883.

The four rectangles of the pieces, filled by their number of points: the north-east one, red, with 9,992 points, the denser part of the survey, the others, in yellow, with 7,745 to 7,883.