1
|
Processing algorithm?
|
2
|
Algorithm 'v.generalize' starting?
|
3
|
Input parameters:
|
4
|
{ '-l' : True, '-t' : False, 'GRASS_MIN_AREA_PARAMETER' : 0.0001, 'GRASS_OUTPUT_TYPE_PARAMETER' : 0, 'GRASS_REGION_PARAMETER' : None, 'GRASS_SNAP_TOLERANCE_PARAMETER' : -1, 'GRASS_VECTOR_DSCO' : '', 'GRASS_VECTOR_LCO' : '', 'alpha' : 1, 'angle_thresh' : 3, 'beta' : 1, 'betweeness_thresh' : 0, 'cats' : '', 'closeness_thresh' : 0, 'degree_thresh' : 0, 'error' : 'C:/Users/eh/AppData/Local/Temp/processing_b6c8ed9523f64dad8f2de92c1f077ab1/02d67684ee2942a2a9a0a5986193d8c0/error.shp', 'input' : QgsProcessingFeatureSourceDefinition('cmr_trs_roads_osm_wfp_gen_10p_proj_f20bf78e_8033_4199_a6a8_5c254fe0c531', True), 'iterations' : 1, 'look_ahead' : 7, 'method' : 8, 'output' : 'C:/Users/eh/AppData/Local/Temp/processing_b6c8ed9523f64dad8f2de92c1f077ab1/73cd7048ae6145a994ea57bb451300f7/output.shp', 'reduction' : 50, 'slide' : 0.5, 'threshold' : 10, 'type' : [0], 'where' : '' }
|
5
|
|
6
|
g.proj -c proj4="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs"
|
7
|
v.external input="C:\Users\eh\AppData\Local\Temp\processing_b6c8ed9523f64dad8f2de92c1f077ab1\24155d33f3904de6a41f970dfed06576\input.shp" output="vector_5ba748a8797d95" --overwrite -o
|
8
|
g.region n=572044.2305341322 s=549171.467493307 e=1107549.3767264395 w=1081157.0200714036
|
9
|
v.generalize input=vector_5ba748a8797d95 type="line" method="chaiken" threshold=10 look_ahead=7 reduction=50 slide=0.5 angle_thresh=3 degree_thresh=0 closeness_thresh=0 betweeness_thresh=0 alpha=1 beta=1 iterations=1 -l output=outputb04adb665be442a797fd486164968d2f error=errorb04adb665be442a797fd486164968d2f --overwrite
|
10
|
v.out.ogr -c type="auto" input="outputb04adb665be442a797fd486164968d2f" output="C:\Users\eh\AppData\Local\Temp\processing_b6c8ed9523f64dad8f2de92c1f077ab1\73cd7048ae6145a994ea57bb451300f7\output.shp" format="ESRI_Shapefile" --overwrite
|
11
|
v.out.ogr -c type="auto" input="errorb04adb665be442a797fd486164968d2f" output="C:\Users\eh\AppData\Local\Temp\processing_b6c8ed9523f64dad8f2de92c1f077ab1\02d67684ee2942a2a9a0a5986193d8c0\error.shp" format="ESRI_Shapefile" --overwrite
|
12
|
Starting GRASS GIS...
|
13
|
|
14
|
WARNING: Concurrent mapset locking is not supported on Windows
|
15
|
|
16
|
Executing <C:\Users\eh\AppData\Local\Temp\processing_b6c8ed9523f64dad8f2de92c1f077ab1\grassdata\grass_batch_job.cmd> ...
|
17
|
|
18
|
|
19
|
|
20
|
C:\OSGEO4~1\bin>chcp 1252 1>NUL
|
21
|
|
22
|
|
23
|
|
24
|
C:\OSGEO4~1\bin>g.proj -c proj4="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs"
|
25
|
|
26
|
WARNING: Updating spatial reference with embedded proj4 definition
|
27
|
|
28
|
WARNING: Datum <unknown> not recognised by GRASS and no parameters found
|
29
|
|
30
|
Default region was updated to the new projection, but if you have multiple mapsets `g.region -d` should be run in each to update the region from the default
|
31
|
|
32
|
Projection information updated
|
33
|
|
34
|
|
35
|
|
36
|
C:\OSGEO4~1\bin>v.external input="C:\Users\eh\AppData\Local\Temp\processing_b6c8ed9523f64dad8f2de92c1f077ab1\24155d33f3904de6a41f970dfed06576\input.shp" output="vector_5ba748a8797d95" --overwrite -o
|
37
|
|
38
|
WARNING: Updating spatial reference with embedded proj4 definition
|
39
|
|
40
|
WARNING: Datum <unknown> not recognised by GRASS and no parameters found
|
41
|
|
42
|
Over-riding projection check
|
43
|
|
44
|
Building topology for vector map <vector_5ba748a8797d95@PERMANENT>...
|
45
|
|
46
|
Using external data format 'ESRI Shapefile' (feature type 'linestring')
|
47
|
|
48
|
Registering primitives...
|
49
|
|
50
|
|
51
|
|
52
|
One primitive registered
|
53
|
|
54
|
137 vertices registered
|
55
|
|
56
|
Number of nodes: 2
|
57
|
|
58
|
Number of primitives: 1
|
59
|
|
60
|
Number of points: 0
|
61
|
|
62
|
Number of lines: 1
|
63
|
|
64
|
Number of boundaries: 0
|
65
|
|
66
|
Number of centroids: 0
|
67
|
|
68
|
Number of areas: 0
|
69
|
|
70
|
Number of isles: 0
|
71
|
|
72
|
v.external complete. Link to vector map <vector_5ba748a8797d95> created.
|
73
|
|
74
|
|
75
|
|
76
|
C:\OSGEO4~1\bin>g.region n=572044.2305341322 s=549171.467493307 e=1107549.3767264395 w=1081157.0200714036
|
77
|
|
78
|
|
79
|
|
80
|
C:\OSGEO4~1\bin>v.generalize input=vector_5ba748a8797d95 type="line" method="chaiken" threshold=10 look_ahead=7 reduction=50 slide=0.5 angle_thresh=3 degree_thresh=0 closeness_thresh=0 betweeness_thresh=0 alpha=1 beta=1 iterations=1 -l output=outputb04adb665be442a797fd486164968d2f error=errorb04adb665be442a797fd486164968d2f --overwrite
|
81
|
|
82
|
WARNING: Column 'id' : type int8 (bigint) is stored as integer (4 bytes) some data may be damaged
|
83
|
|
84
|
WARNING: Column 'fclass' : type int8 (bigint) is stored as integer (4 bytes) some data may be damaged
|
85
|
|
86
|
WARNING: Column 'numlanes' : type int8 (bigint) is stored as integer (4 bytes) some data may be damaged
|
87
|
|
88
|
WARNING: Column 'gnralspeed' : type int8 (bigint) is stored as integer (4 bytes) some data may be damaged
|
89
|
|
90
|
WARNING: Column 'rdwidthm' : type int8 (bigint) is stored as integer (4 bytes) some data may be damaged
|
91
|
|
92
|
WARNING: Column 'iselevated' : type int8 (bigint) is stored as integer (4 bytes) some data may be damaged
|
93
|
|
94
|
WARNING: Column 'id' : type int8 (bigint) is stored as integer (4 bytes) some data may be damaged
|
95
|
|
96
|
WARNING: Column 'fclass' : type int8 (bigint) is stored as integer (4 bytes) some data may be damaged
|
97
|
|
98
|
WARNING: Column 'numlanes' : type int8 (bigint) is stored as integer (4 bytes) some data may be damaged
|
99
|
|
100
|
WARNING: Column 'gnralspeed' : type int8 (bigint) is stored as integer (4 bytes) some data may be damaged
|
101
|
|
102
|
WARNING: Column 'rdwidthm' : type int8 (bigint) is stored as integer (4 bytes) some data may be damaged
|
103
|
|
104
|
WARNING: Column 'iselevated' : type int8 (bigint) is stored as integer (4 bytes) some data may be damaged
|
105
|
|
106
|
WARNING: Unknown type
|
107
|
|
108
|
WARNING: Unknown type
|
109
|
|
110
|
WARNING: Unknown type
|
111
|
|
112
|
WARNING: Unknown type
|
113
|
|
114
|
WARNING: Unknown type
|
115
|
|
116
|
WARNING: Unknown type
|
117
|
|
118
|
|
119
|
|
120
|
|
121
|
|
122
|
|
123
|
|
124
|
WARNING: Unable to create index
|
125
|
|
126
|
WARNING: Unable to copy table <input> for layer 1 from <vector_5ba748a8797d95@PERMANENT> to <outputb04adb665be442a797fd486164968d2f>
|
127
|
|
128
|
Copying features...
|
129
|
|
130
|
100
|
131
|
|
132
|
Building topology for vector map <outputb04adb665be442a797fd486164968d2f@PERMANENT>...
|
133
|
|
134
|
Registering primitives...
|
135
|
|
136
|
|
137
|
|
138
|
One primitive registered
|
139
|
|
140
|
137 vertices registered
|
141
|
|
142
|
Building areas...
|
143
|
|
144
|
0..100
|
145
|
|
146
|
0 areas built
|
147
|
|
148
|
0 isles built
|
149
|
|
150
|
Attaching islands...
|
151
|
|
152
|
Attaching centroids...
|
153
|
|
154
|
100
|
155
|
|
156
|
Number of nodes: 2
|
157
|
|
158
|
Number of primitives: 1
|
159
|
|
160
|
Number of points: 0
|
161
|
|
162
|
Number of lines: 1
|
163
|
|
164
|
Number of boundaries: 0
|
165
|
|
166
|
Number of centroids: 0
|
167
|
|
168
|
Number of areas: 0
|
169
|
|
170
|
Number of isles: 0
|
171
|
|
172
|
-----------------------------------------------------
|
173
|
|
174
|
Generalization (chaiken)...
|
175
|
|
176
|
Using threshold: 10 meters
|
177
|
|
178
|
100
|
179
|
|
180
|
-----------------------------------------------------
|
181
|
|
182
|
Building topology for vector map <outputb04adb665be442a797fd486164968d2f@PERMANENT>...
|
183
|
|
184
|
Registering primitives...
|
185
|
|
186
|
|
187
|
|
188
|
One primitive registered
|
189
|
|
190
|
920 vertices registered
|
191
|
|
192
|
Building areas...
|
193
|
|
194
|
0..100
|
195
|
|
196
|
0 areas built
|
197
|
|
198
|
0 isles built
|
199
|
|
200
|
Attaching islands...
|
201
|
|
202
|
Attaching centroids...
|
203
|
|
204
|
100
|
205
|
|
206
|
Number of nodes: 2
|
207
|
|
208
|
Number of primitives: 1
|
209
|
|
210
|
Number of points: 0
|
211
|
|
212
|
Number of lines: 1
|
213
|
|
214
|
Number of boundaries: 0
|
215
|
|
216
|
Number of centroids: 0
|
217
|
|
218
|
Number of areas: 0
|
219
|
|
220
|
Number of isles: 0
|
221
|
|
222
|
Building topology for vector map <errorb04adb665be442a797fd486164968d2f@PERMANENT>...
|
223
|
|
224
|
Registering primitives...
|
225
|
|
226
|
|
227
|
|
228
|
0 primitives registered
|
229
|
|
230
|
0 vertices registered
|
231
|
|
232
|
Building areas...
|
233
|
|
234
|
100
|
235
|
|
236
|
0 areas built
|
237
|
|
238
|
0 isles built
|
239
|
|
240
|
Attaching islands...
|
241
|
|
242
|
Attaching centroids...
|
243
|
|
244
|
Number of nodes: 0
|
245
|
|
246
|
Number of primitives: 0
|
247
|
|
248
|
Number of points: 0
|
249
|
|
250
|
Number of lines: 0
|
251
|
|
252
|
Number of boundaries: 0
|
253
|
|
254
|
Number of centroids: 0
|
255
|
|
256
|
Number of areas: 0
|
257
|
|
258
|
Number of isles: 0
|
259
|
|
260
|
-----------------------------------------------------
|
261
|
|
262
|
v.generalize complete. Number of vertices for selected features changed from 137 to 920 (671% remaining)
|
263
|
|
264
|
|
265
|
|
266
|
|
267
|
|
268
|
|
269
|
|
270
|
|
271
|
|
272
|
C:\OSGEO4~1\bin>v.out.ogr -c type="auto" input="outputb04adb665be442a797fd486164968d2f" output="C:\Users\eh\AppData\Local\Temp\processing_b6c8ed9523f64dad8f2de92c1f077ab1\73cd7048ae6145a994ea57bb451300f7\output.shp" format="ESRI_Shapefile" --overwrite
|
273
|
|
274
|
ERROR: Key column <> not found
|
275
|
|
276
|
|
277
|
|
278
|
C:\OSGEO4~1\bin>v.out.ogr -c type="auto" input="errorb04adb665be442a797fd486164968d2f" output="C:\Users\eh\AppData\Local\Temp\processing_b6c8ed9523f64dad8f2de92c1f077ab1\02d67684ee2942a2a9a0a5986193d8c0\error.shp" format="ESRI_Shapefile" --overwrite
|
279
|
|
280
|
WARNING: Unable to determine input map's vector feature type(s).
|
281
|
|
282
|
WARNING: No attribute table found -> using only category numbers as attributes
|
283
|
|
284
|
WARNING: Output layer is empty, no features written
|
285
|
|
286
|
v.out.ogr complete. 0 features (Unknown (any) type) written to <errorb04adb665be442a797fd486164968d2f> (ESRI_Shapefile format).
|
287
|
|
288
|
|
289
|
|
290
|
C:\OSGEO4~1\bin>exit
|
291
|
|
292
|
Execution of <C:\Users\eh\AppData\Local\Temp\processing_b6c8ed9523f64dad8f2de92c1f077ab1\grassdata\grass_batch_job.cmd> finished.
|
293
|
|
294
|
Cleaning up temporary files...
|
295
|
|
296
|
Execution completed in 3.64 seconds
|
297
|
Results:
|
298
|
{'error': <QgsProcessingOutputLayerDefinition {'sink':C:/Users/eh/AppData/Local/Temp/processing_b6c8ed9523f64dad8f2de92c1f077ab1/02d67684ee2942a2a9a0a5986193d8c0/error.shp, 'createOptions': {'fileEncoding': 'System'}}>,
|
299
|
'output': <QgsProcessingOutputLayerDefinition {'sink':C:/Users/eh/AppData/Local/Temp/processing_b6c8ed9523f64dad8f2de92c1f077ab1/73cd7048ae6145a994ea57bb451300f7/output.shp, 'createOptions': {'fileEncoding': 'System'}}>}
|
300
|
|
301
|
Loading resulting layers
|
302
|
Algorithm 'v.generalize' finished
|