pklas2img(1)

NAME
pklas2img - Rasterize LAS/LAZ point clouds with filtering/compositing options

SYNOPSIS
pklas2img
-i lasfile -o output [options] [advanced options]

DESCRIPTION
pklas2img converts a las/laz point cloud into a gridded raster dataset. The implementation is based on API. You can define the bounding box, grid cell size and spatial reference set. The composite rule for multiple returns within a single grid cell can be set with the option \FC-comp\F[]. The default attribute is z (height), but can also be intensity (if available), the scan angle rank (\FC-n\F[] angle), the return number (\FC-n\F[] return) or the total number of returns in that grid cell (\FC-n\F[] nreturn). To select specific returns only, set the option \FC-fir\F[] (first, last, single, multiple, or all).

OPTIONS

\FC-i\F[] filename, \FC--input\F[] filename
    Input las file

\FC-o\F[] filename, \FC--output\F[] filename
    Output image file

\FC-n\F[] attribute, \FC--name\F[] attribute
    names of the attribute to select: intensity, angle, return, nreturn, z

\FC-comp\F[] composite, \FC--comp\F[] composite
    composite for multiple points in cell (min, max, median, mean, sum, first, last, profile (percentile height values), number (point density)). Last: overwrite cells with latest point

\FC-fir\F[] type, \FC--filter\F[] type
    filter las points (first,last,single,multiple,all).

\FC-angle_min\F[] value, \FC--angle_min\F[] value
    minimum scan angle to read points.

\FC-angle_max\F[] value, \FC--angle_max\F[] value
    maximum scan angle to read points.

\FC-a_srs\F[] EPSG:number, \FC--a_srs\F[] EPSG:number
    assign the projection for the output file in epsg code, e.g., epsg:3035 for European LAEA projection

\FC-ulx\F[] value, \FC--ulx\F[] value
    Upper left x value bounding box (in geocoordinates if georef is true). 0 is read from input file

\FC-uly\F[] value, \FC--uly\F[] value
    Upper left y value bounding box (in geocoordinates if georef is true). 0 is read from input file

\FC-lrx\F[] value, \FC--lrx\F[] value
    Lower right x value bounding box (in geocoordinates if georef is true). 0 is read from input file

\FC-lry\F[] value, \FC--lry\F[] value
    Lower right y value bounding box (in geocoordinates if georef is true). 0 is read from input file

\FC-dx\F[] value, \FC--dx\F[] value
    Output resolution in x (in meter)

\FC-dy\F[] value, \FC--dy\F[] value
    Output resolution in y (in meter)

\FC-ot\F[] type, \FC--otype\F[] type
    Data type for output image ({Byte / Int16 / UInt16 / UInt32 / Int32 / Float32 / Float64 / CInt16 / CInt32 / CFloat32 / CFloat64}). Empty string: inherit type from input image

\FC-of\F[] out_format, \FC--oformat\F[] out_format
    Output image format (see also gdal_translate(1)).

\FC-ret\F[] value, \FC--ret\F[] value
    number(s) of returns to include

\FC-class\F[] number, \FC--class\F[] number
    classes to keep: 0 (created, never classified), 1 (unclassified), 2 (ground), 3 (low vegetation), 4 (medium vegetation), 5 (high vegetation), 6 (building), 7 (low point, noise), 8 (model key-point), 9 (water), 10 (reserved), 11 (reserved), 12 (overlap)

\FC-v\F[] level, \FC--verbose\F[] level
    verbose mode

Advanced options

\FC-nbin\F[] value, \FC--nbin\F[] value
    Number of percentile bins for calculating percentile height value profile (=number of output bands)

\FC-nodata\F[] value, \FC--nodata\F[] value
    nodata value to put in image if not valid

\FC-co\F[] option, \FC--co\F[] option
    Creation option for output file. Multiple options can be specified.

\FC-ct\F[] filename, \FC--ct\F[] filename
    colour table in ASCII format having 5 columns: id R G B ALFA (0: transparent, 255: solid)