[GRASS-SVN] r73071 - grass-addons/grass7/raster/r.in.pdal

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Aug 8 20:02:15 PDT 2018


Author: wenzeslaus
Date: 2018-08-08 20:02:15 -0700 (Wed, 08 Aug 2018)
New Revision: 73071

Modified:
   grass-addons/grass7/raster/r.in.pdal/r.in.pdal.py
Log:
r.in.pdal: overwrite enabled in interface by raster input and applied automatically

Overwrite was hardcoded, now using and not using --o works as expected.


Modified: grass-addons/grass7/raster/r.in.pdal/r.in.pdal.py
===================================================================
--- grass-addons/grass7/raster/r.in.pdal/r.in.pdal.py	2018-08-09 02:55:23 UTC (rev 73070)
+++ grass-addons/grass7/raster/r.in.pdal/r.in.pdal.py	2018-08-09 03:02:15 UTC (rev 73071)
@@ -25,7 +25,6 @@
 #% keyword: LIDAR
 #% keyword: statistics
 #% keyword: conversion
-#% overwrite: yes
 #%end
 
 #%option G_OPT_F_BIN_INPUT
@@ -283,9 +282,6 @@
     # (which may be good even to tell user about reprojection happening)
     reprojection = True
 
-    # overwrite auf true setzen
-    os.environ['GRASS_OVERWRITE'] = '1'
-
     # to hide non-error messages from subprocesses
     if grass.verbosity() <= 2:
         outdev = open(os.devnull, 'w')



More information about the grass-commit mailing list