Skip to content

Commit

Permalink
Fix data loss (use GPKG as default format, not SHP)
Browse files Browse the repository at this point in the history
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 authored Nov 6, 2018
1 parent 2d9230b commit f4aee77
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f4aee77

Please sign in to comment.