Skip to content
Browse files
[Processing][Grass] Add the possibility to return a shp if ogr is not…
… compiled with gpkg
  • Loading branch information
lbartoletti authored and nyalldawson committed Jan 30, 2019
1 parent 662af5c commit 2e92dabd20df1abbc0e350dbd1ae06c0ad1839ce
Showing with 7 additions and 1 deletion.
  1. +7 −1 python/plugins/processing/algs/grass7/
@@ -138,7 +138,13 @@ def svgIconPath(self):
return QgsApplication.iconPath("/providerGrass.svg")

def defaultVectorFileExtension(self, hasGeometry=True):
return 'gpkg'
# By default,'gpkg', but if OGR has not been compiled with sqlite3, then
# we take "SHP"
if 'GPKG' in [o.driverName for o in
return 'gpkg'
return 'shp' if hasGeometry else 'dbf'

def supportsNonFileBasedOutput(self):

0 comments on commit 2e92dab

Please sign in to comment.