[GRASS-user] qgis and grass prosseses error.
havard solheim
havard_a at hotmail.com
Fri Sep 13 07:33:28 PDT 2019
Hello im student named Håvard taking a gis class in Norway. I keep getting the same error when trying to use grass in qgis and my teatcher told me to ask here since he had no Clue.
Under is the log from trying to do a V.rast.stats in qgis. The program Version are also here im not sure what to post either in this mail since i am really New to this.
QGIS version: 3.8.1-Zanzibar
QGIS code revision: dcd95cc648
Qt version: 5.11.2
GDAL version: 2.4.1
GEOS version: 3.7.2-CAPI-1.11.0 b55d2125
PROJ version: Rel. 5.2.0, September 15th, 2018
Processing algorithm…
Algorithm 'v.rast.stats' starting…
Input parameters:
{ 'GRASS_MIN_AREA_PARAMETER' : 0.0001, 'GRASS_OUTPUT_TYPE_PARAMETER' : 0, 'GRASS_REGION_CELLSIZE_PARAMETER' : 0, 'GRASS_REGION_PARAMETER' : None, 'GRASS_SNAP_TOLERANCE_PARAMETER' : -1, 'GRASS_VECTOR_DSCO' : '', 'GRASS_VECTOR_EXPORT_NOCAT' : False, 'GRASS_VECTOR_LCO' : '', 'column_prefix' : 'hogst', 'map' : 'C:/Gis/øving 8/hedmark_kommuner.gpkg|layername=output', 'method' : [0,1,2,3,4,5,6,7,8,9,10,11,12], 'output' : 'TEMPORARY_OUTPUT', 'percentile' : 90, 'raster' : 'C:/Gis/øving 8/klippet transformert.tif' }
g.proj -c proj4="+proj=utm +zone=32 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs"
v.in.ogr min_area=0.0001 snap=-1.0 input="C:\Gis\øving 8\hedmark_kommuner.gpkg" layer="output" output="vector_5d7ba884cdc462" --overwrite -o
r.external input="C:\Gis\øving 8\klippet transformert.tif" band=1 output="rast_5d7ba884cde683" --overwrite -o
g.region n=6957956.983371275 s=6633986.983371275 e=717076.6256832004 w=529936.6256832004 res=30.0
v.rast.stats -c map=vector_5d7ba884cdc462 raster=rast_5d7ba884cde683 column_prefix="hogst" method="number,minimum,maximum,range,average,stddev,variance,coeff_var,sum,first_quartile,median,third_quartile,percentile" percentile=90 --overwrite
v.out.ogr type="auto" input="vector_5d7ba884cdc462" output="C:/Users/Håvard/AppData/Local/Temp/processing_7868b90be3504757845921771ddee21e/aee2bf1504c74baaa7b62cf0308f635e/output.gpkg" format="GPKG" --overwrite
Cleaning up temporary files...
Starting GRASS GIS...
WARNING: Concurrent mapset locking is not supported on Windows
Executing <C:\Users\Håvard\AppData\Local\Temp\processing_7868b90be3504757845921771ddee21e\grassdata\grass_batch_job.cmd> ...
C:\Users\H†vard\Documents>chcp 1252 1>NUL
C:\Users\Håvard\Documents>g.proj -c proj4="+proj=utm +zone=32 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs"
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
Projection information updated
C:\Users\Håvard\Documents>v.in.ogr min_area=0.0001 snap=-1.0 input="C:\Gis\øving 8\hedmark_kommuner.gpkg" layer="output" output="vector_5d7ba884cdc462" --overwrite -o
Over-riding projection check
Check if OGR layer <output> contains polygons...
0..4..9..13..18..22..27..31..36..40..45..50..54..59..63..68..72..77..81..86..90..95..100
Creating attribute table for layer <output>...
WARNING: Unable to open database <C:\Users\Håvard\AppData\Local\Temp\processing_7868b90be3504757845921771ddee21e\grassdata\temp_location\PERMANENT\sqlite\sqlite.db> by driver <sqlite>
ERROR: Unable to open database <C:\Users\Håvard\AppData\Local\Temp\processing_7868b90be3504757845921771ddee21e\grassdata\temp_location\PERMANENT\sqlite\sqlite.db> by driver <sqlite>
C:\Users\Håvard\Documents>r.external input="C:\Gis\øving 8\klippet transformert.tif" band=1 output="rast_5d7ba884cde683" --overwrite -o
Over-riding projection check
Reading band 1 of 1...
Link to raster map <rast_5d7ba884cde683> created.
C:\Users\Håvard\Documents>g.region n=6957956.983371275 s=6633986.983371275 e=717076.6256832004 w=529936.6256832004 res=30.0
C:\Users\Håvard\Documents>v.rast.stats -c map=vector_5d7ba884cdc462 raster=rast_5d7ba884cde683 column_prefix="hogst" method="number,minimum,maximum,range,average,stddev,variance,coeff_var,sum,first_quartile,median,third_quartile,percentile" percentile=90 --overwrite
WARNING: Coor file of vector map <vector_5d7ba884cdc462 at PERMANENT> is larger than it should be (18 bytes excess)
WARNING: Coor file of vector map <vector_5d7ba884cdc462 at PERMANENT> is larger than it should be (18 bytes excess)
Topology not available for vector map <vector_5d7ba884cdc462 at PERMANENT>. Registering primitives...
WARNING: Unable to open vector map <vector_5d7ba884cdc462 at PERMANENT> on level 2. Try to rebuild vector topology with v.build.
ERROR: Unable to open vector map <vector_5d7ba884cdc462>
ERROR: An error occurred while converting vector to raster
WARNING: No data base element files found
Execution of <C:\Users\Håvard\AppData\Local\Temp\processing_7868b90be3504757845921771ddee21e\grassdata\grass_batch_job.cmd> finished.
Cleaning up temporary files...
Press any key to continue . . .
Cleaning up temporary files...
Starting GRASS GIS...
WARNING: Concurrent mapset locking is not supported on Windows
Executing <C:\Users\Håvard\AppData\Local\Temp\processing_7868b90be3504757845921771ddee21e\grassdata\grass_batch_job.cmd> ...
C:\Users\H†vard\Documents>chcp 1252 1>NUL
C:\Users\Håvard\Documents>v.out.ogr type="auto" input="vector_5d7ba884cdc462" output="C:/Users/HÃ¥vard/AppData/Local/Temp/processing_7868b90be3504757845921771ddee21e/aee2bf1504c74baaa7b62cf0308f635e/output.gpkg" format="GPKG" --overwrite
WARNING: Unable to open vector map <vector_5d7ba884cdc462 at PERMANENT> on level 2. Try to rebuild vector topology with v.build.
ERROR: Unable to open vector map <vector_5d7ba884cdc462>
C:\Users\Håvard\Documents>exit
Execution of <C:\Users\Håvard\AppData\Local\Temp\processing_7868b90be3504757845921771ddee21e\grassdata\grass_batch_job.cmd> finished.
Cleaning up temporary files...
Press any key to continue . . .
Execution completed in 5.68 seconds
Results:
{'output': <QgsProcessingOutputLayerDefinition {'sink':TEMPORARY_OUTPUT, 'createOptions': {'fileEncoding': 'System'}}>}
Loading resulting layers
The following layers were not correctly generated.<ul><li>C:/Users/Håvard/AppData/Local/Temp/processing_7868b90be3504757845921771ddee21e/aee2bf1504c74baaa7b62cf0308f635e/output.gpkg</li></ul>You can check the 'Log Messages Panel' in QGIS main window to find more information about the execution of the algorithm.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20190913/1093f34c/attachment-0001.html>
More information about the grass-user
mailing list