1
|
Processing algorithm...
|
2
|
Algorithm 'v.to.rast - Converts (rasterize) a vector layer into a raster layer.' starting...
|
3
|
Input parameters:
|
4
|
{ 'input' : 'C:/Processing/testcont.shp', 'type' : [0,1,3], 'where' : '', 'use' : 0, 'attribute_column' : 'ELEV', 'rgb_column' : '', 'label_column' : '', 'value' : 1, 'memory' : 300, 'output' : 'C:/Users/alistair/AppData/Local/Temp/processing_1c79af25a52c4c43ab75df3ce93334ad/f30ba6db30ad4cf687fee325642172b6/output.tif', 'GRASS_REGION_PARAMETER' : '', 'GRASS_REGION_CELLSIZE_PARAMETER' : 1, 'GRASS_RASTER_FORMAT_OPT' : '', 'GRASS_RASTER_FORMAT_META' : '', 'GRASS_SNAP_TOLERANCE_PARAMETER' : -1, 'GRASS_MIN_AREA_PARAMETER' : 0.0001 }
|
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.external input="C:\Processing\testcont.shp" output="vector_5a821b37cb30a3" --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_5a821b37cb30a3 type="point,line,area" use="attr" attribute_column=ELEV value=1 memory=300 output=output85773b68dae446d8a8b60ca718ce6adb --overwrite
|
10
|
g.region raster=output85773b68dae446d8a8b60ca718ce6adb
|
11
|
r.out.gdal -t -m input="output85773b68dae446d8a8b60ca718ce6adb" output="C:\Users\alistair\AppData\Local\Temp\processing_1c79af25a52c4c43ab75df3ce93334ad\f30ba6db30ad4cf687fee325642172b6\output.tif" format="GTiff" createopt="TFW=YES,COMPRESS=LZW" --overwrite
|
12
|
Starting GRASS GIS...
|
13
|
WARNING: Concurrent mapset locking is not supported on Windows
|
14
|
Executing <C:\Users\alistair\AppData\Local\Temp\processing_1c79af25a52c4c43ab75df3ce93334ad\grassdata\grass_batch_job.cmd> ...
|
15
|
|
16
|
C:\OSGeo4W64\bin>chcp 1252 1>NUL
|
17
|
|
18
|
C:\OSGeo4W64\bin>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"
|
19
|
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
|
20
|
Projection information updated
|
21
|
|
22
|
C:\OSGeo4W64\bin>v.external input="C:\Processing\testcont.shp" output="vector_5a821b37cb30a3" --overwrite -o
|
23
|
Over-riding projection check
|
24
|
Building topology for vector map <vector_5a821b37cb30a3@PERMANENT>...
|
25
|
Using external data format 'ESRI Shapefile' (feature type 'linestring')
|
26
|
Registering primitives...
|
27
|
|
28
|
964 primitives registered
|
29
|
489922 vertices registered
|
30
|
Number of nodes: 1105
|
31
|
Number of primitives: 964
|
32
|
Number of points: 0
|
33
|
Number of lines: 964
|
34
|
Number of boundaries: 0
|
35
|
Number of centroids: 0
|
36
|
Number of areas: 0
|
37
|
Number of isles: 0
|
38
|
v.external complete. Link to vector map <vector_5a821b37cb30a3> created.
|
39
|
|
40
|
C:\OSGeo4W64\bin>g.region n=757655.2440000001 s=756854.444 e=416648.1 w=415849.1 res=1.0
|
41
|
|
42
|
C:\OSGeo4W64\bin>v.to.rast input=vector_5a821b37cb30a3 type="point,line,area" use="attr" attribute_column=ELEV value=1 memory=300 output=output85773b68dae446d8a8b60ca718ce6adb --overwrite
|
43
|
WARNING: Missing key column name
|
44
|
ERROR: Column <ELEV> not found
|
45
|
|
46
|
C:\OSGeo4W64\bin>g.region raster=output85773b68dae446d8a8b60ca718ce6adb
|
47
|
ERROR: Raster map <output85773b68dae446d8a8b60ca718ce6adb> not found
|
48
|
|
49
|
C:\OSGeo4W64\bin>r.out.gdal -t -m input="output85773b68dae446d8a8b60ca718ce6adb" output="C:\Users\alistair\AppData\Local\Temp\processing_1c79af25a52c4c43ab75df3ce93334ad\f30ba6db30ad4cf687fee325642172b6\output.tif" format="GTiff" createopt="TFW=YES,COMPRESS=LZW" --overwrite
|
50
|
ERROR: Raster map or group <output85773b68dae446d8a8b60ca718ce6adb> not found
|
51
|
|
52
|
C:\OSGeo4W64\bin>exit
|
53
|
Execution of <C:\Users\alistair\AppData\Local\Temp\processing_1c79af25a52c4c43ab75df3ce93334ad\grassdata\grass_batch_job.cmd> finished.
|
54
|
Cleaning up temporary files...
|
55
|
Press any key to continue . . .
|
56
|
Execution completed in 1.66 seconds
|
57
|
Results:
|
58
|
{'output': <QgsProcessingOutputLayerDefinition {'sink':C:/Users/alistair/AppData/Local/Temp/processing_1c79af25a52c4c43ab75df3ce93334ad/f30ba6db30ad4cf687fee325642172b6/output.tif, 'createOptions': {'fileEncoding': 'System'}}>}
|
59
|
|
60
|
Loading resulting layers
|
61
|
The following layers were not correctly generated.
|
62
|
C:/Users/alistair/AppData/Local/Temp/processing_1c79af25a52c4c43ab75df3ce93334ad/f30ba6db30ad4cf687fee325642172b6/output.tif
|
63
|
You can check the 'Log Messages Panel' in QGIS main window to find more information about the execution of the algorithm.
|