1
|
Processing algorithm...
|
2
|
Algorithm 'v.to.rast - Converts (rasterize) a vector layer into a raster layer.' starting...
|
3
|
Input parameters:
|
4
|
{ 'output' : '/tmp/processing_e244ccb0ccd34826a6b304237cdec717/6672529588e24602b7c4b224785fdde0/output.tif', 'type' : [0,1,3], 'input' : '/mnt/c/Processing/testcont.shp', 'use' : 0, 'GRASS_REGION_CELLSIZE_PARAMETER' : 1, 'value' : 1, 'GRASS_MIN_AREA_PARAMETER' : 0.0001, 'where' : '', 'label_column' : '', 'attribute_column' : 'ELEV', 'GRASS_SNAP_TOLERANCE_PARAMETER' : -1, 'GRASS_RASTER_FORMAT_OPT' : '', 'GRASS_RASTER_FORMAT_META' : '', 'GRASS_REGION_PARAMETER' : '', 'rgb_column' : '', 'memory' : 300 }
|
5
|
|
6
|
g.proj -c proj4="+proj=tmerc +lat_0=-36.87972222222222 +lon_0=174.7641666666667 +k=0.9999 +x_0=400000 +y_0=800000 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs"
|
7
|
v.in.ogr min_area=0.0001 snap=-1.0 input="/mnt/c/Processing/testcont.shp" output="vector_5a821be392b1e3" --overwrite -o
|
8
|
g.region n=757655.2440000001 s=756854.444 e=416648.1 w=415849.1 res=1.0
|
9
|
v.to.rast input=vector_5a821be392b1e3 type="point,line,area" use="attr" attribute_column=ELEV value=1 memory=300 output=output9df17704416d4beca4ae71895054d8f5 --overwrite
|
10
|
g.region raster=output9df17704416d4beca4ae71895054d8f5
|
11
|
r.out.gdal -t -m input="output9df17704416d4beca4ae71895054d8f5" output="/tmp/processing_e244ccb0ccd34826a6b304237cdec717/6672529588e24602b7c4b224785fdde0/output.tif" format="GTiff" createopt="TFW=YES,COMPRESS=LZW" --overwrite
|
12
|
Starting GRASS GIS...
|
13
|
Executing </tmp/processing_e244ccb0ccd34826a6b304237cdec717/grassdata/grass_batch_job.sh> ...
|
14
|
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
|
15
|
Projection information updated
|
16
|
Over-riding projection check
|
17
|
Check if OGR layer <testcont> contains polygons...
|
18
|
0..2..4..6..8..10..12..14..16..18..20..22..24..26..28..30..32..34..36..38..40..42..44..46..48..50..52..54..56..58..60..62..64..66..68..70..72..74..76..78..80..82..84..86..88..90..92..94..96..98..100
|
19
|
Creating attribute table for layer <testcont>...
|
20
|
Importing 964 features (OGR layer <testcont>)...
|
21
|
0..2..4..6..8..10..12..14..16..18..20..22..24..26..28..30..32..34..36..38..40..42..44..46..48..50..52..54..56..58..60..62..64..66..68..70..72..74..76..78..80..82..84..86..88..90..92..94..96..98..100
|
22
|
-----------------------------------------------------
|
23
|
Building topology for vector map <vector_5a821be392b1e3@PERMANENT>...
|
24
|
Registering primitives...
|
25
|
|
26
|
964 primitives registered
|
27
|
489922 vertices registered
|
28
|
Building areas...
|
29
|
0..2..4..6..8..10..12..14..16..18..20..22..24..26..28..30..32..34..36..38..40..42..44..46..48..50..52..54..56..58..60..62..64..66..68..70..72..74..76..78..80..82..84..86..88..90..92..94..96..98..100
|
30
|
0 areas built
|
31
|
0 isles built
|
32
|
Attaching islands...
|
33
|
Attaching centroids...
|
34
|
1..3..5..7..9..11..13..15..17..19..21..23..25..27..29..31..33..35..37..39..41..43..45..47..49..51..53..55..57..59..61..63..65..67..69..71..73..75..77..79..81..83..85..87..89..91..93..95..97..99..100
|
35
|
Number of nodes: 1105
|
36
|
Number of primitives: 964
|
37
|
Number of points: 0
|
38
|
Number of lines: 964
|
39
|
Number of boundaries: 0
|
40
|
Number of centroids: 0
|
41
|
Number of areas: 0
|
42
|
Number of isles: 0
|
43
|
WARNING: No areas selected from vector map <vector_5a821be392b1e3>
|
44
|
Reading features...
|
45
|
2..5..8..11..14..17..20..23..26..29..32..35..38..41..44..47..50..53..56..59..62..65..68..71..74..77..80..83..86..89..92..95..98..100
|
46
|
Writing raster map...
|
47
|
0..3..6..9..12..15..18..21..24..27..30..33..36..39..42..45..48..51..54..57..60..63..66..69..72..75..78..81..84..87..90..93..96..99..100
|
48
|
v.to.rast complete.
|
49
|
Checking GDAL data type and nodata value...
|
50
|
2..5..8..11..14..17..20..23..26..29..32..35..38..41..44..47..50..53..56..59..62..65..68..71..74..77..80..83..86..89..92..95..98..100
|
51
|
Using GDAL data type <Float64>
|
52
|
Input raster map contains cells with NULL-value (no-data). The value -nan will be used to represent no-data values in the input map. You can specify a nodata value with the nodata option.
|
53
|
Exporting raster data to GTiff format...
|
54
|
ERROR 6: SetColorTable() only supported for Byte or UInt16 bands in TIFF format.
|
55
|
2..5..8..11..14..17..20..23..26..29..32..35..38..41..44..47..50..53..56..59..62..65..68..71..74..77..80..83..86..89..92..95..98..100
|
56
|
r.out.gdal complete. File </tmp/processing_e244ccb0ccd34826a6b304237cdec717/6672529588e24602b7c4b224785fdde0/output.tif> created.
|
57
|
Execution of </tmp/processing_e244ccb0ccd34826a6b304237cdec717/grassdata/grass_batch_job.sh> finished.
|
58
|
Cleaning up temporary files...
|
59
|
Execution completed in 2.67 seconds
|
60
|
Results:
|
61
|
{'output': <QgsProcessingOutputLayerDefinition {'sink':/tmp/processing_e244ccb0ccd34826a6b304237cdec717/6672529588e24602b7c4b224785fdde0/output.tif, 'createOptions': {'fileEncoding': 'System'}}>}
|
62
|
|
63
|
Loading resulting layers
|
64
|
Algorithm 'v.to.rast - Converts (rasterize) a vector layer into a raster layer.' finished
|