I want to create oval buffers 450 by 350 m tilted by 45° using the v.buffer-tool from the GUI. When I enter everything necessary and click run, in return I get the following error message (same pops up for other Grass-algorithms):  2019-01-29T11:56:21     CRITICAL    Traceback (most recent call last): File &quot;C:/PROGRA~1/QGIS3~1.4/apps/qgis/./python/plugins\processing\algs\grass7\Grass7Algorithm.py&quot;, line 415, in processAlgorithm Grass7Utils.executeGrass(self.commands, feedback, self.outputCommands) File &quot;C:/PROGRA~1/QGIS3~1.4/apps/qgis/./python/plugins\processing\algs\grass7\Grass7Utils.py&quot;, line 372, in executeGrass for line in iter(proc.stdout.readline, ''): File &quot;C:\PROGRA~1\QGIS3~1.4\apps\Python37\lib\codecs.py&quot;, line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf6 in position 81: invalid start byte  A possible reason could be the following warning I get upon startup of QGis (it doesn't pop up, but it is written in the protocol):  2019-01-29T11:43:18     WARNING    Konnte C:/PROGRA~1/QGIS3~1.4/apps/qgis/plugins/grassplugin7.dll nicht laden (Grund: Die Bibliothek C:\PROGRA~1\QGIS3~1.4\apps\qgis\plugins\grassplugin7.dll kann nicht geladen werden: Das angegebene Modul wurde nicht gefunden.) 2019-01-29T11:43:18     WARNING    Konnte C:/PROGRA~1/QGIS3~1.4/apps/qgis/plugins/grassprovider7.dll nicht laden (Grund: Die Bibliothek C:\PROGRA~1\QGIS3~1.4\apps\qgis\plugins\grassprovider7.dll kann nicht geladen werden: Das angegebene Modul wurde nicht gefunden.) 2019-01-29T11:43:18     WARNING    Konnte C:/PROGRA~1/QGIS3~1.4/apps/qgis/plugins/grassrasterprovider7.dll nicht laden (Grund: Die Bibliothek C:\PROGRA~1\QGIS3~1.4\apps\qgis\plugins\grassrasterprovider7.dll kann nicht geladen werden: Das angegebene Modul wurde nicht gefunden.)  Basically it says &quot;GRASS wasn't installed&quot;. So, how do I solve this? Just reinstall QGis?
16957
I try running the v.clean tool using QGIS 3.4. As input I use a vector line layer (I checked the validity and everything is fine), but running the algorithm I get the following error:  Traceback (most recent call last): File "D:/Programme/OSGeo4W/apps/qgis/./python/plugins\processing\algs\grass7\Grass7Algorithm.py", line 415, in processAlgorithm Grass7Utils.executeGrass(self.commands, feedback, self.outputCommands) File "D:/Programme/OSGeo4W/apps/qgis/./python/plugins\processing\algs\grass7\Grass7Utils.py", line 372, in executeGrass for line in iter(proc.stdout.readline, ''): File "D:\Programme\OSGeo4W\apps\Python37\lib\codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf6 in position 81: invalid start byte  Execution failed after 0.50 seconds   Since it is says it is a decoding error I checked the encoding and it is encoded in UTF-8.  Does anybody know how to solve the error?
70192
I have QGIS 1.8.0 installed via OSGeo Installer and work on win 7. All I need is to upload the shapefile to the database via this plugin. Unfortunately I am receiving an error:  Something's wrong: ["'shp2pgsql' is not recognized as an internal or external command,\n", 'operable program or batch file.\n']   How to install and configure shp2pgsql to make this plugin work fine?
43920
The dissolve tool (vector>geoprocessing tools>dissolve) renders some artifacts on shapes with high number of polygons. I’m using a  with 3222 polygons and I’m trying to dissolve it using the field “municipio”, but when the dissolve tool ends calculating the new shape has some artifacts     Does anyone had a similar problem? How to work around it?  I’ve also used v.dissolve from GRASS and the dissolve polygon from SAGA, but the problem persists. I’ve used the same shapefile on ArcGIS 9.3 with the dissolve tool. None artifact/error was produced.  Edit 1  I'm trying to use the v.clean tool as sugested by WhiteboxDev. However I'm getting this error:     An error has occured while executing Python code:      Traceback (most recent call last):   File   "C:/PROGRA~1/QGISCH~1/apps/qgis/./python/plugins\processing\gui\ProcessingToolbox.py",   line 181, in executeAlgorithm   File   "C:/PROGRA~1/QGISCH~1/apps/qgis/./python/plugins\processing\algs\grass7\Grass7Algorithm.py",   line 511, in checkBeforeOpeningParametersDialog   File   "C:/PROGRA~1/QGISCH~1/apps/qgis/./python/plugins\processing\algs\grass7\Grass7Utils.py",   line 361, in checkGrass7IsInstalled   File   "C:\PROGRA~1\QGISCH~1\apps\Python27\lib\ntpath.py", line 96, in join   TypeError: object of type 'NoneType' has no len()      Python version:   2.7.4 (default, Apr  6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)]      QGIS version:   2.4.0-Chugiak Chugiak, 8fdd08a      Python path:   ['C:/PROGRA~1/QGISCH~1/apps/qgis/./python/plugins\processing',   'C:/PROGRA~1/QGISCH~1/apps/qgis/./python',   u'C:/Users/CERCOTRICHAS/.qgis2/python',   u'C:/Users/CERCOTRICHAS/.qgis2/python/plugins',   'C:/PROGRA~1/QGISCH~1/apps/qgis/./python/plugins',   'C:\PROGRA~1\QGISCH~1\bin\python27.zip',   'C:\PROGRA~1\QGISCH~1\apps\Python27\DLLs',   'C:\PROGRA~1\QGISCH~1\apps\Python27\lib',   'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\plat-win',   'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\lib-tk',   'C:\PROGRA~1\QGISCH~1\bin',   'C:\PROGRA~1\QGISCH~1\apps\Python27',   'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages',   'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\GDAL-1.11.0-py2.7-win32.egg',   'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\PIL',   'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\jinja2-2.7.2-py2.7.egg',   'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\markupsafe-0.23-py2.7-win32.egg',   'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\python_dateutil-2.2-py2.7.egg',   'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\pytz-2014.2-py2.7.egg',   'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\win32',   'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\win32\lib',   'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\Pythonwin',   'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\Shapely-1.2.18-py2.7-win32.egg',   'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\six-1.6.1-py2.7.egg',   'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\wx-2.8-msw-unicode',   'C:\PROGRA~1\QGISCH~1\apps\qgis\python\plugins\fTools\tools',   'C:\Program Files\SpiderOak\shell_extension_lib\shared.zip']   Not entirely sure if this error is QGIS related... Any idea why I'm getting this error and how can I solve it?
68212
I want to create a DEM from depth contours (shapefile) in QGIS. I've been trying to work out how to do this based on , notably from  from that page, however I'm stuck, and was hoping someone could help.  My progress/process so far:   open new map in  QGIS, import the contour shapefile set GRASS extent, set new GRASS mapfile, etc try to 'import' the shapefile into grass by converting it into a grass file, based on a hunch from the wording in  (search in page: 'use of qgis and grass'): file management, import into grass, import vector into grass, import loaded vector (v.in.ogr.qgis), then view output. This creates an identical looking layer. try to use r.surf.contour on this - doesn't allow layer to be selected. try to use r.surf.contour2 on this - either crashes QGIS or produces a full block of colour.   Any thoughts/tips on what I should be doing differently?    Interpolation failing, tried everything in GRASS &amp; in GRASS plugin, failed, could problem be due to source shapefile?  Something I learnt from elsewhere was 'geometry tools > check geometry validity' which I ran on the contour shapefile and it found loads of errors.   I'm wondering if this could be the reason that all my efforts to create a DEM are failing?   Would anyone do me the huge favour of having a look at my shapefile to see if I'm just being useless, or if it's a problem that a relative novice would be excused for not anticipating?
12416
I'm very new to the GIS world, so my problem could be very stupid, but I'm going to try anyway.  Objective  Given a list of coordinates in longitude/latitude, stored as a .csv file, I want to create a buffer with distance of x km around those coordinates. (In case this is relevant, these coordinates are locations of the societies in the . These societies scatter all around the world.)  Problem  I'm only able to create buffers with distance in radial degrees, but I want to do them in (kilo)meters. I'm aware of the following Q&amp;A's, but following what's suggested therein doesn't seem to solve my problem:          What I have tried...   I start QGIS (v2.4), and Add delimited text layer  choose my .csv file and the x/y fields, click OK select WGS 84 as my CRS (also tried NAD83 but didn't make a difference), click OK right-click on layer and select Save As..., in the dialog box, choose the following and click OK:  add sccs_meter.shp as layer to the current project Select Vector > Geoprocessing Tools > Buffers > set buffer distance as 10   The result is a buffer with radius of approximately 1068km, which suggests that buffer distance is 10 degrees rather than 10 meters.  What did I do wrong here?
28770
Running Windows 7 Professional (64bit) SP1. I have QGIS 2.18.10 installed from the standalone installer. The GRASS commands (161 algorithms) are present in the toolbox and seem to run ok. However the GRASS GIS 7 commands (314 algorithms) result in the following message box: I have tried uninstalling, deleting all traces of QGIS from the Registry, and then reinstalling using the OSGeo4W64 installer selecting various different options, including adding GRASS 6, also without any success. I deleted the OSGeo4W64 installation and reinstalled it. No change. I then re-installed the standalone QGIS package and copied the \msys folder from the OSGeo4W64 GRASS 6 installation into the \apps folder of the QGIS 2.18 directory. Nothing changed. I have ensured paths are correct in Providers section of Processing options:I have ensured the output folder has no non-ASCII characters as that seems to be another possible cause, but still have not solved the issue.
6194
In my case I failed to use  plugin (2.0.30) with QGIS 2.14.11 and 2.18.3 on windows64.  Tested on several datasets: points, polygons, and csv.- But I am not sure what I have missed.    I want to click on this Calculate button.
94087
How and at what stage is a valid OpenGL context created in  my code? I'm getting errors on even simple OpenGL code.
27434
I'm new to QGIS and have no programming skills.  Is there an easy/uncomplicated way to create multiple buffers around a line feature?
66662
I've been trying to test the Viewshed analysis plugin on QGIS 2.10, but it keeps giving back error messages. I've tried to reduce the radius area and have also reprojected both my DEM and my point shapefile to UTM, in order to avoid a possible memory error mentioned in another question regarding this plugin (that the using of geographic coordinates might cause a memory error).  Still, I keep getting Python error messages when I try to run it. Does anyone know whats going on? Is this plugin "broken"?
70802
I saw in  how to get Qgis 2.10 running from the non ubuntugis repository with grass features but I'm still having problems with getting it to work with the ubuntugis unstable dependencies.  I have tried using 2.10, 2.8.3, and the nightly build but can neither get the GRASS plugin toolbar to work or the new browser to show the grass files like the video shows .  While I can get work done with the standard install I like having using the ubuntugis dependencies and packages for work with postgis, spatialite, etc and would really like to have it all gel together rather than have multiple repositories that may confuse each other.  So after all of that filler I guess my question would be has anybody got QGIS 2.10's grass tools(both processing and plugin) to work with the ubuntugis dependencies and if so how?
53228
I have been using QGIS and Grass for ages and while I've noticed this issue before, I've not been bothered by it until now.  It is (hopefully) a bit of a noob question but when I open GRASS in the QGIS Processing toolbox, I notice that a lot of standard utilities appear to be missing (e.g. r.in.bin and others  - There are only 161 commands listed for Grass 6.4.3 and this figure should be much higher).    I am not talking about add-on plugins but standard parts of the GRASS toolset (according to the Grass documentation).  Looking in the Grass bin folder, however, I can see the are there.  It is not that the bin folder is not recognized as I can see many of the other utilities there in Processing.  I have tried updating to the latest version of QGIS (2.18) with OsGeo4W and re-installing both Grass 6.4.3 and 7.2.  I have checked the paths in Processing-options and all looks fine (in as much as the paths point to the top-level directory in each case as they always have).  How can I make the missing ones appear in the Processing toolbox?
80632
I am writing a simple plugin that finds buffer. My gui has 2 combo box and 1 Line edit. The first combo box will have a drop down of values  from column 'States' and 2nd combo will have a drop down of values from column 'Cities'. Note that the Cities will be filtered in the combo box depending on the states selected. And 3rd Lineedit gets a distance from the user. As a result, I want buffer for the cities (from the 2nd combo box) with the user specified 'distance value' given in the lineedit box.I tried QgsGeometryAnalyzer().buffer() function in QGIS API. But the first argument is a layer for the above mentioned function. Instead i want my gui to take value from the city combo and lineedit and find buffer. How to accomplish. Sorry for the lengthy post.
89854
I've a polygon layer on PostGIS, and when I try to add featureS using QGIS it gets error when I save the edit.   Here is the error notification "no result buffer".     I found a similar case here : . But it doesn't give me the answer to solve it. Any ideas ?
109077
for layers in glob.glob("*.las"):         processing.runalg("grass7:r.in.lidar", "input_las",5,1,"",1,100,"","",5,"","",False,True,True,"331289.57265,337990.42735,4558790.0,4560890.0",0,layers+"E:/las_new/.tif")      {'output': 'PNOA_2016_CAT_huso31_346-4560.lasE:/las_new/.tif'}   {'output': 'PNOA_2016_CAT_huso31_346-4562.lasE:/las_new/.tif'}   {'output': 'PNOA_2016_CAT_huso31_346-4564.lasE:/las_new/.tif'}   {'output': 'PNOA_2016_CAT_huso31_346-4566.lasE:/las_new/.tif'}   {'output': 'PNOA_2016_CAT_huso31_346-4568.lasE:/las_new/.tif'}   {'output': 'PNOA_2016_CAT_huso31_346-4570.lasE:/las_new/.tif'}   output_ras=("E:/las_Ras")   for layers in glob.glob("*.las"):     processing.runalg("grass7:r.in.lidar", "input_las",5,1,"",1,100,"","",5,"","",False,True,True,"331289.57265,337990.42735,4558790.0,4560890.0",0,layers+"output_ras.tif")      {'output': 'PNOA_2016_CAT_huso31_346-4560.lasoutput_ras.tif'}   {'output': 'PNOA_2016_CAT_huso31_346-4562.lasoutput_ras.tif'}   {'output': 'PNOA_2016_CAT_huso31_346-4564.lasoutput_ras.tif'}   {'output': 'PNOA_2016_CAT_huso31_346-4566.lasoutput_ras.tif'}   {'output': 'PNOA_2016_CAT_huso31_346-4568.lasoutput_ras.tif'}   {'output': 'PNOA_2016_CAT_huso31_346-4570.lasoutput_ras.tif'}     for layers in glob.glob("*.las"):     processing.runalg("grass7:r.in.lidar", "input_las",5,1,"",1,100,"","",5,"","",False,True,True,"331289.57265,337990.42735,4558790.0,4560890.0",0,"output_ras.tif")      {'output': 'output_ras.tif'}   {'output': 'output_ras.tif'}   {'output': 'output_ras.tif'}   {'output': 'output_ras.tif'}   {'output': 'output_ras.tif'}   {'output': 'output_ras.tif'}   I would like to batch process many LAS files to rasters using the PyQGIS algorithm. As you can see in the code, I think the final problem is with the output. It does not write the files out to my defined output pathway as tif files. Also how can I make sure the naming of output rasters are according to the original LAS they are generated from? What am I doing wrong here? Not a pro at Python. Started 3 days ago.
75398
I am flummoxed on how to use GRASS's v.kernel.  I have a vector layer of around 2.5 million points. I want to make a heat map using v.kernel to show concentrations, since I have variable instances with overlapping points, sometimes huge overlaps.  I've already gotten this vector layer in GRASS, and it displays just fine.  I've tried using GRASS's v.kernel command based on what I've seen here and on other forums, and I can't get it to do anything besides output a raster that's just a pink square.  Here's the command I'm using:  v.kernel --verbose input=master_grass7 output=master_grass7a_heatmap stddeviation=.0001   I've varied the stddeviation to all sorts of values from 1000000 to .000001, and it had no effect.  I've read the  repeatedly and don't really understand what it's getting at. At least, the instructions are on esoteric concepts, nothing practical. I've also checked the , and I'm not really understanding it, either. Yes, I can read C. The problem is it depends on a lot of stuff defined elsewhere in GRASS GIS.  I've also done a lot of Google searching, and I can't find a comprehensive guide. All that I'm getting are scattered copies of the v.kernel doc/man page or people who apparently got it to work without a fuss.  I've also checked up on the concept of kernel density estimation (KDE), and even then I don't see how to use the v.kernel command. That command appears to be a specific interpretation of KDE; its switches don't appear to correspond well to generic KDE concepts.  So back to the main question here: how can someone who is not intimate with GRASS product development use the v.kernel command? Is there a plain language translation available?
66153
I want to create a standalone python script using QGIS python API (PYQGIS) for education. First I create a model and export that model to python script.  original python script from the export :  ##=name ##raster=raster ##stat=output html outputs_QGISRASTERLAYERSTATISTICS_1=processing.runalg('qgis:rasterlayerstatistics', raster,stat)   Next I read this  and I tried to follow this tutorial to create my script.  Final script :  import sys from qgis.core import QgsApplication from PyQt4.QtGui import QApplication app = QApplication([]) QgsApplication.setPrefixPath("/usr", True) QgsApplication.initQgis()  # Prepare processing framework  sys.path.append('/home/username/.qgis2/python') from processing.core.Processing import Processing dem='aster.tif' slope='slope.tif' aspect='aspect.tif' outputs_SAGASLOPEASPECTCURVATURE_1=processing.runalg('saga:slopeaspectcurvature', dem,6,1,1,slope,aspect,None,None,None,None,None,None,None,None,None,None) Processing.initialize()  # Exit applications QgsApplication.exitQgis() QApplication.exit()   If I run this script it works fine without error but I don't take some export like aspect and slope (these can't be found?). Any idea why I can't take exports ?  I use Ubuntu and python 2.7 and QGIS 2.18.1.    i try to this script :  import sys from qgis.core import QgsApplication sys.path.append('/usr/share/qgis/python/plugins') import processing a=processing.alglist() print a processing.alghelp("saga:slopeaspectcurvature")   and i take that print any idea why ?  Algorithm not found   but if i use this module in QGIS work fine.