You are here: Common Commands > Common LiDAR Commands

Common LiDAR Commands

Lossless Compression

The following command compresses a LAS point cloud to MrSID Generation 4 using lossless compression:

mrsidgeoencoder -i foo.las -o foo.sid ‑of mg4 ‑lossless

Setting a Compression Ratio

The following command compresses a LAS point cloud to MrSID Generation 4 using a 15:1 compression ratio:

mrsidgeoencoder -i foo.las ‑o foo.sid ‑of mg4 ‑cr 15

Compressing a Text File

The following command compresses a text file and maps the columns in the text file to fields in the output point cloud:

mrsidgeoencoder -i in.txt ‑o out.sid ‑tfc txyzi

The file above contains the following values: the GPS time, the X values, the Y values, and the intensity.

Creating a Flat Mosaic

The following command uses a mosaic list file to create a LiDAR point cloud mosaic:

mrsidgeoencoder -i mosaic.list ‑mos ‑o mosaic.sid

The file with a .list extension is the mosaic list file. The following lines display the contents of a sample mosaic list file for a given set of georeferenced LAS files: