[GRASS-SVN] r67968 - grass/branches/releasebranch_7_0/raster/r.transect

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Feb 27 13:11:37 PST 2016


Author: annakrat
Date: 2016-02-27 13:11:37 -0800 (Sat, 27 Feb 2016)
New Revision: 67968

Modified:
   grass/branches/releasebranch_7_0/raster/r.transect/main.c
Log:
r.transect: use new r.profile parameter names, #2938 (merge from trunk, r67967)

Modified: grass/branches/releasebranch_7_0/raster/r.transect/main.c
===================================================================
--- grass/branches/releasebranch_7_0/raster/r.transect/main.c	2016-02-27 21:10:13 UTC (rev 67967)
+++ grass/branches/releasebranch_7_0/raster/r.transect/main.c	2016-02-27 21:11:37 UTC (rev 67968)
@@ -47,10 +47,10 @@
 
     argv[argc++] = "output=-";
 
-    sprintf(buf, "null=%s", nulls);
+    sprintf(buf, "null_value=%s", nulls);
     argv[argc++] = G_store(buf);
 
-    strcpy(profile, "profile=");
+    strcpy(profile, "coordinates=");
     for (n = 0; line[n]; n += 4) {
 	int err = parse_line("line", &line[n], &e1, &n1, &e2, &n2, projection);
 



More information about the grass-commit mailing list