소스 검색

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 년 전
부모
커밋
eab9f375b2
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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);