-
-
Notifications
You must be signed in to change notification settings - Fork 3k
/
Rasterization-image.xml
78 lines (78 loc) · 2.81 KB
/
Rasterization-image.xml
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
<root>
<key>Rasterization-image</key>
<exec>otbcli_Rasterization</exec>
<longname>Rasterization (image)</longname>
<group>Vector Data Manipulation</group>
<description>Rasterize a vector dataset.</description>
<parameter>
<parameter_type source_parameter_type="ParameterType_InputFilename">ParameterFile</parameter_type>
<key>in</key>
<name>Input vector dataset</name>
<description>The input vector dataset to be rasterized</description>
<isFolder />
<optional>False</optional>
</parameter>
<parameter>
<parameter_type source_parameter_type="ParameterType_OutputImage">OutputRaster</parameter_type>
<key>out</key>
<name>Ouptut image</name>
<description>An output image containing the rasterized vector dataset</description>
<hidden />
</parameter>
<parameter>
<parameter_type source_parameter_type="ParameterType_InputImage">ParameterRaster</parameter_type>
<key>im</key>
<name>Input reference image</name>
<description>A reference image from which to import output grid and projection reference system information.</description>
<optional>True</optional>
</parameter>
<parameter>
<parameter_type source_parameter_type="ParameterType_Float">ParameterNumber</parameter_type>
<key>background</key>
<name>Background value</name>
<description>Default value for pixels not belonging to any geometry</description>
<minValue />
<maxValue />
<default>0</default>
</parameter>
<parameter>
<parameter_type source_parameter_type="ParameterType_Choice">ParameterSelection</parameter_type>
<key>mode</key>
<name>Rasterization mode</name>
<description>Choice of rasterization modes</description>
<options>
<choices>
<choice>binary</choice>
<choice>attribute</choice>
</choices>
</options>
<default>0</default>
</parameter>
<parameter>
<parameter_type source_parameter_type="ParameterType_Float">ParameterNumber</parameter_type>
<key>mode.binary.foreground</key>
<name>Foreground value</name>
<description>Value for pixels inside a geometry</description>
<minValue />
<maxValue />
<default>255</default>
</parameter>
<parameter>
<parameter_type source_parameter_type="ParameterType_String">ParameterString</parameter_type>
<key>mode.attribute.field</key>
<name>The attribute field to burn</name>
<description>Name of the attribute field to burn</description>
<default>DN</default>
<multiline />
<optional>False</optional>
</parameter>
<parameter>
<parameter_type source_parameter_type="ParameterType_RAM">ParameterNumber</parameter_type>
<key>ram</key>
<name>Available RAM (Mb)</name>
<description>Available memory for processing (in MB)</description>
<minValue />
<maxValue />
<default>128</default>
</parameter>
</root>