g3w-admin-processing 1.2.1b1.dev1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- g3w_admin_processing-1.2.1b1.dev1.dist-info/METADATA +258 -0
- g3w_admin_processing-1.2.1b1.dev1.dist-info/RECORD +80 -0
- g3w_admin_processing-1.2.1b1.dev1.dist-info/WHEEL +5 -0
- g3w_admin_processing-1.2.1b1.dev1.dist-info/licenses/LICENSE +373 -0
- g3w_admin_processing-1.2.1b1.dev1.dist-info/top_level.txt +1 -0
- qprocessing/__init__.py +7 -0
- qprocessing/admin.py +21 -0
- qprocessing/api/__init__.py +0 -0
- qprocessing/api/permissions.py +41 -0
- qprocessing/api/views/__init__.py +4 -0
- qprocessing/api/views/actions.py +84 -0
- qprocessing/api/views/admin.py +76 -0
- qprocessing/api/views/models.py +219 -0
- qprocessing/api/views/upload.py +177 -0
- qprocessing/apiurls.py +64 -0
- qprocessing/apps.py +38 -0
- qprocessing/configs.py +131 -0
- qprocessing/forms.py +133 -0
- qprocessing/migrations/0001_initial.py +24 -0
- qprocessing/migrations/0002_auto_20230615_1609.py +23 -0
- qprocessing/migrations/0003_qprocessinginputupload.py +32 -0
- qprocessing/migrations/0004_auto_20230809_0920.py +26 -0
- qprocessing/migrations/0005_alter_qprocessinginputupload_user.py +21 -0
- qprocessing/migrations/__init__.py +0 -0
- qprocessing/models.py +143 -0
- qprocessing/receivers.py +100 -0
- qprocessing/sitetrees.py +31 -0
- qprocessing/static/qprocessing/js/components/DrawInputVectorFeatures.js +180 -0
- qprocessing/static/qprocessing/js/components/InputFieldChooser.js +226 -0
- qprocessing/static/qprocessing/js/components/InputPrjRasterLayer.js +135 -0
- qprocessing/static/qprocessing/js/components/InputPrjVectorLayer.js +415 -0
- qprocessing/static/qprocessing/js/components/ModelPanel.js +496 -0
- qprocessing/static/qprocessing/js/components/ModelResults.js +73 -0
- qprocessing/static/qprocessing/js/components/OutputFile.js +63 -0
- qprocessing/static/qprocessing/js/components/OutputRasterLayer.js +63 -0
- qprocessing/static/qprocessing/js/components/OutputVectorLayer.js +115 -0
- qprocessing/static/qprocessing/js/components/UploadVectorFile.js +53 -0
- qprocessing/static/qprocessing/js/i18n/en.js +33 -0
- qprocessing/static/qprocessing/js/i18n/index.js +7 -0
- qprocessing/static/qprocessing/js/i18n/it.js +33 -0
- qprocessing/static/qprocessing/js/plugin.js +122 -0
- qprocessing/tasks.py +136 -0
- qprocessing/templates/qprocessing/project_form.html +70 -0
- qprocessing/templates/qprocessing/projects_list.html +72 -0
- qprocessing/tests/__init__.py +0 -0
- qprocessing/tests/base.py +104 -0
- qprocessing/tests/data/models/qbuffer.model3 +233 -0
- qprocessing/tests/data/models/qintersection.model3 +288 -0
- qprocessing/tests/data/models/qpointspolygons.model3 +222 -0
- qprocessing/tests/data/models/test.model3 +321 -0
- qprocessing/tests/data/models/test_buffer_all_inputs.model3 +269 -0
- qprocessing/tests/data/models/test_buffer_layer1.model3 +201 -0
- qprocessing/tests/data/project_data/buildings.geojson +15 -0
- qprocessing/tests/data/project_data/qprocessing.gpkg +0 -0
- qprocessing/tests/data/qprocessing_qprocessing.qgs +2813 -0
- qprocessing/tests/data/qprocessing_qprocessing_attachments.zip +0 -0
- qprocessing/tests/data/test_qgis_328.qgs +954 -0
- qprocessing/tests/data/test_qgis_328_attachments.zip +0 -0
- qprocessing/tests/data/upload/fail_shp_to_upload.zip +0 -0
- qprocessing/tests/data/upload/linestring_to_upload.geojson +9 -0
- qprocessing/tests/data/upload/point_to_upload.geojson +10 -0
- qprocessing/tests/data/upload/point_to_upload_espg4326.geojson +10 -0
- qprocessing/tests/data/upload/point_to_upload_espg4326.qmd +26 -0
- qprocessing/tests/data/upload/polygon_to_upload.geojson +9 -0
- qprocessing/tests/data/upload/shp_to_upload.cpg +1 -0
- qprocessing/tests/data/upload/shp_to_upload.dbf +0 -0
- qprocessing/tests/data/upload/shp_to_upload.prj +1 -0
- qprocessing/tests/data/upload/shp_to_upload.qix +0 -0
- qprocessing/tests/data/upload/shp_to_upload.shp +0 -0
- qprocessing/tests/data/upload/shp_to_upload.shx +0 -0
- qprocessing/tests/data/upload/shp_to_upload.zip +0 -0
- qprocessing/tests/test_algorithm.py +52 -0
- qprocessing/tests/test_api.py +173 -0
- qprocessing/tests/test_api_models.py +459 -0
- qprocessing/urls.py +33 -0
- qprocessing/utils/__init__.py +0 -0
- qprocessing/utils/data.py +283 -0
- qprocessing/utils/exceptions.py +20 -0
- qprocessing/utils/formtypes.py +521 -0
- qprocessing/views.py +96 -0
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
<!DOCTYPE model>
|
|
2
|
+
<Option type="Map">
|
|
3
|
+
<Option type="Map" name="children">
|
|
4
|
+
<Option type="Map" name="native:countpointsinpolygon_1">
|
|
5
|
+
<Option type="bool" name="active" value="true"/>
|
|
6
|
+
<Option name="alg_config"/>
|
|
7
|
+
<Option type="QString" name="alg_id" value="native:countpointsinpolygon"/>
|
|
8
|
+
<Option type="QString" name="color" value=""/>
|
|
9
|
+
<Option type="Map" name="comment">
|
|
10
|
+
<Option type="QString" name="color" value=""/>
|
|
11
|
+
<Option type="QString" name="component_description" value=""/>
|
|
12
|
+
<Option type="double" name="component_height" value="60"/>
|
|
13
|
+
<Option type="double" name="component_pos_x" value="320"/>
|
|
14
|
+
<Option type="double" name="component_pos_y" value="115"/>
|
|
15
|
+
<Option type="double" name="component_width" value="100"/>
|
|
16
|
+
<Option type="bool" name="outputs_collapsed" value="true"/>
|
|
17
|
+
<Option type="bool" name="parameters_collapsed" value="true"/>
|
|
18
|
+
</Option>
|
|
19
|
+
<Option type="QString" name="component_description" value="Conta i punti nel poligono"/>
|
|
20
|
+
<Option type="double" name="component_height" value="30"/>
|
|
21
|
+
<Option type="double" name="component_pos_x" value="120"/>
|
|
22
|
+
<Option type="double" name="component_pos_y" value="160"/>
|
|
23
|
+
<Option type="double" name="component_width" value="200"/>
|
|
24
|
+
<Option name="dependencies"/>
|
|
25
|
+
<Option type="QString" name="id" value="native:countpointsinpolygon_1"/>
|
|
26
|
+
<Option type="Map" name="outputs">
|
|
27
|
+
<Option type="Map" name="Points in polygons">
|
|
28
|
+
<Option type="QString" name="child_id" value="native:countpointsinpolygon_1"/>
|
|
29
|
+
<Option type="QString" name="color" value=""/>
|
|
30
|
+
<Option type="Map" name="comment">
|
|
31
|
+
<Option type="QString" name="color" value=""/>
|
|
32
|
+
<Option type="QString" name="component_description" value=""/>
|
|
33
|
+
<Option type="double" name="component_height" value="60"/>
|
|
34
|
+
<Option type="double" name="component_pos_x" value="0"/>
|
|
35
|
+
<Option type="double" name="component_pos_y" value="0"/>
|
|
36
|
+
<Option type="double" name="component_width" value="100"/>
|
|
37
|
+
<Option type="bool" name="outputs_collapsed" value="true"/>
|
|
38
|
+
<Option type="bool" name="parameters_collapsed" value="true"/>
|
|
39
|
+
</Option>
|
|
40
|
+
<Option type="QString" name="component_description" value="Points in polygons"/>
|
|
41
|
+
<Option type="double" name="component_height" value="30"/>
|
|
42
|
+
<Option type="double" name="component_pos_x" value="320"/>
|
|
43
|
+
<Option type="double" name="component_pos_y" value="205"/>
|
|
44
|
+
<Option type="double" name="component_width" value="200"/>
|
|
45
|
+
<Option type="invalid" name="default_value"/>
|
|
46
|
+
<Option type="bool" name="mandatory" value="false"/>
|
|
47
|
+
<Option type="QString" name="name" value="Points in polygons"/>
|
|
48
|
+
<Option type="QString" name="output_name" value="OUTPUT"/>
|
|
49
|
+
<Option type="bool" name="outputs_collapsed" value="true"/>
|
|
50
|
+
<Option type="bool" name="parameters_collapsed" value="true"/>
|
|
51
|
+
</Option>
|
|
52
|
+
</Option>
|
|
53
|
+
<Option type="bool" name="outputs_collapsed" value="true"/>
|
|
54
|
+
<Option type="bool" name="parameters_collapsed" value="true"/>
|
|
55
|
+
<Option type="Map" name="params">
|
|
56
|
+
<Option type="List" name="CLASSFIELD">
|
|
57
|
+
<Option type="Map">
|
|
58
|
+
<Option type="int" name="source" value="2"/>
|
|
59
|
+
<Option type="QString" name="static_value" value=""/>
|
|
60
|
+
</Option>
|
|
61
|
+
</Option>
|
|
62
|
+
<Option type="List" name="FIELD">
|
|
63
|
+
<Option type="Map">
|
|
64
|
+
<Option type="int" name="source" value="2"/>
|
|
65
|
+
<Option type="QString" name="static_value" value="numpoints"/>
|
|
66
|
+
</Option>
|
|
67
|
+
</Option>
|
|
68
|
+
<Option type="List" name="POINTS">
|
|
69
|
+
<Option type="Map">
|
|
70
|
+
<Option type="QString" name="parameter_name" value="points_layer"/>
|
|
71
|
+
<Option type="int" name="source" value="0"/>
|
|
72
|
+
</Option>
|
|
73
|
+
</Option>
|
|
74
|
+
<Option type="List" name="POLYGONS">
|
|
75
|
+
<Option type="Map">
|
|
76
|
+
<Option type="QString" name="parameter_name" value="polygon_layer"/>
|
|
77
|
+
<Option type="int" name="source" value="0"/>
|
|
78
|
+
</Option>
|
|
79
|
+
</Option>
|
|
80
|
+
<Option type="List" name="WEIGHT">
|
|
81
|
+
<Option type="Map">
|
|
82
|
+
<Option type="QString" name="parameter_name" value="weight_fileds"/>
|
|
83
|
+
<Option type="int" name="source" value="0"/>
|
|
84
|
+
</Option>
|
|
85
|
+
</Option>
|
|
86
|
+
</Option>
|
|
87
|
+
</Option>
|
|
88
|
+
</Option>
|
|
89
|
+
<Option name="designerParameterValues"/>
|
|
90
|
+
<Option name="groupBoxes"/>
|
|
91
|
+
<Option name="help"/>
|
|
92
|
+
<Option type="QString" name="internal_version" value="Version1"/>
|
|
93
|
+
<Option name="modelVariables"/>
|
|
94
|
+
<Option type="QString" name="model_group" value="QProcessing"/>
|
|
95
|
+
<Option type="QString" name="model_name" value="QPointsPolygons"/>
|
|
96
|
+
<Option type="Map" name="parameterDefinitions">
|
|
97
|
+
<Option type="Map" name="native:countpointsinpolygon_1:Points in polygons">
|
|
98
|
+
<Option type="bool" name="create_by_default" value="true"/>
|
|
99
|
+
<Option type="int" name="data_type" value="2"/>
|
|
100
|
+
<Option type="invalid" name="default"/>
|
|
101
|
+
<Option type="invalid" name="defaultGui"/>
|
|
102
|
+
<Option type="QString" name="description" value="Points in polygons"/>
|
|
103
|
+
<Option type="int" name="flags" value="0"/>
|
|
104
|
+
<Option type="QString" name="help" value=""/>
|
|
105
|
+
<Option type="Map" name="metadata">
|
|
106
|
+
<Option type="QString" name="_modelChildId" value="native:countpointsinpolygon_1"/>
|
|
107
|
+
<Option type="QString" name="_modelChildOutputName" value="Points in polygons"/>
|
|
108
|
+
<Option type="QString" name="_modelChildProvider" value="native"/>
|
|
109
|
+
</Option>
|
|
110
|
+
<Option type="QString" name="name" value="native:countpointsinpolygon_1:Points in polygons"/>
|
|
111
|
+
<Option type="QString" name="parameter_type" value="sink"/>
|
|
112
|
+
<Option type="bool" name="supports_append" value="true"/>
|
|
113
|
+
<Option type="bool" name="supports_non_file_outputs" value="true"/>
|
|
114
|
+
</Option>
|
|
115
|
+
<Option type="Map" name="points_layer">
|
|
116
|
+
<Option type="List" name="data_types">
|
|
117
|
+
<Option type="int" value="0"/>
|
|
118
|
+
</Option>
|
|
119
|
+
<Option type="invalid" name="default"/>
|
|
120
|
+
<Option type="invalid" name="defaultGui"/>
|
|
121
|
+
<Option type="QString" name="description" value="Points Layer"/>
|
|
122
|
+
<Option type="int" name="flags" value="0"/>
|
|
123
|
+
<Option type="QString" name="help" value=""/>
|
|
124
|
+
<Option name="metadata"/>
|
|
125
|
+
<Option type="QString" name="name" value="points_layer"/>
|
|
126
|
+
<Option type="QString" name="parameter_type" value="source"/>
|
|
127
|
+
</Option>
|
|
128
|
+
<Option type="Map" name="polygon_layer">
|
|
129
|
+
<Option type="List" name="data_types">
|
|
130
|
+
<Option type="int" value="2"/>
|
|
131
|
+
</Option>
|
|
132
|
+
<Option type="invalid" name="default"/>
|
|
133
|
+
<Option type="invalid" name="defaultGui"/>
|
|
134
|
+
<Option type="QString" name="description" value="Polygon Layer"/>
|
|
135
|
+
<Option type="int" name="flags" value="0"/>
|
|
136
|
+
<Option type="QString" name="help" value=""/>
|
|
137
|
+
<Option name="metadata"/>
|
|
138
|
+
<Option type="QString" name="name" value="polygon_layer"/>
|
|
139
|
+
<Option type="QString" name="parameter_type" value="source"/>
|
|
140
|
+
</Option>
|
|
141
|
+
<Option type="Map" name="weight_fileds">
|
|
142
|
+
<Option type="bool" name="allow_multiple" value="false"/>
|
|
143
|
+
<Option type="int" name="data_type" value="0"/>
|
|
144
|
+
<Option type="invalid" name="default"/>
|
|
145
|
+
<Option type="invalid" name="defaultGui"/>
|
|
146
|
+
<Option type="bool" name="default_to_all_fields" value="false"/>
|
|
147
|
+
<Option type="QString" name="description" value="Weight fileds"/>
|
|
148
|
+
<Option type="int" name="flags" value="0"/>
|
|
149
|
+
<Option type="QString" name="help" value=""/>
|
|
150
|
+
<Option name="metadata"/>
|
|
151
|
+
<Option type="QString" name="name" value="weight_fileds"/>
|
|
152
|
+
<Option type="QString" name="parameter_type" value="field"/>
|
|
153
|
+
<Option type="QString" name="parent_layer" value="points_layer"/>
|
|
154
|
+
</Option>
|
|
155
|
+
</Option>
|
|
156
|
+
<Option name="parameterOrder"/>
|
|
157
|
+
<Option type="Map" name="parameters">
|
|
158
|
+
<Option type="Map" name="points_layer">
|
|
159
|
+
<Option type="QString" name="color" value=""/>
|
|
160
|
+
<Option type="Map" name="comment">
|
|
161
|
+
<Option type="QString" name="color" value=""/>
|
|
162
|
+
<Option type="QString" name="component_description" value=""/>
|
|
163
|
+
<Option type="double" name="component_height" value="60"/>
|
|
164
|
+
<Option type="double" name="component_pos_x" value="655"/>
|
|
165
|
+
<Option type="double" name="component_pos_y" value="430"/>
|
|
166
|
+
<Option type="double" name="component_width" value="100"/>
|
|
167
|
+
<Option type="bool" name="outputs_collapsed" value="true"/>
|
|
168
|
+
<Option type="bool" name="parameters_collapsed" value="true"/>
|
|
169
|
+
</Option>
|
|
170
|
+
<Option type="QString" name="component_description" value="points_layer"/>
|
|
171
|
+
<Option type="double" name="component_height" value="30"/>
|
|
172
|
+
<Option type="double" name="component_pos_x" value="455"/>
|
|
173
|
+
<Option type="double" name="component_pos_y" value="475"/>
|
|
174
|
+
<Option type="double" name="component_width" value="200"/>
|
|
175
|
+
<Option type="QString" name="name" value="points_layer"/>
|
|
176
|
+
<Option type="bool" name="outputs_collapsed" value="true"/>
|
|
177
|
+
<Option type="bool" name="parameters_collapsed" value="true"/>
|
|
178
|
+
</Option>
|
|
179
|
+
<Option type="Map" name="polygon_layer">
|
|
180
|
+
<Option type="QString" name="color" value=""/>
|
|
181
|
+
<Option type="Map" name="comment">
|
|
182
|
+
<Option type="QString" name="color" value=""/>
|
|
183
|
+
<Option type="QString" name="component_description" value=""/>
|
|
184
|
+
<Option type="double" name="component_height" value="60"/>
|
|
185
|
+
<Option type="double" name="component_pos_x" value="1065"/>
|
|
186
|
+
<Option type="double" name="component_pos_y" value="15"/>
|
|
187
|
+
<Option type="double" name="component_width" value="100"/>
|
|
188
|
+
<Option type="bool" name="outputs_collapsed" value="true"/>
|
|
189
|
+
<Option type="bool" name="parameters_collapsed" value="true"/>
|
|
190
|
+
</Option>
|
|
191
|
+
<Option type="QString" name="component_description" value="polygon_layer"/>
|
|
192
|
+
<Option type="double" name="component_height" value="30"/>
|
|
193
|
+
<Option type="double" name="component_pos_x" value="593"/>
|
|
194
|
+
<Option type="double" name="component_pos_y" value="118"/>
|
|
195
|
+
<Option type="double" name="component_width" value="200"/>
|
|
196
|
+
<Option type="QString" name="name" value="polygon_layer"/>
|
|
197
|
+
<Option type="bool" name="outputs_collapsed" value="true"/>
|
|
198
|
+
<Option type="bool" name="parameters_collapsed" value="true"/>
|
|
199
|
+
</Option>
|
|
200
|
+
<Option type="Map" name="weight_fileds">
|
|
201
|
+
<Option type="QString" name="color" value=""/>
|
|
202
|
+
<Option type="Map" name="comment">
|
|
203
|
+
<Option type="QString" name="color" value=""/>
|
|
204
|
+
<Option type="QString" name="component_description" value=""/>
|
|
205
|
+
<Option type="double" name="component_height" value="60"/>
|
|
206
|
+
<Option type="double" name="component_pos_x" value="845"/>
|
|
207
|
+
<Option type="double" name="component_pos_y" value="15"/>
|
|
208
|
+
<Option type="double" name="component_width" value="100"/>
|
|
209
|
+
<Option type="bool" name="outputs_collapsed" value="true"/>
|
|
210
|
+
<Option type="bool" name="parameters_collapsed" value="true"/>
|
|
211
|
+
</Option>
|
|
212
|
+
<Option type="QString" name="component_description" value="weight_fileds"/>
|
|
213
|
+
<Option type="double" name="component_height" value="30"/>
|
|
214
|
+
<Option type="double" name="component_pos_x" value="359"/>
|
|
215
|
+
<Option type="double" name="component_pos_y" value="51"/>
|
|
216
|
+
<Option type="double" name="component_width" value="200"/>
|
|
217
|
+
<Option type="QString" name="name" value="weight_fileds"/>
|
|
218
|
+
<Option type="bool" name="outputs_collapsed" value="true"/>
|
|
219
|
+
<Option type="bool" name="parameters_collapsed" value="true"/>
|
|
220
|
+
</Option>
|
|
221
|
+
</Option>
|
|
222
|
+
</Option>
|
|
@@ -0,0 +1,321 @@
|
|
|
1
|
+
<!DOCTYPE model>
|
|
2
|
+
<Option type="Map">
|
|
3
|
+
<Option name="children" type="Map">
|
|
4
|
+
<Option name="native:buffer_1" type="Map">
|
|
5
|
+
<Option name="active" type="bool" value="true"/>
|
|
6
|
+
<Option name="alg_config"/>
|
|
7
|
+
<Option name="alg_id" type="QString" value="native:buffer"/>
|
|
8
|
+
<Option name="color" type="QString" value=""/>
|
|
9
|
+
<Option name="comment" type="Map">
|
|
10
|
+
<Option name="color" type="QString" value=""/>
|
|
11
|
+
<Option name="component_description" type="QString" value=""/>
|
|
12
|
+
<Option name="component_height" type="double" value="60"/>
|
|
13
|
+
<Option name="component_pos_x" type="double" value="354"/>
|
|
14
|
+
<Option name="component_pos_y" type="double" value="64"/>
|
|
15
|
+
<Option name="component_width" type="double" value="100"/>
|
|
16
|
+
<Option name="outputs_collapsed" type="bool" value="true"/>
|
|
17
|
+
<Option name="parameters_collapsed" type="bool" value="true"/>
|
|
18
|
+
</Option>
|
|
19
|
+
<Option name="component_description" type="QString" value="Buffer"/>
|
|
20
|
+
<Option name="component_height" type="double" value="30"/>
|
|
21
|
+
<Option name="component_pos_x" type="double" value="211"/>
|
|
22
|
+
<Option name="component_pos_y" type="double" value="159"/>
|
|
23
|
+
<Option name="component_width" type="double" value="200"/>
|
|
24
|
+
<Option name="dependencies"/>
|
|
25
|
+
<Option name="id" type="QString" value="native:buffer_1"/>
|
|
26
|
+
<Option name="outputs" type="Map">
|
|
27
|
+
<Option name="Buffered river" type="Map">
|
|
28
|
+
<Option name="child_id" type="QString" value="native:buffer_1"/>
|
|
29
|
+
<Option name="color" type="QString" value=""/>
|
|
30
|
+
<Option name="comment" type="Map">
|
|
31
|
+
<Option name="color" type="QString" value=""/>
|
|
32
|
+
<Option name="component_description" type="QString" value=""/>
|
|
33
|
+
<Option name="component_height" type="double" value="60"/>
|
|
34
|
+
<Option name="component_pos_x" type="double" value="0"/>
|
|
35
|
+
<Option name="component_pos_y" type="double" value="0"/>
|
|
36
|
+
<Option name="component_width" type="double" value="100"/>
|
|
37
|
+
<Option name="outputs_collapsed" type="bool" value="true"/>
|
|
38
|
+
<Option name="parameters_collapsed" type="bool" value="true"/>
|
|
39
|
+
</Option>
|
|
40
|
+
<Option name="component_description" type="QString" value="Buffered river"/>
|
|
41
|
+
<Option name="component_height" type="double" value="30"/>
|
|
42
|
+
<Option name="component_pos_x" type="double" value="337"/>
|
|
43
|
+
<Option name="component_pos_y" type="double" value="242"/>
|
|
44
|
+
<Option name="component_width" type="double" value="200"/>
|
|
45
|
+
<Option name="default_value" type="Map">
|
|
46
|
+
<Option name="class" type="QString" value="QgsProcessingOutputLayerDefinition"/>
|
|
47
|
+
<Option name="create_options" type="Map">
|
|
48
|
+
<Option name="fileEncoding" type="QString" value="System"/>
|
|
49
|
+
</Option>
|
|
50
|
+
<Option name="sink" type="Map">
|
|
51
|
+
<Option name="active" type="bool" value="true"/>
|
|
52
|
+
<Option name="type" type="int" value="1"/>
|
|
53
|
+
<Option name="val" type="QString" value="TEMPORARY_OUTPUT"/>
|
|
54
|
+
</Option>
|
|
55
|
+
</Option>
|
|
56
|
+
<Option name="mandatory" type="bool" value="true"/>
|
|
57
|
+
<Option name="name" type="QString" value="Buffered river"/>
|
|
58
|
+
<Option name="output_name" type="QString" value="OUTPUT"/>
|
|
59
|
+
<Option name="outputs_collapsed" type="bool" value="true"/>
|
|
60
|
+
<Option name="parameters_collapsed" type="bool" value="true"/>
|
|
61
|
+
</Option>
|
|
62
|
+
</Option>
|
|
63
|
+
<Option name="outputs_collapsed" type="bool" value="true"/>
|
|
64
|
+
<Option name="parameters_collapsed" type="bool" value="true"/>
|
|
65
|
+
<Option name="params" type="Map">
|
|
66
|
+
<Option name="DISSOLVE" type="List">
|
|
67
|
+
<Option type="Map">
|
|
68
|
+
<Option name="source" type="int" value="2"/>
|
|
69
|
+
<Option name="static_value" type="bool" value="false"/>
|
|
70
|
+
</Option>
|
|
71
|
+
</Option>
|
|
72
|
+
<Option name="DISTANCE" type="List">
|
|
73
|
+
<Option type="Map">
|
|
74
|
+
<Option name="source" type="int" value="2"/>
|
|
75
|
+
<Option name="static_value" type="double" value="50"/>
|
|
76
|
+
</Option>
|
|
77
|
+
</Option>
|
|
78
|
+
<Option name="END_CAP_STYLE" type="List">
|
|
79
|
+
<Option type="Map">
|
|
80
|
+
<Option name="source" type="int" value="2"/>
|
|
81
|
+
<Option name="static_value" type="int" value="0"/>
|
|
82
|
+
</Option>
|
|
83
|
+
</Option>
|
|
84
|
+
<Option name="INPUT" type="List">
|
|
85
|
+
<Option type="Map">
|
|
86
|
+
<Option name="parameter_name" type="QString" value="rivers"/>
|
|
87
|
+
<Option name="source" type="int" value="0"/>
|
|
88
|
+
</Option>
|
|
89
|
+
</Option>
|
|
90
|
+
<Option name="JOIN_STYLE" type="List">
|
|
91
|
+
<Option type="Map">
|
|
92
|
+
<Option name="source" type="int" value="2"/>
|
|
93
|
+
<Option name="static_value" type="int" value="0"/>
|
|
94
|
+
</Option>
|
|
95
|
+
</Option>
|
|
96
|
+
<Option name="MITER_LIMIT" type="List">
|
|
97
|
+
<Option type="Map">
|
|
98
|
+
<Option name="source" type="int" value="2"/>
|
|
99
|
+
<Option name="static_value" type="double" value="2"/>
|
|
100
|
+
</Option>
|
|
101
|
+
</Option>
|
|
102
|
+
<Option name="SEGMENTS" type="List">
|
|
103
|
+
<Option type="Map">
|
|
104
|
+
<Option name="source" type="int" value="2"/>
|
|
105
|
+
<Option name="static_value" type="int" value="5"/>
|
|
106
|
+
</Option>
|
|
107
|
+
</Option>
|
|
108
|
+
</Option>
|
|
109
|
+
</Option>
|
|
110
|
+
<Option name="native:rasterize_1" type="Map">
|
|
111
|
+
<Option name="active" type="bool" value="true"/>
|
|
112
|
+
<Option name="alg_config"/>
|
|
113
|
+
<Option name="alg_id" type="QString" value="native:rasterize"/>
|
|
114
|
+
<Option name="color" type="QString" value=""/>
|
|
115
|
+
<Option name="comment" type="Map">
|
|
116
|
+
<Option name="color" type="QString" value=""/>
|
|
117
|
+
<Option name="component_description" type="QString" value=""/>
|
|
118
|
+
<Option name="component_height" type="double" value="60"/>
|
|
119
|
+
<Option name="component_pos_x" type="double" value="421"/>
|
|
120
|
+
<Option name="component_pos_y" type="double" value="275"/>
|
|
121
|
+
<Option name="component_width" type="double" value="100"/>
|
|
122
|
+
<Option name="outputs_collapsed" type="bool" value="true"/>
|
|
123
|
+
<Option name="parameters_collapsed" type="bool" value="true"/>
|
|
124
|
+
</Option>
|
|
125
|
+
<Option name="component_description" type="QString" value="Tranform the vector map to ratser map"/>
|
|
126
|
+
<Option name="component_height" type="double" value="59"/>
|
|
127
|
+
<Option name="component_pos_x" type="double" value="221"/>
|
|
128
|
+
<Option name="component_pos_y" type="double" value="334.5"/>
|
|
129
|
+
<Option name="component_width" type="double" value="200"/>
|
|
130
|
+
<Option name="dependencies"/>
|
|
131
|
+
<Option name="id" type="QString" value="native:rasterize_1"/>
|
|
132
|
+
<Option name="outputs" type="Map">
|
|
133
|
+
<Option name="Rasterized map" type="Map">
|
|
134
|
+
<Option name="child_id" type="QString" value="native:rasterize_1"/>
|
|
135
|
+
<Option name="color" type="QString" value=""/>
|
|
136
|
+
<Option name="comment" type="Map">
|
|
137
|
+
<Option name="color" type="QString" value=""/>
|
|
138
|
+
<Option name="component_description" type="QString" value=""/>
|
|
139
|
+
<Option name="component_height" type="double" value="60"/>
|
|
140
|
+
<Option name="component_pos_x" type="double" value="0"/>
|
|
141
|
+
<Option name="component_pos_y" type="double" value="0"/>
|
|
142
|
+
<Option name="component_width" type="double" value="100"/>
|
|
143
|
+
<Option name="outputs_collapsed" type="bool" value="true"/>
|
|
144
|
+
<Option name="parameters_collapsed" type="bool" value="true"/>
|
|
145
|
+
</Option>
|
|
146
|
+
<Option name="component_description" type="QString" value="Rasterized map"/>
|
|
147
|
+
<Option name="component_height" type="double" value="30"/>
|
|
148
|
+
<Option name="component_pos_x" type="double" value="234"/>
|
|
149
|
+
<Option name="component_pos_y" type="double" value="449"/>
|
|
150
|
+
<Option name="component_width" type="double" value="200"/>
|
|
151
|
+
<Option name="default_value" type="Map">
|
|
152
|
+
<Option name="class" type="QString" value="QgsProcessingOutputLayerDefinition"/>
|
|
153
|
+
<Option name="create_options" type="Map">
|
|
154
|
+
<Option name="fileEncoding" type="QString" value="System"/>
|
|
155
|
+
</Option>
|
|
156
|
+
<Option name="sink" type="Map">
|
|
157
|
+
<Option name="active" type="bool" value="true"/>
|
|
158
|
+
<Option name="type" type="int" value="1"/>
|
|
159
|
+
<Option name="val" type="QString" value=""/>
|
|
160
|
+
</Option>
|
|
161
|
+
</Option>
|
|
162
|
+
<Option name="mandatory" type="bool" value="true"/>
|
|
163
|
+
<Option name="name" type="QString" value="Rasterized map"/>
|
|
164
|
+
<Option name="output_name" type="QString" value="OUTPUT"/>
|
|
165
|
+
<Option name="outputs_collapsed" type="bool" value="true"/>
|
|
166
|
+
<Option name="parameters_collapsed" type="bool" value="true"/>
|
|
167
|
+
</Option>
|
|
168
|
+
</Option>
|
|
169
|
+
<Option name="outputs_collapsed" type="bool" value="true"/>
|
|
170
|
+
<Option name="parameters_collapsed" type="bool" value="true"/>
|
|
171
|
+
<Option name="params" type="Map">
|
|
172
|
+
<Option name="EXTENT" type="List">
|
|
173
|
+
<Option type="Map">
|
|
174
|
+
<Option name="child_id" type="QString" value="native:buffer_1"/>
|
|
175
|
+
<Option name="output_name" type="QString" value="OUTPUT"/>
|
|
176
|
+
<Option name="source" type="int" value="1"/>
|
|
177
|
+
</Option>
|
|
178
|
+
</Option>
|
|
179
|
+
<Option name="EXTENT_BUFFER" type="List">
|
|
180
|
+
<Option type="Map">
|
|
181
|
+
<Option name="source" type="int" value="2"/>
|
|
182
|
+
<Option name="static_value" type="double" value="0"/>
|
|
183
|
+
</Option>
|
|
184
|
+
</Option>
|
|
185
|
+
<Option name="LAYERS" type="List">
|
|
186
|
+
<Option type="Map">
|
|
187
|
+
<Option name="child_id" type="QString" value="native:buffer_1"/>
|
|
188
|
+
<Option name="output_name" type="QString" value="OUTPUT"/>
|
|
189
|
+
<Option name="source" type="int" value="1"/>
|
|
190
|
+
</Option>
|
|
191
|
+
</Option>
|
|
192
|
+
<Option name="MAKE_BACKGROUND_TRANSPARENT" type="List">
|
|
193
|
+
<Option type="Map">
|
|
194
|
+
<Option name="source" type="int" value="2"/>
|
|
195
|
+
<Option name="static_value" type="bool" value="false"/>
|
|
196
|
+
</Option>
|
|
197
|
+
</Option>
|
|
198
|
+
<Option name="MAP_THEME" type="List">
|
|
199
|
+
<Option type="Map">
|
|
200
|
+
<Option name="source" type="int" value="2"/>
|
|
201
|
+
<Option name="static_value" type="invalid"/>
|
|
202
|
+
</Option>
|
|
203
|
+
</Option>
|
|
204
|
+
<Option name="MAP_UNITS_PER_PIXEL" type="List">
|
|
205
|
+
<Option type="Map">
|
|
206
|
+
<Option name="source" type="int" value="2"/>
|
|
207
|
+
<Option name="static_value" type="double" value="100"/>
|
|
208
|
+
</Option>
|
|
209
|
+
</Option>
|
|
210
|
+
<Option name="TILE_SIZE" type="List">
|
|
211
|
+
<Option type="Map">
|
|
212
|
+
<Option name="source" type="int" value="2"/>
|
|
213
|
+
<Option name="static_value" type="int" value="1024"/>
|
|
214
|
+
</Option>
|
|
215
|
+
</Option>
|
|
216
|
+
</Option>
|
|
217
|
+
</Option>
|
|
218
|
+
</Option>
|
|
219
|
+
<Option name="designerParameterValues"/>
|
|
220
|
+
<Option name="groupBoxes"/>
|
|
221
|
+
<Option name="help"/>
|
|
222
|
+
<Option name="internal_version" type="QString" value="Version1"/>
|
|
223
|
+
<Option name="modelVariables"/>
|
|
224
|
+
<Option name="model_group" type="QString" value=""/>
|
|
225
|
+
<Option name="model_name" type="QString" value="MODEL PROCESSING TEST"/>
|
|
226
|
+
<Option name="parameterDefinitions" type="Map">
|
|
227
|
+
<Option name="native:buffer_1:Buffered river" type="Map">
|
|
228
|
+
<Option name="create_by_default" type="bool" value="true"/>
|
|
229
|
+
<Option name="data_type" type="int" value="2"/>
|
|
230
|
+
<Option name="default" type="QgsProcessingOutputLayerDefinition">
|
|
231
|
+
<Option type="Map">
|
|
232
|
+
<Option name="create_options" type="Map">
|
|
233
|
+
<Option name="fileEncoding" type="QString" value="System"/>
|
|
234
|
+
</Option>
|
|
235
|
+
<Option name="sink" type="Map">
|
|
236
|
+
<Option name="active" type="bool" value="true"/>
|
|
237
|
+
<Option name="type" type="int" value="1"/>
|
|
238
|
+
<Option name="val" type="QString" value="TEMPORARY_OUTPUT"/>
|
|
239
|
+
</Option>
|
|
240
|
+
</Option>
|
|
241
|
+
</Option>
|
|
242
|
+
<Option name="defaultGui" type="invalid"/>
|
|
243
|
+
<Option name="description" type="QString" value="Buffered river"/>
|
|
244
|
+
<Option name="flags" type="int" value="0"/>
|
|
245
|
+
<Option name="help" type="QString" value=""/>
|
|
246
|
+
<Option name="metadata" type="Map">
|
|
247
|
+
<Option name="_modelChildId" type="QString" value="native:buffer_1"/>
|
|
248
|
+
<Option name="_modelChildOutputName" type="QString" value="Buffered river"/>
|
|
249
|
+
<Option name="_modelChildProvider" type="QString" value="native"/>
|
|
250
|
+
</Option>
|
|
251
|
+
<Option name="name" type="QString" value="native:buffer_1:Buffered river"/>
|
|
252
|
+
<Option name="parameter_type" type="QString" value="sink"/>
|
|
253
|
+
<Option name="supports_append" type="bool" value="true"/>
|
|
254
|
+
<Option name="supports_non_file_outputs" type="bool" value="true"/>
|
|
255
|
+
</Option>
|
|
256
|
+
<Option name="native:rasterize_1:Rasterized map" type="Map">
|
|
257
|
+
<Option name="create_by_default" type="bool" value="true"/>
|
|
258
|
+
<Option name="default" type="QgsProcessingOutputLayerDefinition">
|
|
259
|
+
<Option type="Map">
|
|
260
|
+
<Option name="create_options" type="Map">
|
|
261
|
+
<Option name="fileEncoding" type="QString" value="System"/>
|
|
262
|
+
</Option>
|
|
263
|
+
<Option name="sink" type="Map">
|
|
264
|
+
<Option name="active" type="bool" value="true"/>
|
|
265
|
+
<Option name="type" type="int" value="1"/>
|
|
266
|
+
<Option name="val" type="QString" value=""/>
|
|
267
|
+
</Option>
|
|
268
|
+
</Option>
|
|
269
|
+
</Option>
|
|
270
|
+
<Option name="defaultGui" type="invalid"/>
|
|
271
|
+
<Option name="description" type="QString" value="Rasterized map"/>
|
|
272
|
+
<Option name="flags" type="int" value="0"/>
|
|
273
|
+
<Option name="help" type="QString" value=""/>
|
|
274
|
+
<Option name="metadata" type="Map">
|
|
275
|
+
<Option name="_modelChildId" type="QString" value="native:rasterize_1"/>
|
|
276
|
+
<Option name="_modelChildOutputName" type="QString" value="Rasterized map"/>
|
|
277
|
+
<Option name="_modelChildProvider" type="QString" value="native"/>
|
|
278
|
+
</Option>
|
|
279
|
+
<Option name="name" type="QString" value="native:rasterize_1:Rasterized map"/>
|
|
280
|
+
<Option name="parameter_type" type="QString" value="rasterDestination"/>
|
|
281
|
+
<Option name="supports_non_file_outputs" type="bool" value="true"/>
|
|
282
|
+
</Option>
|
|
283
|
+
<Option name="rivers" type="Map">
|
|
284
|
+
<Option name="data_types" type="List">
|
|
285
|
+
<Option type="int" value="1"/>
|
|
286
|
+
</Option>
|
|
287
|
+
<Option name="default" type="invalid"/>
|
|
288
|
+
<Option name="defaultGui" type="invalid"/>
|
|
289
|
+
<Option name="description" type="QString" value="Rivers"/>
|
|
290
|
+
<Option name="flags" type="int" value="0"/>
|
|
291
|
+
<Option name="help" type="QString" value=""/>
|
|
292
|
+
<Option name="metadata"/>
|
|
293
|
+
<Option name="name" type="QString" value="rivers"/>
|
|
294
|
+
<Option name="parameter_type" type="QString" value="vector"/>
|
|
295
|
+
</Option>
|
|
296
|
+
</Option>
|
|
297
|
+
<Option name="parameterOrder"/>
|
|
298
|
+
<Option name="parameters" type="Map">
|
|
299
|
+
<Option name="rivers" type="Map">
|
|
300
|
+
<Option name="color" type="QString" value=""/>
|
|
301
|
+
<Option name="comment" type="Map">
|
|
302
|
+
<Option name="color" type="QString" value=""/>
|
|
303
|
+
<Option name="component_description" type="QString" value=""/>
|
|
304
|
+
<Option name="component_height" type="double" value="60"/>
|
|
305
|
+
<Option name="component_pos_x" type="double" value="320"/>
|
|
306
|
+
<Option name="component_pos_y" type="double" value="15"/>
|
|
307
|
+
<Option name="component_width" type="double" value="100"/>
|
|
308
|
+
<Option name="outputs_collapsed" type="bool" value="true"/>
|
|
309
|
+
<Option name="parameters_collapsed" type="bool" value="true"/>
|
|
310
|
+
</Option>
|
|
311
|
+
<Option name="component_description" type="QString" value="rivers"/>
|
|
312
|
+
<Option name="component_height" type="double" value="30"/>
|
|
313
|
+
<Option name="component_pos_x" type="double" value="207"/>
|
|
314
|
+
<Option name="component_pos_y" type="double" value="59"/>
|
|
315
|
+
<Option name="component_width" type="double" value="200"/>
|
|
316
|
+
<Option name="name" type="QString" value="rivers"/>
|
|
317
|
+
<Option name="outputs_collapsed" type="bool" value="true"/>
|
|
318
|
+
<Option name="parameters_collapsed" type="bool" value="true"/>
|
|
319
|
+
</Option>
|
|
320
|
+
</Option>
|
|
321
|
+
</Option>
|