[GRASS-SVN] r65846 - in grass/trunk: raster/r.external raster/r.in.gdal raster/r.in.lidar scripts/r.unpack scripts/v.unpack temporal/t.rast.import temporal/t.vect.import vector/v.in.lidar vector/v.in.ogr

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Aug 6 20:34:02 PDT 2015


Author: wenzeslaus
Date: 2015-08-06 20:34:01 -0700 (Thu, 06 Aug 2015)
New Revision: 65846

Modified:
   grass/trunk/raster/r.external/main.c
   grass/trunk/raster/r.in.gdal/main.c
   grass/trunk/raster/r.in.lidar/main.c
   grass/trunk/scripts/r.unpack/r.unpack.py
   grass/trunk/scripts/v.unpack/v.unpack.py
   grass/trunk/temporal/t.rast.import/t.rast.import.py
   grass/trunk/temporal/t.vect.import/t.vect.import.py
   grass/trunk/vector/v.in.lidar/main.c
   grass/trunk/vector/v.in.ogr/main.c
Log:
change and extend description of -o (override projection) flags

Modified: grass/trunk/raster/r.external/main.c
===================================================================
--- grass/trunk/raster/r.external/main.c	2015-08-07 03:24:55 UTC (rev 65845)
+++ grass/trunk/raster/r.external/main.c	2015-08-07 03:34:01 UTC (rev 65846)
@@ -96,8 +96,10 @@
 
     flag.o = G_define_flag();
     flag.o->key = 'o';
-    flag.o->description =
-	_("Override projection (use location's projection)");
+    flag_o->label =
+	_("Override projection check (use current location's projection)");
+    flag_o->description =
+	_("Assume that the dataset has same projection as the current location");
 
     flag.e = G_define_flag();
     flag.e->key = 'e';

Modified: grass/trunk/raster/r.in.gdal/main.c
===================================================================
--- grass/trunk/raster/r.in.gdal/main.c	2015-08-07 03:24:55 UTC (rev 65845)
+++ grass/trunk/raster/r.in.gdal/main.c	2015-08-07 03:34:01 UTC (rev 65846)
@@ -154,8 +154,10 @@
 
     flag_o = G_define_flag();
     flag_o->key = 'o';
+    flag_o->label =
+	_("Override projection check (use current location's projection)");
     flag_o->description =
-	_("Override projection (use location's projection)");
+	_("Assume that the dataset has same projection as the current location");
 
     flag_e = G_define_flag();
     flag_e->key = 'e';

Modified: grass/trunk/raster/r.in.lidar/main.c
===================================================================
--- grass/trunk/raster/r.in.lidar/main.c	2015-08-07 03:24:55 UTC (rev 65845)
+++ grass/trunk/raster/r.in.lidar/main.c	2015-08-07 03:34:01 UTC (rev 65846)
@@ -275,8 +275,10 @@
 
     over_flag = G_define_flag();
     over_flag->key = 'o';
-    over_flag->description =
-	_("Override dataset projection (use location's projection)");
+    flag_o->label =
+	_("Override projection check (use current location's projection)");
+    flag_o->description =
+	_("Assume that the dataset has same projection as the current location");
 
     scan_flag = G_define_flag();
     scan_flag->key = 's';

Modified: grass/trunk/scripts/r.unpack/r.unpack.py
===================================================================
--- grass/trunk/scripts/r.unpack/r.unpack.py	2015-08-07 03:24:55 UTC (rev 65845)
+++ grass/trunk/scripts/r.unpack/r.unpack.py	2015-08-07 03:34:01 UTC (rev 65846)
@@ -30,7 +30,8 @@
 #%end
 #%flag
 #% key: o
-#% description: Override projection check (use location's projection)
+#% label: Override projection check (use current location's projection)
+#% description: Assume that the dataset has same projection as the current location
 #% guisection: Output settings
 #%end
 

Modified: grass/trunk/scripts/v.unpack/v.unpack.py
===================================================================
--- grass/trunk/scripts/v.unpack/v.unpack.py	2015-08-07 03:24:55 UTC (rev 65845)
+++ grass/trunk/scripts/v.unpack/v.unpack.py	2015-08-07 03:34:01 UTC (rev 65846)
@@ -30,7 +30,8 @@
 #%end
 #%flag
 #% key: o
-#% description: Override projection check (use current location's projection)
+#% label: Override projection check (use current location's projection)
+#% description: Assume that the dataset has same projection as the current location
 #%end
 
 import os

Modified: grass/trunk/temporal/t.rast.import/t.rast.import.py
===================================================================
--- grass/trunk/temporal/t.rast.import/t.rast.import.py	2015-08-07 03:24:55 UTC (rev 65845)
+++ grass/trunk/temporal/t.rast.import/t.rast.import.py	2015-08-07 03:34:01 UTC (rev 65846)
@@ -83,7 +83,8 @@
 
 #%flag
 #% key: o
-#% description: Override projection (use location's projection)
+#% label: Override projection check (use current location's projection)
+#% description: Assume that the dataset has same projection as the current location
 #%end
 
 #%flag

Modified: grass/trunk/temporal/t.vect.import/t.vect.import.py
===================================================================
--- grass/trunk/temporal/t.vect.import/t.vect.import.py	2015-08-07 03:24:55 UTC (rev 65845)
+++ grass/trunk/temporal/t.vect.import/t.vect.import.py	2015-08-07 03:34:01 UTC (rev 65846)
@@ -72,7 +72,8 @@
 
 #%flag
 #% key: o
-#% description: Override projection (use location's projection)
+#% label: Override projection check (use current location's projection)
+#% description: Assume that the dataset has same projection as the current location
 #%end
 
 #%flag

Modified: grass/trunk/vector/v.in.lidar/main.c
===================================================================
--- grass/trunk/vector/v.in.lidar/main.c	2015-08-07 03:24:55 UTC (rev 65845)
+++ grass/trunk/vector/v.in.lidar/main.c	2015-08-07 03:34:01 UTC (rev 65846)
@@ -210,8 +210,10 @@
 
     over_flag = G_define_flag();
     over_flag->key = 'o';
-    over_flag->description =
-	_("Override dataset projection (use location's projection)");
+    flag_o->label =
+	_("Override projection check (use current location's projection)");
+    flag_o->description =
+	_("Assume that the dataset has same projection as the current location");
 
     region_flag = G_define_flag();
     region_flag->key = 'r';

Modified: grass/trunk/vector/v.in.ogr/main.c
===================================================================
--- grass/trunk/vector/v.in.ogr/main.c	2015-08-07 03:24:55 UTC (rev 65845)
+++ grass/trunk/vector/v.in.ogr/main.c	2015-08-07 03:34:01 UTC (rev 65846)
@@ -278,8 +278,10 @@
 
     flag.over = G_define_flag();
     flag.over->key = 'o';
-    flag.over->description =
-	_("Override dataset projection (use location's projection)");
+    flag_o->label =
+	_("Override projection check (use current location's projection)");
+    flag_o->description =
+	_("Assume that the dataset has same projection as the current location");
 
     flag.region = G_define_flag();
     flag.region->key = 'r';



More information about the grass-commit mailing list