[GRASS-SVN] r65166 - grass/trunk/raster/r.carve
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Apr 29 21:54:13 PDT 2015
Author: hcho
Date: 2015-04-29 21:54:13 -0700 (Wed, 29 Apr 2015)
New Revision: 65166
Modified:
grass/trunk/raster/r.carve/enforce_ds.c
Log:
r.carve: Add points closest to the center of each stream grid rather than adding each vertex multiple times at the same location
Modified: grass/trunk/raster/r.carve/enforce_ds.c
===================================================================
--- grass/trunk/raster/r.carve/enforce_ds.c 2015-04-30 03:55:41 UTC (rev 65165)
+++ grass/trunk/raster/r.carve/enforce_ds.c 2015-04-30 04:54:13 UTC (rev 65166)
@@ -508,7 +508,7 @@
/* Add point to output vector map */
if (parm->outvect->answer) {
- Vect_append_point(points, pgxypts[i][0], pgxypts[i][1],
+ Vect_append_point(points, cellx, celly,
elev - parm->sdepth);
Vect_write_line(outMap, GV_POINT, points, cats);
}
More information about the grass-commit
mailing list