Skip to content

Colorizing points

gotiler can replace the colors of the points while tiling, either from the values of an attribute or coordinate, or from an orthophoto.

--colorize attribute:gradient[:modifier...] replaces point colors using a numeric attribute or a local coordinate (x, y or z):

Terminal window
gotiler pcloud -o ./out --colorize z:viridis ./input.las
gotiler pcloud -o ./out --colorize classification:las-classification ./input.las

No bounds are needed: the gradient spans the 2nd to 98th percentile of the values found in the data, so outliers and skewed distributions (typical for intensity or amplitude) don’t wash it out. Gradients with an absolute scale, like las-classification, are applied as is.

The color ramps reference lists all 36 gradients. Good starting points: viridis for elevation, turbo for intensity, rdbu with stretch=minmax for change detection, las-classification for class codes.

Modifiers can be combined:

Modifier Effect
reverse Reverses the gradient color order.
steps=N Quantizes the gradient into N discrete color bands (contour-band look).
stretch=pLow,pHigh Sets the percentile stretch (default 2,98). stretch=minmax scales over the full value range.
blend=A Blends the gradient with the original point color (1 = gradient only, 0.5 = even mix).
Terminal window
gotiler pcloud -o ./out --colorize intensity:turbo:reverse:steps=8:stretch=5,95 ./input.las

--geotiff-colorize colors points from an RGB/RGBA GeoTIFF orthophoto, sampled at each point’s location and reprojected on the fly when the CRSs differ. Points outside the orthophoto keep their original colors.

Terminal window
gotiler pcloud -o ./out --geotiff-colorize ./ortho.tif ./input.las