[GRASS-SVN] r60631 - in grass/trunk/temporal: t.list t.rast.list t.rast.univar t.rast3d.list t.rast3d.univar t.register t.sample t.vect.db.select t.vect.list t.vect.univar
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat May 31 05:25:47 PDT 2014
Author: neteler
Date: 2014-05-31 05:25:47 -0700 (Sat, 31 May 2014)
New Revision: 60631
Modified:
grass/trunk/temporal/t.list/t.list.py
grass/trunk/temporal/t.rast.list/t.rast.list.py
grass/trunk/temporal/t.rast.univar/t.rast.univar.py
grass/trunk/temporal/t.rast3d.list/t.rast3d.list.py
grass/trunk/temporal/t.rast3d.univar/t.rast3d.univar.py
grass/trunk/temporal/t.register/t.register.py
grass/trunk/temporal/t.sample/t.sample.py
grass/trunk/temporal/t.vect.db.select/t.vect.db.select.py
grass/trunk/temporal/t.vect.list/t.vect.list.py
grass/trunk/temporal/t.vect.univar/t.vect.univar.py
Log:
t.* modules: use grass.separator() and allow multi-character separators
Modified: grass/trunk/temporal/t.list/t.list.py
===================================================================
--- grass/trunk/temporal/t.list/t.list.py 2014-05-31 12:22:39 UTC (rev 60630)
+++ grass/trunk/temporal/t.list/t.list.py 2014-05-31 12:25:47 UTC (rev 60631)
@@ -91,7 +91,7 @@
columns = options["columns"]
order = options["order"]
where = options["where"]
- separator = options["separator"]
+ separator = grass.separator(options["separator"])
colhead = flags['h']
# Make sure the temporal database exists
Modified: grass/trunk/temporal/t.rast.list/t.rast.list.py
===================================================================
--- grass/trunk/temporal/t.rast.list/t.rast.list.py 2014-05-31 12:22:39 UTC (rev 60630)
+++ grass/trunk/temporal/t.rast.list/t.rast.list.py 2014-05-31 12:25:47 UTC (rev 60631)
@@ -93,7 +93,7 @@
columns = options["columns"]
order = options["order"]
where = options["where"]
- separator = options["separator"]
+ separator = grass.separator(options["separator"])
method = options["method"]
granule = options["granule"]
header = flags["h"]
Modified: grass/trunk/temporal/t.rast.univar/t.rast.univar.py
===================================================================
--- grass/trunk/temporal/t.rast.univar/t.rast.univar.py 2014-05-31 12:22:39 UTC (rev 60630)
+++ grass/trunk/temporal/t.rast.univar/t.rast.univar.py 2014-05-31 12:25:47 UTC (rev 60631)
@@ -57,7 +57,7 @@
where = options["where"]
extended = flags["e"]
colhead = flags["h"]
- separator = options["separator"]
+ separator = grass.separator(options["separator"])
# Make sure the temporal database exists
tgis.init()
Modified: grass/trunk/temporal/t.rast3d.list/t.rast3d.list.py
===================================================================
--- grass/trunk/temporal/t.rast3d.list/t.rast3d.list.py 2014-05-31 12:22:39 UTC (rev 60630)
+++ grass/trunk/temporal/t.rast3d.list/t.rast3d.list.py 2014-05-31 12:25:47 UTC (rev 60631)
@@ -84,7 +84,7 @@
columns = options["columns"]
order = options["order"]
where = options["where"]
- separator = options["separator"]
+ separator = grass.separator(options["separator"])
method = options["method"]
header = flags["h"]
Modified: grass/trunk/temporal/t.rast3d.univar/t.rast3d.univar.py
===================================================================
--- grass/trunk/temporal/t.rast3d.univar/t.rast3d.univar.py 2014-05-31 12:22:39 UTC (rev 60630)
+++ grass/trunk/temporal/t.rast3d.univar/t.rast3d.univar.py 2014-05-31 12:25:47 UTC (rev 60631)
@@ -57,7 +57,7 @@
where = options["where"]
extended = flags["e"]
header = flags["h"]
- separator = options["separator"]
+ separator = grass.separator(options["separator"])
# Make sure the temporal database exists
tgis.init()
Modified: grass/trunk/temporal/t.register/t.register.py
===================================================================
--- grass/trunk/temporal/t.register/t.register.py 2014-05-31 12:22:39 UTC (rev 60630)
+++ grass/trunk/temporal/t.register/t.register.py 2014-05-31 12:25:47 UTC (rev 60631)
@@ -110,7 +110,7 @@
maps = options["maps"]
type = options["type"]
file = options["file"]
- separator = options["separator"]
+ separator = grass.separator(options["separator"])
start = options["start"]
end = options["end"]
unit = options["unit"]
Modified: grass/trunk/temporal/t.sample/t.sample.py
===================================================================
--- grass/trunk/temporal/t.sample/t.sample.py 2014-05-31 12:22:39 UTC (rev 60630)
+++ grass/trunk/temporal/t.sample/t.sample.py 2014-05-31 12:25:47 UTC (rev 60631)
@@ -72,7 +72,7 @@
sampler = options["sample"]
samtype = options["samtype"]
intype = options["intype"]
- separator = options["separator"]
+ separator = grass.separator(options["separator"])
method = options["method"]
header = flags["h"]
spatial = flags["s"]
Modified: grass/trunk/temporal/t.vect.db.select/t.vect.db.select.py
===================================================================
--- grass/trunk/temporal/t.vect.db.select/t.vect.db.select.py 2014-05-31 12:22:39 UTC (rev 60630)
+++ grass/trunk/temporal/t.vect.db.select/t.vect.db.select.py 2014-05-31 12:25:47 UTC (rev 60631)
@@ -57,7 +57,7 @@
columns = options["columns"]
tempwhere = options["t_where"]
layer = options["layer"]
- separator = options["separator"]
+ separator = grass.separator(options["separator"])
if where == "" or where == " " or where == "\n":
where = None
Modified: grass/trunk/temporal/t.vect.list/t.vect.list.py
===================================================================
--- grass/trunk/temporal/t.vect.list/t.vect.list.py 2014-05-31 12:22:39 UTC (rev 60630)
+++ grass/trunk/temporal/t.vect.list/t.vect.list.py 2014-05-31 12:25:47 UTC (rev 60631)
@@ -85,7 +85,7 @@
columns = options["columns"]
order = options["order"]
where = options["where"]
- separator = options["separator"]
+ separator = grass.separator(options["separator"])
method = options["method"]
header = flags["h"]
Modified: grass/trunk/temporal/t.vect.univar/t.vect.univar.py
===================================================================
--- grass/trunk/temporal/t.vect.univar/t.vect.univar.py 2014-05-31 12:22:39 UTC (rev 60630)
+++ grass/trunk/temporal/t.vect.univar/t.vect.univar.py 2014-05-31 12:25:47 UTC (rev 60631)
@@ -79,7 +79,7 @@
where = options["where"]
extended = flags["e"]
header = flags["h"]
- separator = options["separator"]
+ separator = grass.separator(options["separator"])
# Make sure the temporal database exists
tgis.init()
More information about the grass-commit
mailing list