lasinfo(1)

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-h\F[], \FC--help\F[]
    produce help message

\FC-i\F[] arg, \FC--input\F[] arg
    input LAS file

\FC-v\F[], \FC--verbose\F[]
    Verbose message output

\FC--no-vlrs\F[]
    Don't show VLRs

\FC--no-schema\F[]
    Don't show schema

\FC--no-check\F[]
    Don't scan points

\FC--xml\F[]
    Output as XML

\FC-p\F[] arg, \FC--point\F[] arg
    Display a point with a given id. \FC--point 44\F[]

Filtering options:

\FC-e\F[] arg, \FC--extent\F[] 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, maxy\F[] or \FC-e minx, miny, minz, maxx, maxy, maxz\F[] \FC-e "minx miny minz maxx maxy maxz"\F[]

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

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

\FC--minz\F[] 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.0\F[]

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

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

\FC--maxz\F[] 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.0\F[]

\FC-t\F[] arg, \FC--thin\F[] arg (=0)
    Simple decimation-style thinning. Thin the file by removing every t'th point from the file.

\FC--last_return_only\F[]
    Keep last returns (cannot be used with \FC--first_return_only\F[])

\FC--first_return_only\F[]
    Keep first returns (cannot be used with \FC--last_return_only\F[])

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

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

\FC--valid_only\F[]
    Keep only valid points

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

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

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

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

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

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

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

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

\FC--keep-color\F[] 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[]

\FC--drop-color\F[] 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[]

EXAMPLE
Example data

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