Skip to content
Permalink
Browse files

GRASS GIS batch job needs sqlite directory to be created

  • Loading branch information
neteler committed Feb 7, 2015
1 parent 0a1382a commit a18286fa3d8f7f5896d69be9fafb1ab2de101966
Showing with 1 addition and 0 deletions.
  1. +1 −0 python/plugins/processing/algs/grass7/Grass7Utils.py
@@ -208,6 +208,7 @@ def createTempMapset():
outfile.close()

Grass7Utils.writeGrass7Window(os.path.join(folder, 'PERMANENT', 'WIND'))
mkdir(os.path.join(folder, 'PERMANENT', 'sqlite'))
outfile = open(os.path.join(folder, 'PERMANENT', 'VAR'), 'w')
outfile.write('DB_DRIVER: sqlite\n')
outfile.write('DB_DATABASE: $GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db\n')

0 comments on commit a18286f

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