소스 검색

temporal modules: removed t_where from t.vect.observe.strds since it is not supported in case of multiple strds sampling

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@64560 15284696-431f-4ddb-bdfa-cd5b030d7da7
Soeren Gebbert 10 년 전
부모
커밋
c8a0299827
1개의 변경된 파일2개의 추가작업 그리고 6개의 파일을 삭제
  1. 2 6
      temporal/t.vect.observe.strds/t.vect.observe.strds.py

+ 2 - 6
temporal/t.vect.observe.strds/t.vect.observe.strds.py

@@ -47,10 +47,6 @@
 #%option G_OPT_DB_WHERE
 #%end
 
-#%option G_OPT_T_WHERE
-#% key: t_where
-#%end
-
 import grass.script as grass
 import grass.temporal as tgis
 import grass.script.raster as raster
@@ -81,7 +77,6 @@ def main():
     strds = options["strds"]
     where = options["where"]
     columns = options["columns"]
-    tempwhere = options["t_where"]
 
     if where == "" or where == " " or where == "\n":
         where = None
@@ -112,7 +107,8 @@ def main():
     # Single space time raster dataset
     if len(strds_names) == 1:
         rows = first_strds.get_registered_maps(
-            "name,mapset,start_time,end_time", tempwhere, "start_time", dbif)
+            columns="name,mapset,start_time,end_time", 
+            order="start_time", dbif=dbif)
 
         if not rows:
             dbif.close()