Reference

lasinfo(1)

display LAS file details

NAME

lasinfo - display LAS file details

SYNOPSIS

lasinfo [-h | -i arg [-v] [--no-vlrs] [--no-schema] [--no-check] [--xml] [-p arg] [Filtering options] ]

DESCRIPTION

lasinfo displays LAS file details with optional output filters. While lasinfo can do a few simple operations like updating header information, more drastic changes, like removing points or altering values, will require las2las(1).

OPTIONS

lasinfo options:

FC-hF[0], FC--helpF[0]

produce help message

FC-iF[0] arg, FC--inputF[0] arg

input LAS file

FC-vF[0], FC--verboseF[0]

Verbose message output

FC--no-vlrsF[0]

Don't show VLRs

FC--no-schemaF[0]

Don't show schema

FC--no-checkF[0]

Don't scan points

FC--xmlF[0]

Output as XML

FC-pF[0] arg, FC--pointF[0] arg

Display a point with a given id. FC--point 44F[0]

Filtering options:

FC-eF[0] arg, FC--extentF[0] arg

Extent window that points must fall within to keep. Use a comma-separated or quoted, space-separated list, for example, FC-e minx, miny, maxx, maxyF[0] or FC-e minx, miny, minz, maxx, maxy, maxzF[0] FC-e "minx miny minz maxx maxy maxz"F[0]

FC--minxF[0] arg

Extent must be greater than or equal to minx to be kept. FC--minx 1234.0F[0]

FC--minyF[0] arg

Extent must be greater than or equal to miny to be kept. FC--miny 5678.0F[0]

FC--minzF[0] arg

Extent must be greater than or equal to minz to be kept. If maxx and maxy are set but not minz *and maxz, all z values are kept. FC--minz 0.0F[0]

FC--maxxF[0] arg

Extent must be less than or equal to maxx to be kept. FC--maxx 1234.0F[0]

FC--maxyF[0] arg

Extent must be less than or equal to maxy to be kept. FC--maxy 5678.0F[0]

FC--maxzF[0] arg

Extent must be less than or equal to maxz to be kept. If maxx and maxy are set but not maxz *and minz, all z values are kept. FC--maxz 10.0F[0]

FC-tF[0] arg, FC--thinF[0] arg (=0)

Simple decimation-style thinning. Thin the file by removing every t'th point from the file.

FC--last_return_onlyF[0]

Keep last returns (cannot be used with FC--first_return_onlyF[0])

FC--first_return_onlyF[0]

Keep first returns (cannot be used with FC--last_return_onlyF[0])

FC--keep-returnsF[0] arg

A list of return numbers to keep in the output file: FC--keep-returns 1 2 3F[0]

FC--drop-returnsF[0] arg

Return numbers to drop. For example, FC--drop-returns 2 3 4 5F[0]

FC--valid_onlyF[0]

Keep only valid points

FC--keep-classesF[0] arg

A list of classifications to keep: FC--keep-classes 2 4 12F[0] FC--keep-classes 2F[0]

FC--drop-classesF[0] arg

A comma-separated list of classifications to drop: FC--drop-classes 1,7,8F[0] FC--drop-classes 2F[0]

FC--keep-intensityF[0] arg

Range in which to keep intensity. The following expression types are supported: FC--keep-intensity 0-100F[0] FC--keep-intensity <200F[0] FC--keep-intensity >400F[0] FC--keep-intensity >=200F[0]

FC--drop-intensityF[0] arg

Range in which to drop intensity. The following expression types are supported: FC--drop-intensity <200F[0] FC--drop-intensity >400F[0] FC--drop-intensity >=200F[0]

FC--keep-timeF[0] arg

Range in which to keep time. The following expression types are supported: FC--keep-time 413665.2336-414092.8462F[0] FC--keep-time <414094.8462F[0] FC--keep-time >413665.2336F[0] FC--keep-time >=413665.2336F[0]

FC--drop-timeF[0] arg

Range in which to drop time. The following expression types are supported: FC--drop-time <413666.2336F[0] FC--drop-time >413665.2336F[0] FC--drop-time >=413665.2336F[0]

FC--keep-scan-angleF[0] arg

Range in which to keep scan angle. The following expression types are supported: FC--keep-scan-angle 0-100F[0] FC--keep-scan-angle <100F[0] FC--keep-scan-angle <=100F[0]

FC--drop-scan-angleF[0] arg

Range in which to drop scan angle. The following expression types are supported: FC--drop-scan-angle <30F[0] FC--drop-scan-angle >100F[0] FC--drop-scan-angle >=100F[0]

FC--keep-colorF[0] arg

Range in which to keep colors. Define colors as two 3-tuples (R,G,B-R,G,B): FC--keep-color '0,0,0-125,125,125'F[0]

FC--drop-colorF[0] arg

Range in which to drop colors. Define colors as two 3-tuples (R,G,B-R,G,B): FC--drop-color '255,255,255-65536,65536,65536'F[0]

EXAMPLE

Example data

Visit the libLAS sample library for LiDAR data in LAS format: ⟨http://liblas.org/samples/⟩

History