[GRASS-SVN] r34171 - grass/trunk/raster/r.transect

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Nov 6 07:37:56 EST 2008


Author: hamish
Date: 2008-11-06 07:37:56 -0500 (Thu, 06 Nov 2008)
New Revision: 34171

Modified:
   grass/trunk/raster/r.transect/main.c
Log:
output end coordinate (merge from devbr6)

Modified: grass/trunk/raster/r.transect/main.c
===================================================================
--- grass/trunk/raster/r.transect/main.c	2008-11-06 12:23:43 UTC (rev 34170)
+++ grass/trunk/raster/r.transect/main.c	2008-11-06 12:37:56 UTC (rev 34171)
@@ -6,7 +6,7 @@
  *               Markus Neteler <neteler itc.it>, 
  *               Bernhard Reiter <bernhard intevation.de>, 
  *               Glynn Clements <glynn gclements.plus.com>, 
- *               Hamish Bowman <hamish_nospam yahoo.com>, 
+ *               Hamish Bowman <hamish_b yahoo.com>, 
  *               Jan-Oliver Wagner <jan intevation.de>
  * PURPOSE:      This program outputs, in ASCII, the values in a raster map
  *               which lie along one or more user-defined transect lines.
@@ -78,6 +78,7 @@
     if (G_parser(argc, argv))
 	exit(EXIT_FAILURE);
 
+
     projection = G_projection();
 
     if (coord->answer)
@@ -113,5 +114,8 @@
 	G_usage();
 	exit(EXIT_FAILURE);
     }
+
+    G_verbose_message(_("End coordinate: %.15g, %.15g"), e2, n2);
+
     exit(system(command));
 }



More information about the grass-commit mailing list