Writer Directives
The suffixes shown are prefixed by the current
DATASET
This is the name of a folder containing one or more XYZ files.
The default extensions for Point Cloud XYZ files are.xyz,.csv, or。TXT. To write gzipped files, use.xyz.gzas the destination file extension.
必需的/Optional
必需的
Mapping File Syntax
POINTCLOUDXYZ_DATASET /usr/data/xyz/output
工作台参数
Destination Point Cloud XYZ Folder
def
Defines a Point Cloud XYZ file. The definition contains the file’s base name without any of the extensions, followed by the definitions of the attributes. There may be many DEF lines, one for each file to be written.
The syntax of a Point Cloud XYZ DEF line is:
[
The following DEF line directives are supported by the writer:
DEF行指令 |
价值 |
必需的/ Optional |
POINTCLOUDXYZ_INCLUDE_FIELD_NAME |
See INCLUDE_FIELD_NAME below for details. |
Optional |
POINTCLOUDXYZ_SEPARATOR |
See SEPARATOR below for details. |
必需的 |
POINTCLOUDXYZ_EXTENSION |
See EXTENSION below for details. |
Optional |
POINTCLOUDXYZ_ENCODING <编码> |
See ENCODING for details. |
Optional |
POINTCLOUDXYZ_END_OF_LINE |
有关详细信息,请参阅END_OF_LINE。 |
Optional |
POINTCLOUDXYZ_COLUMN_TO_PCCOMPONENT |
See COLUMN_TO_PCCOMPONENT for details. |
必需的 |
POINTCLOUDXYZ_QUOTE_FIELD_NAMES <是的|不| if_needed> |
有关详细信息,请参阅Quote_Field_Names |
Optional |
pointcloudxyz_write_utf8_bom. |
See WRITE_UTF8_BOM for details |
Optional |
Each of these directives has the same meaning as the global Point Cloud XYZ writer keyword with the same suffix. Any value specified on a DEF line will override values defined for equivalent global directives, as they apply to the table being defined.
必需的/Optional
必需的
INCLUDE_FIELD_NAME
If set this value toyes, the field names will be written as the first line in the output file. If it is set to不,列名不会写入文件。
必需的/Optional
Optional
价值s
值:<是(默认)|否>
工作台参数
输出字段名称
分隔器
A special field is listed to identify the separator used to divide the fields in the file. By default, a space is used; however you can also use any of these one-character separators:
- Comma:,
- Semicolon:;
- Vertical bar:|
- 选项卡:由反斜杠(\)表示,然后是“T”;例如:
POINTCLOUDXYZ_SEPARATOR\
There must be a space between POINTCLOUDXYZ _SEPARATOR and
必需的/Optional
必需的
价值s
column_to_pccomponent.
This directive specifies the point components to be written and the order of the fields in the output XYZ file.
价值s
必需的/Optional
Optional
工作台参数
Component Mapping
EXTENSION
此方向指定要写入的文件扩展名。
价值s
Default:.xyz
If the extension ends in .gz (e.g.,xyz.gz) the writer will output gzipped files.
必需的/Optional
Optional
工作台参数
Extension
APPEND
价值s
yes | no
Default: no
必需的/Optional
Optional
工作台参数
追加文件
QUOTE_FIELD_NAMES
This directive specifies whether the field names written on the first row of the file are quoted.
价值s
yes | no | if_needed (default)
If set to yes, then field names will be quoted. If set to no, field names will not be quoted. If set to if_needed, field names will be quoted only if they contain a separator character.
必需的/Optional
Optional
工作台参数
Quote Field Names
QUOTE_OUTPUT
This directive specifies whether the values written to the file are quoted. If yes, every value is quoted. If no, no values are quoted. If set to if_needed, values are quoted if they contain one or more separator or quote characters.
If set to no, and the field contains an embedded separator, the separator character in that field is replaced by the space character. If space is already the separator, the underscore character is used instead. Generally, setting this directive to if_needed is a better choice in this case.
价值s
yes | no | if_needed (default)
必需的/Optional
Optional
工作台参数
Quote Field Names
编码
This directive specifies the file encoding to use when writing.
价值s
<编码>
Default: System
Encodings |
UTF-8. |
UTF-16LE. |
UTF-16BE |
ANSI |
BIG5 |
SJIS. |
CP437. |
CP708 |
CP720 |
CP737 |
CP775 |
CP850 |
CP852 |
CP855 |
CP857 |
CP860 |
CP861 |
CP862 |
CP863 |
CP864 |
CP865 |
CP866 |
CP869 |
CP932 |
CP936 |
CP950 |
CP1250 |
CP1251 |
CP1252 |
CP1253 |
CP1254 |
CP1255 |
CP1256 |
CP1257 |
CP1258 |
ISO8859.1. |
ISO8859-2 |
ISO8859-3 |
ISO8859-4 |
ISO8859-5 |
ISO8859-6 |
ISO8859-7 |
ISO8859-8 |
ISO8859-9 |
ISO8859.1.3 |
ISO8859.1.5 |
必需的/Optional
Optional
工作台参数
Character Encoding
END_OF_LINE
This directive specifies the end of line character to use when writing.
价值s
Macintosh | Windows | Unix | System (default)
必需的/Optional
Optional
工作台参数
Line Termination
WRITE_UTF8_BOM
This directive specifies whether the byte order mark for UTF-encoded files should be written at the beginning.
当编码设置为UTF编码时,此选项仅具有效果。
价值s
yes (default) | no
必需的/Optional
Optional
工作台参数
Write UTF-8 Byte Order Mark