Skip to content
Permalink
Browse files

Fix data loss (use GPKG as default format, not SHP)

As per https://issues.qgis.org/issues/19733 this addresses the issue that SHP only supports 10-char DBF column names which easily become longer when using v.rast.stats etc. The solution implemented here is to switch to GPKG as default format in the QGIS-GRASS-Processing internal data exchange and no longer use SHP.
  • Loading branch information
neteler committed Nov 6, 2018
1 parent 2d9230b commit f4aee7705734af47d52aa4ef6f6003160c4637a6
Showing with 3 additions and 0 deletions.
  1. +3 −0 python/plugins/processing/algs/grass7/Grass7AlgorithmProvider.py
@@ -137,6 +137,9 @@ def icon(self):
def svgIconPath(self):
return QgsApplication.iconPath("/providerGrass.svg")

def defaultVectorFileExtension(self, hasGeometry=True):
return 'gpkg'

def supportsNonFileBasedOutput(self):
"""
GRASS7 Provider doesn't support non file based outputs

0 comments on commit f4aee77

Please sign in to comment.
You can’t perform that action at this time.