Browse Source

r.transect: use new r.profile parameter names, https://trac.osgeo.org/grass/ticket/2938

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@67967 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 9 years ago
parent
commit
eab9f375b2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      raster/r.transect/main.c

+ 2 - 2
raster/r.transect/main.c

@@ -47,10 +47,10 @@ static int profile(int coords, const char *map, const char *nulls, char **line)
 
     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);