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,269 @@
|
|
|
1
|
+
<!DOCTYPE model>
|
|
2
|
+
<Option type="Map">
|
|
3
|
+
<Option type="Map" name="children">
|
|
4
|
+
<Option type="Map" name="native:buffer_1">
|
|
5
|
+
<Option value="true" type="bool" name="active"/>
|
|
6
|
+
<Option name="alg_config"/>
|
|
7
|
+
<Option value="native:buffer" type="QString" name="alg_id"/>
|
|
8
|
+
<Option value="" type="QString" name="color"/>
|
|
9
|
+
<Option type="Map" name="comment">
|
|
10
|
+
<Option value="" type="QString" name="color"/>
|
|
11
|
+
<Option value="" type="QString" name="component_description"/>
|
|
12
|
+
<Option value="60" type="double" name="component_height"/>
|
|
13
|
+
<Option value="306" type="double" name="component_pos_x"/>
|
|
14
|
+
<Option value="130" type="double" name="component_pos_y"/>
|
|
15
|
+
<Option value="100" type="double" name="component_width"/>
|
|
16
|
+
<Option value="true" type="bool" name="outputs_collapsed"/>
|
|
17
|
+
<Option value="true" type="bool" name="parameters_collapsed"/>
|
|
18
|
+
</Option>
|
|
19
|
+
<Option value="Buffer" type="QString" name="component_description"/>
|
|
20
|
+
<Option value="31.000000000000004" type="double" name="component_height"/>
|
|
21
|
+
<Option value="569" type="double" name="component_pos_x"/>
|
|
22
|
+
<Option value="330.5" type="double" name="component_pos_y"/>
|
|
23
|
+
<Option value="200" type="double" name="component_width"/>
|
|
24
|
+
<Option name="dependencies"/>
|
|
25
|
+
<Option value="native:buffer_1" type="QString" name="id"/>
|
|
26
|
+
<Option type="Map" name="outputs">
|
|
27
|
+
<Option type="Map" name="Layer bufferd">
|
|
28
|
+
<Option value="native:buffer_1" type="QString" name="child_id"/>
|
|
29
|
+
<Option value="" type="QString" name="color"/>
|
|
30
|
+
<Option type="Map" name="comment">
|
|
31
|
+
<Option value="" type="QString" name="color"/>
|
|
32
|
+
<Option value="" type="QString" name="component_description"/>
|
|
33
|
+
<Option value="60" type="double" name="component_height"/>
|
|
34
|
+
<Option value="0" type="double" name="component_pos_x"/>
|
|
35
|
+
<Option value="0" type="double" name="component_pos_y"/>
|
|
36
|
+
<Option value="100" type="double" name="component_width"/>
|
|
37
|
+
<Option value="true" type="bool" name="outputs_collapsed"/>
|
|
38
|
+
<Option value="true" type="bool" name="parameters_collapsed"/>
|
|
39
|
+
</Option>
|
|
40
|
+
<Option value="Layer bufferd" type="QString" name="component_description"/>
|
|
41
|
+
<Option value="30" type="double" name="component_height"/>
|
|
42
|
+
<Option value="593" type="double" name="component_pos_x"/>
|
|
43
|
+
<Option value="482" type="double" name="component_pos_y"/>
|
|
44
|
+
<Option value="200" type="double" name="component_width"/>
|
|
45
|
+
<Option type="invalid" name="default_value"/>
|
|
46
|
+
<Option value="false" type="bool" name="mandatory"/>
|
|
47
|
+
<Option value="Layer bufferd" type="QString" name="name"/>
|
|
48
|
+
<Option value="OUTPUT" type="QString" name="output_name"/>
|
|
49
|
+
<Option value="true" type="bool" name="outputs_collapsed"/>
|
|
50
|
+
<Option value="true" type="bool" name="parameters_collapsed"/>
|
|
51
|
+
</Option>
|
|
52
|
+
</Option>
|
|
53
|
+
<Option value="true" type="bool" name="outputs_collapsed"/>
|
|
54
|
+
<Option value="true" type="bool" name="parameters_collapsed"/>
|
|
55
|
+
<Option type="Map" name="params">
|
|
56
|
+
<Option type="List" name="DISSOLVE">
|
|
57
|
+
<Option type="Map">
|
|
58
|
+
<Option value="2" type="int" name="source"/>
|
|
59
|
+
<Option value="false" type="bool" name="static_value"/>
|
|
60
|
+
</Option>
|
|
61
|
+
</Option>
|
|
62
|
+
<Option type="List" name="DISTANCE">
|
|
63
|
+
<Option type="Map">
|
|
64
|
+
<Option value="buffer_distance" type="QString" name="parameter_name"/>
|
|
65
|
+
<Option value="0" type="int" name="source"/>
|
|
66
|
+
</Option>
|
|
67
|
+
</Option>
|
|
68
|
+
<Option type="List" name="END_CAP_STYLE">
|
|
69
|
+
<Option type="Map">
|
|
70
|
+
<Option value="2" type="int" name="source"/>
|
|
71
|
+
<Option value="0" type="int" name="static_value"/>
|
|
72
|
+
</Option>
|
|
73
|
+
</Option>
|
|
74
|
+
<Option type="List" name="INPUT">
|
|
75
|
+
<Option type="Map">
|
|
76
|
+
<Option value="ingresso1" type="QString" name="parameter_name"/>
|
|
77
|
+
<Option value="0" type="int" name="source"/>
|
|
78
|
+
</Option>
|
|
79
|
+
</Option>
|
|
80
|
+
<Option type="List" name="JOIN_STYLE">
|
|
81
|
+
<Option type="Map">
|
|
82
|
+
<Option value="2" type="int" name="source"/>
|
|
83
|
+
<Option value="0" type="int" name="static_value"/>
|
|
84
|
+
</Option>
|
|
85
|
+
</Option>
|
|
86
|
+
<Option type="List" name="MITER_LIMIT">
|
|
87
|
+
<Option type="Map">
|
|
88
|
+
<Option value="buffer_miter_limit" type="QString" name="parameter_name"/>
|
|
89
|
+
<Option value="0" type="int" name="source"/>
|
|
90
|
+
</Option>
|
|
91
|
+
</Option>
|
|
92
|
+
<Option type="List" name="SEGMENTS">
|
|
93
|
+
<Option type="Map">
|
|
94
|
+
<Option value="buffer_segments" type="QString" name="parameter_name"/>
|
|
95
|
+
<Option value="0" type="int" name="source"/>
|
|
96
|
+
</Option>
|
|
97
|
+
</Option>
|
|
98
|
+
</Option>
|
|
99
|
+
</Option>
|
|
100
|
+
</Option>
|
|
101
|
+
<Option name="designerParameterValues"/>
|
|
102
|
+
<Option name="groupBoxes"/>
|
|
103
|
+
<Option name="help"/>
|
|
104
|
+
<Option value="Version2" type="QString" name="internal_version"/>
|
|
105
|
+
<Option name="modelVariables"/>
|
|
106
|
+
<Option value="" type="QString" name="model_group"/>
|
|
107
|
+
<Option value="test_buffer_all_inputs" type="QString" name="model_name"/>
|
|
108
|
+
<Option type="Map" name="parameterDefinitions">
|
|
109
|
+
<Option type="Map" name="buffer_distance">
|
|
110
|
+
<Option value="1" type="int" name="data_type"/>
|
|
111
|
+
<Option value="1000" type="double" name="default"/>
|
|
112
|
+
<Option type="invalid" name="defaultGui"/>
|
|
113
|
+
<Option value="9" type="int" name="default_unit"/>
|
|
114
|
+
<Option value="Buffer distance" type="QString" name="description"/>
|
|
115
|
+
<Option value="0" type="int" name="flags"/>
|
|
116
|
+
<Option value="" type="QString" name="help"/>
|
|
117
|
+
<Option value="20000" type="double" name="max"/>
|
|
118
|
+
<Option name="metadata"/>
|
|
119
|
+
<Option value="10" type="double" name="min"/>
|
|
120
|
+
<Option value="buffer_distance" type="QString" name="name"/>
|
|
121
|
+
<Option value="distance" type="QString" name="parameter_type"/>
|
|
122
|
+
<Option value="ingresso1" type="QString" name="parent"/>
|
|
123
|
+
</Option>
|
|
124
|
+
<Option type="Map" name="buffer_miter_limit">
|
|
125
|
+
<Option value="1" type="int" name="data_type"/>
|
|
126
|
+
<Option value="2" type="double" name="default"/>
|
|
127
|
+
<Option type="invalid" name="defaultGui"/>
|
|
128
|
+
<Option value="Buffer miter limit" type="QString" name="description"/>
|
|
129
|
+
<Option value="0" type="int" name="flags"/>
|
|
130
|
+
<Option value="" type="QString" name="help"/>
|
|
131
|
+
<Option value="10" type="double" name="max"/>
|
|
132
|
+
<Option name="metadata"/>
|
|
133
|
+
<Option value="0" type="double" name="min"/>
|
|
134
|
+
<Option value="buffer_miter_limit" type="QString" name="name"/>
|
|
135
|
+
<Option value="number" type="QString" name="parameter_type"/>
|
|
136
|
+
</Option>
|
|
137
|
+
<Option type="Map" name="buffer_segments">
|
|
138
|
+
<Option value="0" type="int" name="data_type"/>
|
|
139
|
+
<Option value="2" type="double" name="default"/>
|
|
140
|
+
<Option type="invalid" name="defaultGui"/>
|
|
141
|
+
<Option value="Buffer segments" type="QString" name="description"/>
|
|
142
|
+
<Option value="0" type="int" name="flags"/>
|
|
143
|
+
<Option value="" type="QString" name="help"/>
|
|
144
|
+
<Option value="10" type="double" name="max"/>
|
|
145
|
+
<Option name="metadata"/>
|
|
146
|
+
<Option value="0" type="double" name="min"/>
|
|
147
|
+
<Option value="buffer_segments" type="QString" name="name"/>
|
|
148
|
+
<Option value="number" type="QString" name="parameter_type"/>
|
|
149
|
+
</Option>
|
|
150
|
+
<Option type="Map" name="ingresso1">
|
|
151
|
+
<Option type="List" name="data_types">
|
|
152
|
+
<Option value="2" type="int"/>
|
|
153
|
+
</Option>
|
|
154
|
+
<Option type="invalid" name="default"/>
|
|
155
|
+
<Option type="invalid" name="defaultGui"/>
|
|
156
|
+
<Option value="Ingresso1" type="QString" name="description"/>
|
|
157
|
+
<Option value="0" type="int" name="flags"/>
|
|
158
|
+
<Option value="" type="QString" name="help"/>
|
|
159
|
+
<Option name="metadata"/>
|
|
160
|
+
<Option value="ingresso1" type="QString" name="name"/>
|
|
161
|
+
<Option value="vector" type="QString" name="parameter_type"/>
|
|
162
|
+
</Option>
|
|
163
|
+
<Option type="Map" name="layer_bufferd">
|
|
164
|
+
<Option value="true" type="bool" name="create_by_default"/>
|
|
165
|
+
<Option value="2" type="int" name="data_type"/>
|
|
166
|
+
<Option type="invalid" name="default"/>
|
|
167
|
+
<Option type="invalid" name="defaultGui"/>
|
|
168
|
+
<Option value="Layer bufferd" type="QString" name="description"/>
|
|
169
|
+
<Option value="0" type="int" name="flags"/>
|
|
170
|
+
<Option value="" type="QString" name="help"/>
|
|
171
|
+
<Option type="Map" name="metadata">
|
|
172
|
+
<Option value="native:buffer_1" type="QString" name="_modelChildId"/>
|
|
173
|
+
<Option value="Layer bufferd" type="QString" name="_modelChildOutputName"/>
|
|
174
|
+
<Option value="native" type="QString" name="_modelChildProvider"/>
|
|
175
|
+
</Option>
|
|
176
|
+
<Option value="layer_bufferd" type="QString" name="name"/>
|
|
177
|
+
<Option value="sink" type="QString" name="parameter_type"/>
|
|
178
|
+
<Option value="true" type="bool" name="supports_append"/>
|
|
179
|
+
<Option value="true" type="bool" name="supports_non_file_outputs"/>
|
|
180
|
+
</Option>
|
|
181
|
+
</Option>
|
|
182
|
+
<Option name="parameterOrder"/>
|
|
183
|
+
<Option type="Map" name="parameters">
|
|
184
|
+
<Option type="Map" name="buffer_distance">
|
|
185
|
+
<Option value="" type="QString" name="color"/>
|
|
186
|
+
<Option type="Map" name="comment">
|
|
187
|
+
<Option value="" type="QString" name="color"/>
|
|
188
|
+
<Option value="" type="QString" name="component_description"/>
|
|
189
|
+
<Option value="60" type="double" name="component_height"/>
|
|
190
|
+
<Option value="810" type="double" name="component_pos_x"/>
|
|
191
|
+
<Option value="223" type="double" name="component_pos_y"/>
|
|
192
|
+
<Option value="100" type="double" name="component_width"/>
|
|
193
|
+
<Option value="true" type="bool" name="outputs_collapsed"/>
|
|
194
|
+
<Option value="true" type="bool" name="parameters_collapsed"/>
|
|
195
|
+
</Option>
|
|
196
|
+
<Option value="buffer_distance" type="QString" name="component_description"/>
|
|
197
|
+
<Option value="30" type="double" name="component_height"/>
|
|
198
|
+
<Option value="908" type="double" name="component_pos_x"/>
|
|
199
|
+
<Option value="225" type="double" name="component_pos_y"/>
|
|
200
|
+
<Option value="200" type="double" name="component_width"/>
|
|
201
|
+
<Option value="buffer_distance" type="QString" name="name"/>
|
|
202
|
+
<Option value="true" type="bool" name="outputs_collapsed"/>
|
|
203
|
+
<Option value="true" type="bool" name="parameters_collapsed"/>
|
|
204
|
+
</Option>
|
|
205
|
+
<Option type="Map" name="buffer_miter_limit">
|
|
206
|
+
<Option value="" type="QString" name="color"/>
|
|
207
|
+
<Option type="Map" name="comment">
|
|
208
|
+
<Option value="" type="QString" name="color"/>
|
|
209
|
+
<Option value="" type="QString" name="component_description"/>
|
|
210
|
+
<Option value="60" type="double" name="component_height"/>
|
|
211
|
+
<Option value="444" type="double" name="component_pos_x"/>
|
|
212
|
+
<Option value="265" type="double" name="component_pos_y"/>
|
|
213
|
+
<Option value="100" type="double" name="component_width"/>
|
|
214
|
+
<Option value="true" type="bool" name="outputs_collapsed"/>
|
|
215
|
+
<Option value="true" type="bool" name="parameters_collapsed"/>
|
|
216
|
+
</Option>
|
|
217
|
+
<Option value="buffer_miter_limit" type="QString" name="component_description"/>
|
|
218
|
+
<Option value="30" type="double" name="component_height"/>
|
|
219
|
+
<Option value="244" type="double" name="component_pos_x"/>
|
|
220
|
+
<Option value="310" type="double" name="component_pos_y"/>
|
|
221
|
+
<Option value="200" type="double" name="component_width"/>
|
|
222
|
+
<Option value="buffer_miter_limit" type="QString" name="name"/>
|
|
223
|
+
<Option value="true" type="bool" name="outputs_collapsed"/>
|
|
224
|
+
<Option value="true" type="bool" name="parameters_collapsed"/>
|
|
225
|
+
</Option>
|
|
226
|
+
<Option type="Map" name="buffer_segments">
|
|
227
|
+
<Option value="" type="QString" name="color"/>
|
|
228
|
+
<Option type="Map" name="comment">
|
|
229
|
+
<Option value="" type="QString" name="color"/>
|
|
230
|
+
<Option value="" type="QString" name="component_description"/>
|
|
231
|
+
<Option value="60" type="double" name="component_height"/>
|
|
232
|
+
<Option value="530" type="double" name="component_pos_x"/>
|
|
233
|
+
<Option value="146" type="double" name="component_pos_y"/>
|
|
234
|
+
<Option value="100" type="double" name="component_width"/>
|
|
235
|
+
<Option value="true" type="bool" name="outputs_collapsed"/>
|
|
236
|
+
<Option value="true" type="bool" name="parameters_collapsed"/>
|
|
237
|
+
</Option>
|
|
238
|
+
<Option value="buffer_segments" type="QString" name="component_description"/>
|
|
239
|
+
<Option value="30" type="double" name="component_height"/>
|
|
240
|
+
<Option value="330" type="double" name="component_pos_x"/>
|
|
241
|
+
<Option value="191" type="double" name="component_pos_y"/>
|
|
242
|
+
<Option value="200" type="double" name="component_width"/>
|
|
243
|
+
<Option value="buffer_segments" type="QString" name="name"/>
|
|
244
|
+
<Option value="true" type="bool" name="outputs_collapsed"/>
|
|
245
|
+
<Option value="true" type="bool" name="parameters_collapsed"/>
|
|
246
|
+
</Option>
|
|
247
|
+
<Option type="Map" name="ingresso1">
|
|
248
|
+
<Option value="" type="QString" name="color"/>
|
|
249
|
+
<Option type="Map" name="comment">
|
|
250
|
+
<Option value="" type="QString" name="color"/>
|
|
251
|
+
<Option value="" type="QString" name="component_description"/>
|
|
252
|
+
<Option value="60" type="double" name="component_height"/>
|
|
253
|
+
<Option value="355" type="double" name="component_pos_x"/>
|
|
254
|
+
<Option value="38" type="double" name="component_pos_y"/>
|
|
255
|
+
<Option value="100" type="double" name="component_width"/>
|
|
256
|
+
<Option value="true" type="bool" name="outputs_collapsed"/>
|
|
257
|
+
<Option value="true" type="bool" name="parameters_collapsed"/>
|
|
258
|
+
</Option>
|
|
259
|
+
<Option value="ingresso1" type="QString" name="component_description"/>
|
|
260
|
+
<Option value="64" type="double" name="component_height"/>
|
|
261
|
+
<Option value="567" type="double" name="component_pos_x"/>
|
|
262
|
+
<Option value="129" type="double" name="component_pos_y"/>
|
|
263
|
+
<Option value="200" type="double" name="component_width"/>
|
|
264
|
+
<Option value="ingresso1" type="QString" name="name"/>
|
|
265
|
+
<Option value="true" type="bool" name="outputs_collapsed"/>
|
|
266
|
+
<Option value="true" type="bool" name="parameters_collapsed"/>
|
|
267
|
+
</Option>
|
|
268
|
+
</Option>
|
|
269
|
+
</Option>
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
<!DOCTYPE model>
|
|
2
|
+
<Option type="Map">
|
|
3
|
+
<Option type="Map" name="children">
|
|
4
|
+
<Option type="Map" name="native:buffer_1">
|
|
5
|
+
<Option type="bool" value="true" name="active"/>
|
|
6
|
+
<Option name="alg_config"/>
|
|
7
|
+
<Option type="QString" value="native:buffer" name="alg_id"/>
|
|
8
|
+
<Option type="QString" value="" name="color"/>
|
|
9
|
+
<Option type="Map" name="comment">
|
|
10
|
+
<Option type="QString" value="" name="color"/>
|
|
11
|
+
<Option type="QString" value="" name="component_description"/>
|
|
12
|
+
<Option type="double" value="60" name="component_height"/>
|
|
13
|
+
<Option type="double" value="306" name="component_pos_x"/>
|
|
14
|
+
<Option type="double" value="130" name="component_pos_y"/>
|
|
15
|
+
<Option type="double" value="100" name="component_width"/>
|
|
16
|
+
<Option type="bool" value="true" name="outputs_collapsed"/>
|
|
17
|
+
<Option type="bool" value="true" name="parameters_collapsed"/>
|
|
18
|
+
</Option>
|
|
19
|
+
<Option type="QString" value="Buffer" name="component_description"/>
|
|
20
|
+
<Option type="double" value="30" name="component_height"/>
|
|
21
|
+
<Option type="double" value="568" name="component_pos_x"/>
|
|
22
|
+
<Option type="double" value="331" name="component_pos_y"/>
|
|
23
|
+
<Option type="double" value="200" name="component_width"/>
|
|
24
|
+
<Option name="dependencies"/>
|
|
25
|
+
<Option type="QString" value="native:buffer_1" name="id"/>
|
|
26
|
+
<Option type="Map" name="outputs">
|
|
27
|
+
<Option type="Map" name="Layer bufferd">
|
|
28
|
+
<Option type="QString" value="native:buffer_1" name="child_id"/>
|
|
29
|
+
<Option type="QString" value="" name="color"/>
|
|
30
|
+
<Option type="Map" name="comment">
|
|
31
|
+
<Option type="QString" value="" name="color"/>
|
|
32
|
+
<Option type="QString" value="" name="component_description"/>
|
|
33
|
+
<Option type="double" value="60" name="component_height"/>
|
|
34
|
+
<Option type="double" value="0" name="component_pos_x"/>
|
|
35
|
+
<Option type="double" value="0" name="component_pos_y"/>
|
|
36
|
+
<Option type="double" value="100" name="component_width"/>
|
|
37
|
+
<Option type="bool" value="true" name="outputs_collapsed"/>
|
|
38
|
+
<Option type="bool" value="true" name="parameters_collapsed"/>
|
|
39
|
+
</Option>
|
|
40
|
+
<Option type="QString" value="Layer bufferd" name="component_description"/>
|
|
41
|
+
<Option type="double" value="30" name="component_height"/>
|
|
42
|
+
<Option type="double" value="593" name="component_pos_x"/>
|
|
43
|
+
<Option type="double" value="482" name="component_pos_y"/>
|
|
44
|
+
<Option type="double" value="200" name="component_width"/>
|
|
45
|
+
<Option type="invalid" name="default_value"/>
|
|
46
|
+
<Option type="bool" value="false" name="mandatory"/>
|
|
47
|
+
<Option type="QString" value="Layer bufferd" name="name"/>
|
|
48
|
+
<Option type="QString" value="OUTPUT" name="output_name"/>
|
|
49
|
+
<Option type="bool" value="true" name="outputs_collapsed"/>
|
|
50
|
+
<Option type="bool" value="true" name="parameters_collapsed"/>
|
|
51
|
+
</Option>
|
|
52
|
+
</Option>
|
|
53
|
+
<Option type="bool" value="true" name="outputs_collapsed"/>
|
|
54
|
+
<Option type="bool" value="true" name="parameters_collapsed"/>
|
|
55
|
+
<Option type="Map" name="params">
|
|
56
|
+
<Option type="List" name="DISSOLVE">
|
|
57
|
+
<Option type="Map">
|
|
58
|
+
<Option type="int" value="2" name="source"/>
|
|
59
|
+
<Option type="bool" value="false" name="static_value"/>
|
|
60
|
+
</Option>
|
|
61
|
+
</Option>
|
|
62
|
+
<Option type="List" name="DISTANCE">
|
|
63
|
+
<Option type="Map">
|
|
64
|
+
<Option type="QString" value="buffer_distance" name="parameter_name"/>
|
|
65
|
+
<Option type="int" value="0" name="source"/>
|
|
66
|
+
</Option>
|
|
67
|
+
</Option>
|
|
68
|
+
<Option type="List" name="END_CAP_STYLE">
|
|
69
|
+
<Option type="Map">
|
|
70
|
+
<Option type="int" value="2" name="source"/>
|
|
71
|
+
<Option type="int" value="0" name="static_value"/>
|
|
72
|
+
</Option>
|
|
73
|
+
</Option>
|
|
74
|
+
<Option type="List" name="INPUT">
|
|
75
|
+
<Option type="Map">
|
|
76
|
+
<Option type="QString" value="ingresso1" name="parameter_name"/>
|
|
77
|
+
<Option type="int" value="0" name="source"/>
|
|
78
|
+
</Option>
|
|
79
|
+
</Option>
|
|
80
|
+
<Option type="List" name="JOIN_STYLE">
|
|
81
|
+
<Option type="Map">
|
|
82
|
+
<Option type="int" value="2" name="source"/>
|
|
83
|
+
<Option type="int" value="0" name="static_value"/>
|
|
84
|
+
</Option>
|
|
85
|
+
</Option>
|
|
86
|
+
<Option type="List" name="MITER_LIMIT">
|
|
87
|
+
<Option type="Map">
|
|
88
|
+
<Option type="int" value="2" name="source"/>
|
|
89
|
+
<Option type="double" value="2" name="static_value"/>
|
|
90
|
+
</Option>
|
|
91
|
+
</Option>
|
|
92
|
+
<Option type="List" name="SEGMENTS">
|
|
93
|
+
<Option type="Map">
|
|
94
|
+
<Option type="int" value="2" name="source"/>
|
|
95
|
+
<Option type="int" value="5" name="static_value"/>
|
|
96
|
+
</Option>
|
|
97
|
+
</Option>
|
|
98
|
+
</Option>
|
|
99
|
+
</Option>
|
|
100
|
+
</Option>
|
|
101
|
+
<Option name="designerParameterValues"/>
|
|
102
|
+
<Option name="groupBoxes"/>
|
|
103
|
+
<Option name="help"/>
|
|
104
|
+
<Option type="QString" value="Version2" name="internal_version"/>
|
|
105
|
+
<Option name="modelVariables"/>
|
|
106
|
+
<Option type="QString" value="" name="model_group"/>
|
|
107
|
+
<Option type="QString" value="test_buffer_layer1" name="model_name"/>
|
|
108
|
+
<Option type="Map" name="parameterDefinitions">
|
|
109
|
+
<Option type="Map" name="buffer_distance">
|
|
110
|
+
<Option type="int" value="1" name="data_type"/>
|
|
111
|
+
<Option type="double" value="1000" name="default"/>
|
|
112
|
+
<Option type="invalid" name="defaultGui"/>
|
|
113
|
+
<Option type="int" value="9" name="default_unit"/>
|
|
114
|
+
<Option type="QString" value="Buffer distance" name="description"/>
|
|
115
|
+
<Option type="int" value="0" name="flags"/>
|
|
116
|
+
<Option type="QString" value="" name="help"/>
|
|
117
|
+
<Option type="double" value="20000" name="max"/>
|
|
118
|
+
<Option name="metadata"/>
|
|
119
|
+
<Option type="double" value="10" name="min"/>
|
|
120
|
+
<Option type="QString" value="buffer_distance" name="name"/>
|
|
121
|
+
<Option type="QString" value="distance" name="parameter_type"/>
|
|
122
|
+
<Option type="QString" value="ingresso1" name="parent"/>
|
|
123
|
+
</Option>
|
|
124
|
+
<Option type="Map" name="ingresso1">
|
|
125
|
+
<Option type="List" name="data_types">
|
|
126
|
+
<Option type="int" value="2"/>
|
|
127
|
+
</Option>
|
|
128
|
+
<Option type="invalid" name="default"/>
|
|
129
|
+
<Option type="invalid" name="defaultGui"/>
|
|
130
|
+
<Option type="QString" value="Ingresso1" name="description"/>
|
|
131
|
+
<Option type="int" value="0" name="flags"/>
|
|
132
|
+
<Option type="QString" value="" name="help"/>
|
|
133
|
+
<Option name="metadata"/>
|
|
134
|
+
<Option type="QString" value="ingresso1" name="name"/>
|
|
135
|
+
<Option type="QString" value="vector" name="parameter_type"/>
|
|
136
|
+
</Option>
|
|
137
|
+
<Option type="Map" name="layer_bufferd">
|
|
138
|
+
<Option type="bool" value="true" name="create_by_default"/>
|
|
139
|
+
<Option type="int" value="2" name="data_type"/>
|
|
140
|
+
<Option type="invalid" name="default"/>
|
|
141
|
+
<Option type="invalid" name="defaultGui"/>
|
|
142
|
+
<Option type="QString" value="Layer bufferd" name="description"/>
|
|
143
|
+
<Option type="int" value="0" name="flags"/>
|
|
144
|
+
<Option type="QString" value="" name="help"/>
|
|
145
|
+
<Option type="Map" name="metadata">
|
|
146
|
+
<Option type="QString" value="native:buffer_1" name="_modelChildId"/>
|
|
147
|
+
<Option type="QString" value="Layer bufferd" name="_modelChildOutputName"/>
|
|
148
|
+
<Option type="QString" value="native" name="_modelChildProvider"/>
|
|
149
|
+
</Option>
|
|
150
|
+
<Option type="QString" value="layer_bufferd" name="name"/>
|
|
151
|
+
<Option type="QString" value="sink" name="parameter_type"/>
|
|
152
|
+
<Option type="bool" value="true" name="supports_append"/>
|
|
153
|
+
<Option type="bool" value="true" name="supports_non_file_outputs"/>
|
|
154
|
+
</Option>
|
|
155
|
+
</Option>
|
|
156
|
+
<Option name="parameterOrder"/>
|
|
157
|
+
<Option type="Map" name="parameters">
|
|
158
|
+
<Option type="Map" name="buffer_distance">
|
|
159
|
+
<Option type="QString" value="" name="color"/>
|
|
160
|
+
<Option type="Map" name="comment">
|
|
161
|
+
<Option type="QString" value="" name="color"/>
|
|
162
|
+
<Option type="QString" value="" name="component_description"/>
|
|
163
|
+
<Option type="double" value="60" name="component_height"/>
|
|
164
|
+
<Option type="double" value="810" name="component_pos_x"/>
|
|
165
|
+
<Option type="double" value="223" name="component_pos_y"/>
|
|
166
|
+
<Option type="double" value="100" name="component_width"/>
|
|
167
|
+
<Option type="bool" value="true" name="outputs_collapsed"/>
|
|
168
|
+
<Option type="bool" value="true" name="parameters_collapsed"/>
|
|
169
|
+
</Option>
|
|
170
|
+
<Option type="QString" value="buffer_distance" name="component_description"/>
|
|
171
|
+
<Option type="double" value="30" name="component_height"/>
|
|
172
|
+
<Option type="double" value="663" name="component_pos_x"/>
|
|
173
|
+
<Option type="double" value="232" name="component_pos_y"/>
|
|
174
|
+
<Option type="double" value="200" name="component_width"/>
|
|
175
|
+
<Option type="QString" value="buffer_distance" name="name"/>
|
|
176
|
+
<Option type="bool" value="true" name="outputs_collapsed"/>
|
|
177
|
+
<Option type="bool" value="true" name="parameters_collapsed"/>
|
|
178
|
+
</Option>
|
|
179
|
+
<Option type="Map" name="ingresso1">
|
|
180
|
+
<Option type="QString" value="" name="color"/>
|
|
181
|
+
<Option type="Map" name="comment">
|
|
182
|
+
<Option type="QString" value="" name="color"/>
|
|
183
|
+
<Option type="QString" value="" name="component_description"/>
|
|
184
|
+
<Option type="double" value="60" name="component_height"/>
|
|
185
|
+
<Option type="double" value="355" name="component_pos_x"/>
|
|
186
|
+
<Option type="double" value="38" name="component_pos_y"/>
|
|
187
|
+
<Option type="double" value="100" name="component_width"/>
|
|
188
|
+
<Option type="bool" value="true" name="outputs_collapsed"/>
|
|
189
|
+
<Option type="bool" value="true" name="parameters_collapsed"/>
|
|
190
|
+
</Option>
|
|
191
|
+
<Option type="QString" value="ingresso1" name="component_description"/>
|
|
192
|
+
<Option type="double" value="64" name="component_height"/>
|
|
193
|
+
<Option type="double" value="567" name="component_pos_x"/>
|
|
194
|
+
<Option type="double" value="129" name="component_pos_y"/>
|
|
195
|
+
<Option type="double" value="200" name="component_width"/>
|
|
196
|
+
<Option type="QString" value="ingresso1" name="name"/>
|
|
197
|
+
<Option type="bool" value="true" name="outputs_collapsed"/>
|
|
198
|
+
<Option type="bool" value="true" name="parameters_collapsed"/>
|
|
199
|
+
</Option>
|
|
200
|
+
</Option>
|
|
201
|
+
</Option>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "FeatureCollection",
|
|
3
|
+
"name": "buildings",
|
|
4
|
+
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:EPSG::3857" } },
|
|
5
|
+
"features": [
|
|
6
|
+
{ "type": "Feature", "properties": { "id": 1, "nome": "pippo", "indirizzo": "via di pippo", "anno_costr": "2022-08-02", "foto": null, "link": null, "scheda": null, "altezza": 9, "volume": null, "superficie": null, "barriere": null, "data_bar": null, "uscite": null, "data_uscite": null, "antincendio": null, "data_inc": null, "tipo": null, "cat_ed": null }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 1194802.036278397776186, 5392550.396728336811066 ], [ 1227606.723347900668159, 5387807.550405034795403 ], [ 1217725.793507688911632, 5368045.690724611282349 ], [ 1186897.292406228370965, 5371998.06266069598496 ], [ 1194802.036278397776186, 5392550.396728336811066 ] ] ] ] } },
|
|
7
|
+
{ "type": "Feature", "properties": { "id": 2, "nome": "pippo2", "indirizzo": "piazza gino", "anno_costr": "2002-07-10", "foto": null, "link": null, "scheda": null, "altezza": 23, "volume": null, "superficie": null, "barriere": null, "data_bar": null, "uscite": null, "data_uscite": null, "antincendio": null, "data_inc": null, "tipo": null, "cat_ed": null }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 1234903.370920910965651, 5462375.126248889602721 ], [ 1247811.065799065399915, 5435551.322830225341022 ], [ 1218163.704125804826617, 5434744.591900340281427 ], [ 1234903.370920910965651, 5462375.126248889602721 ] ] ] ] } },
|
|
8
|
+
{ "type": "Feature", "properties": { "id": 3, "nome": "sss", "indirizzo": "via monte napleone", "anno_costr": "2002-10-07", "foto": null, "link": null, "scheda": null, "altezza": 23, "volume": null, "superficie": null, "barriere": null, "data_bar": null, "uscite": null, "data_uscite": null, "antincendio": null, "data_inc": null, "tipo": null, "cat_ed": null }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 1234298.322723, 5499686.431756 ], [ 1262332.222537, 5477299.648451999761164 ], [ 1227642.792552, 5474072.724732000380754 ], [ 1209289.663897, 5488593.881470000371337 ], [ 1211911.539419, 5505736.913730000145733 ], [ 1234298.322723, 5499686.431756 ] ] ] ] } },
|
|
9
|
+
{ "type": "Feature", "properties": { "id": 4, "nome": "gggg", "indirizzo": "podere ribarri", "anno_costr": "2022-08-31", "foto": null, "link": null, "scheda": null, "altezza": 557, "volume": null, "superficie": null, "barriere": null, "data_bar": null, "uscite": null, "data_uscite": null, "antincendio": null, "data_inc": null, "tipo": null, "cat_ed": null }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 1181255.764083582442254, 5513602.540296564809978 ], [ 1181054.081351111177355, 5503921.76913794875145 ], [ 1155037.008862331742421, 5500694.845418410375714 ], [ 1153020.181537620024756, 5512795.809366679750383 ], [ 1181255.764083582442254, 5513602.540296564809978 ] ] ] ] } },
|
|
10
|
+
{ "type": "Feature", "properties": { "id": 6, "nome": "walter 1", "indirizzo": null, "anno_costr": "2022-01-01", "foto": null, "link": null, "scheda": null, "altezza": 123, "volume": null, "superficie": null, "barriere": null, "data_bar": null, "uscite": null, "data_uscite": null, "antincendio": null, "data_inc": null, "tipo": null, "cat_ed": null }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 1116883.690967006376013, 5407645.496552484109998 ], [ 1125110.138159808935598, 5387366.347658598795533 ], [ 1090673.847585286712274, 5386027.158580700866878 ], [ 1116883.690967006376013, 5407645.496552484109998 ] ] ] ] } },
|
|
11
|
+
{ "type": "Feature", "properties": { "id": 7, "nome": "pippo2", "indirizzo": "piazza gino", "anno_costr": "2002-07-10", "foto": null, "link": null, "scheda": null, "altezza": 23, "volume": null, "superficie": null, "barriere": null, "data_bar": null, "uscite": null, "data_uscite": null, "antincendio": null, "data_inc": null, "tipo": null, "cat_ed": null }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 1166816.115621337434277, 5442163.289016388356686 ], [ 1179723.810499337501824, 5415339.485597387887537 ], [ 1150076.448826337466016, 5414532.754667388275266 ], [ 1166816.115621337434277, 5442163.289016388356686 ] ] ] ] } },
|
|
12
|
+
{ "type": "Feature", "properties": { "id": 5, "nome": "walter 1", "indirizzo": null, "anno_costr": "2022-01-01", "foto": "http://localhost:8006/it/me/qdjango/1607/via%20dell'acqua.png", "link": null, "scheda": "<h1>aaaa</h1><p><strong>ddd</strong></p><p><strong><em>sss</em></strong></p><h4><em>gggg</em></h4><p><br></p><p><br></p>", "altezza": 123, "volume": null, "superficie": null, "barriere": null, "data_bar": null, "uscite": null, "data_uscite": null, "antincendio": null, "data_inc": null, "tipo": null, "cat_ed": null }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 1149598.167013, 5464656.688725999556482 ], [ 1157824.614206, 5444377.539831999689341 ], [ 1123388.323631, 5443038.350754000246525 ], [ 1149598.167013, 5464656.688725999556482 ] ] ] ] } },
|
|
13
|
+
{ "type": "Feature", "properties": { "id": 8, "nome": "aaa", "indirizzo": null, "anno_costr": "2011-02-01", "foto": null, "link": null, "scheda": null, "altezza": 12, "volume": null, "superficie": null, "barriere": null, "data_bar": null, "uscite": null, "data_uscite": null, "antincendio": null, "data_inc": null, "tipo": null, "cat_ed": null }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 1127404.718428999884054, 5486615.501500999554992 ], [ 1129488.360526, 5482448.217307000420988 ], [ 1124086.32546, 5482216.701518000103533 ], [ 1124086.32546, 5485766.610276999883354 ], [ 1127404.718428999884054, 5486615.501500999554992 ] ] ] ] } }
|
|
14
|
+
]
|
|
15
|
+
}
|
|
Binary file
|