You are here: LiDAR Data > MG4 LiDAR Switches

MG4 LiDAR Switches

When you create MrSID Generation 4 (MG4) LiDAR files, you can specify additional options.

The following table describes the MG4 switches:

Switch Notes
-compressionratio Alternately, -cr. The compression ratio to use when creating the file. The resulting file is a lossy file, which may have fewer points than the original point cloud. For example, entering a compression ratio of 10 will result in a file size that is 10 times smaller than the nominal size of the input image.
-cr Alternately, -compressionratio. The compression ratio to use when creating the file. The resulting file is a lossy file, which may have fewer points than the original point cloud. For example, entering a compression ratio of 10 will result in a file size that is 10 times smaller than the nominal size of the input image.
-lossless The file that you compress will be compressed losslessly. This option is used by default.
-blocksize Alternately, -bs. The number of points to process and store at one time. Enter a large block size to increase compression speed. Enter a small block size to decrease memory usage. Valid values are from 2048 to 16384. The default value is 4096.
-bs Alternately, -blocksize. The number of points to process and store at one time. Enter a large block size to increase compression speed. Enter a small block size to decrease memory usage. Valid values are from 2048 to 16384. The default value is 4096.
-removeCustomVLRs Omit custom variable length record (VLR) metadata from LAS files. VLR metadata can include vendor-specific data, user-specified data, and more.
-tempdir The directory to use for temporary files. Compressing LiDAR point clouds, especially large point clouds, creates many temporary files before writing output to a MrSID image. By default, GeoExpress uses the system-defined temporary directory for the user.