Skip to content
Browse files
[Processing][Grass] Add the possibility to return a shp if ogr is not…
… compiled with gpkg

(cherry picked from commit 2e92dab)
  • Loading branch information
lbartoletti authored and nyalldawson committed Feb 1, 2019
1 parent 06ee132 commit e1febd018d1e86241fc2aa858803646c1de5cdc2
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 e1febd0

Please sign in to comment.