LAS LiDAR Binary File Import Automation Options
Since the Import Options dialog is not displayed when the program is driven from an automation script, an options string can be specified in the script. The string consists of comma-separated parameters, which specify the behavior of the various export options. A typical example would be:
Example 1
This would first set all options to the default values, specifies a range of x values, clears the import flag from all classes, then specifies which classes (2 and 3) to import.
"Defaults=1,AcceptXMin=2776000,AcceptXMax=2777000,AcceptNoClasses=1,AcceptClass[2]=1,AcceptClass[3]=1"
Example 2
This would first set all options to the default values, specifies a range of x values, applies the import flag to all classes, specifies which classes (0 and 4) to exclude from import, then includes only every 5th point.
"Defaults=1,AcceptXMin=2776000,AcceptXMax=2777000,AcceptAllClasses=1,AcceptClass[0]=0,AcceptClass[4]=0,AcceptNthPoint=5"
Option |
Action |
Default |
Description |
RejectInconsistent |
0 = No 1 = Yes |
0 |
1 to reject inconsistent records, 0 to keep inconsistent records. |
AcceptXMin |
Value |
|
Minimum X value, greater than or equal to |
AcceptXMax |
Value |
|
Maximum X value, less than or equal to |
AcceptYMin |
Value |
|
Minimum Y value, greater than or equal to |
AcceptYMax |
Value |
|
Maximum Y value, less than or equal to |
AcceptZMin |
Value |
|
Minimum Z value, greater than or equal to |
AcceptZMax |
Value |
|
Maximum Z value, less than or equal to |
AcceptNthPoint |
Value |
|
Filters out every Nth point. |
AcceptReturn |
Value |
|
Filters by laser return value |
AcceptClass |
0 = No 1 = Yes |
|
0 rejects the specified class, and 1 accepts the specified class. Takes the form "AcceptClass[x]=n" where x is class number (0-31) and n = 0 or 1 To specify individual classes for import you must first clear the class import flags by including AcceptNoClasses=1 in the options string. To exclude individual classes for import you should first set all class import flags by including AcceptAllClasses=1 or Defaults=1 in the options string. |
AcceptAllClasses |
0 = No 1 = Yes |
|
1 to select all classes for import. Individual classes can be overridden by AcceptClass[x]=0 specifications. |
AcceptNoClasses |
0 = No 1 = Yes |
|
1 to clear all class selections. Must be used if specifying classes with AcceptClass[x]=1 specifications. |