The following table describes LiDAR-specific input switches, especially for working with LiDAR data in text file format:
Switch | Notes |
---|---|
-orsrs |
Alternately, |
-overrideSRS | Alternately, -orsrs . The EPSG or well-known text (WKT) string to use for the source file. Enter an EPSG code in quotes or specify a file that contains a WKT. |
-textFileColumns | Alternately -tfc . For LiDAR text files, map columns to value types. See below for more information. |
-textFileOffset | Alternately, -tfo . The number of header rows in the text file. If you do not enter a number, GeoExpress assumes that all rows include valid values. |
-textFileQuantization | Alternately, -tfq . Set the quantization scale value. See below for more information. |
-tfc | Alternately -textFileColumns For LiDAR text files, map columns to value types. See below for more information. |
-tfo | Alternately, -textFileOffset . The number of header rows in the text file. If you do not enter a number, GeoExpress assumes that all rows include valid values. |
-tfq | Alternately, -textFileQuantization . Set the quantization scale value. See below for more information. |
When you use a LiDAR text file as input, you must map the columns in the file to the types of values to which they correspond. The following list displays the value types and the letters that represent them:
Letters | Value Types |
---|---|
x, y, z | Point values |
i | Intensity |
r | Return number |
n | Number of returns |
d | Scan direction |
e | Edge of flight line |
a | Scan angle |
c | Class ID |
p | Source ID |
u | User data |
t | GPS week time. The number of seconds since the beginning of the week. |
T | GPS adjusted time. The number of seconds since 1980 minus one billion. |
R | Red |
G | Green |
B | Blue |
s | Skip |
To omit a column from the output, use the skip value type. Any values that you do not map are automatically omitted. For example, if you map four columns, but the input has nine columns, the last five columns are omitted.
mrsidgeoencoder -i in.las -o out.sid -orsrs "EPSG:4326"
mrsidgeoencoder -i in.txt -o out.sid -tfc sxyz
The quantization scale value is a number that represents the minimum spacing between points. The value is relative to the units of the input image. Typical values are decimal numbers. The default value is 0.01.
mrsidgeoencoder -i in.txt -o out.sid -tfc xyzi -tfq 0.05