-
Notifications
You must be signed in to change notification settings - Fork 432
/
filters.selector.txt
139 lines (123 loc) · 4.25 KB
/
filters.selector.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
.. _filters.selector:
filters.selector
================
The selector filter allows you to add and remove attributes from a stream of points, or mark attributes to be ignored by the final writing stage.
Example
-------
.. code-block:: xml
<?xml version="1.0" encoding="utf-8"?>
<Pipeline version="1.0">
<Filter type="filters.selector">
<Option name="overwite_existing_dimensions">false</Option>
<Option name="keep">
<Options>
<Option name="dimension">X</Option>
<Option name="dimension">Y</Option>
</Options>
</Option>
<Option name="ignore">
<Options>
<Option name="dimension">Red</Option>
<Option name="dimension">Green</Option>
<Option name="dimension">Blue</Option>
</Options>
</Option>
<Option name="create">
<Options>
<Option name="dimension">
Greenish
<Options>
<Option name="type">
uint16_t
</Option>
<Option name="size">
2
</Option>
<Option name="description">
This is the dimensions description
</Option>
<Option name="endianness">
big
</Option>
<Option name="uuid">
1f528897-a723-4a9c-8e5a-cae9b071d0b5
</Option>
<Option name="parent_uuid">
7752759d-5713-48cd-9842-51db350cc979
</Option>
<Option name="scale">
1e-7
</Option>
<Option name="offset">
10.6
</Option>
</Options>
</Option>
<Option name="dimension">
Green
<Options>
<Option name="type">
uint16_t
</Option>
<Option name="size">
2
</Option>
<Option name="description">
This is the dimensions description
</Option>
<Option name="endianness">
big
</Option>
<Option name="uuid">
aabbc982-17c3-4c18-8c76-e3a9b344af86
</Option>
<Option name="parent_uuid">
7752759d-5713-48cd-9842-51db350cc979
</Option>
<Option name="scale">
1e-7
</Option>
<Option name="offset">
10.6
</Option>
</Options>
</Option>
</Options>
</Option>
<Reader type="drivers.las.reader">
<Option name="filename">
../1.2-with-color.las
</Option>
</Reader>
</Filter>
</Pipeline>
Options
-------
keep
A list of dimensions to retain in the point stream, expressed as an options list.
dimension
The name of dimension to retain in the point stream. There can be multiple `dimension` options under a `keep` option.
ignore
A list of dimensions to mark as ignored in the point stream, expressed as an options list.
dimension
The name of dimension to mark as ignored in the point stream. There can be multiple `dimension` options under an `ignore` option.
create
A list of dimensions to create in the point stream, expressed as an options list.
dimension
The names the dimensions to create in the point stream. There can be multiple `dimension` options under an `ignore` option. [Required]
type
The data type of the dimension. One of: int8_t, uint8_t, int16_t, uint16_t, int32_t, uint32_t, int64_t, uint64_t, float_t, double_t. [Required]
size
The width of the dimension, in bytes (should match the declared type) [Optional]
description
This is the dimensions description [Optional]
endianness
"big" or "small" [Optional]
uuid
A unique value for the dimension (eg: aabbc982-17c3-4c18-8c76-e3a9b344af86) [Optional]
parent_uuid
If the dimension is derived from another dimension, the unique value for that parent. [Optional]
scale
The scaling to apply to the dimension values. [Required]
offset
The offset to apply to the dimension values. [Default: 0.0]