[GRASS-SVN] r45405 -
grass/branches/develbranch_6/vector/v.build.polylines
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Feb 14 12:26:39 EST 2011
Author: mmetz
Date: 2011-02-14 09:26:39 -0800 (Mon, 14 Feb 2011)
New Revision: 45405
Modified:
grass/branches/develbranch_6/vector/v.build.polylines/main.c
Log:
process only lines
Modified: grass/branches/develbranch_6/vector/v.build.polylines/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.build.polylines/main.c 2011-02-14 17:25:31 UTC (rev 45404)
+++ grass/branches/develbranch_6/vector/v.build.polylines/main.c 2011-02-14 17:26:39 UTC (rev 45405)
@@ -178,6 +178,12 @@
if (type & GV_LINES)
nlines++;
+ else {
+ /* copy points to output as they are, with cats */
+ Vect_read_line(&map, points, Cats, line);
+ Vect_write_line(&Out, type, points, Cats);
+ continue;
+ }
/* Skip line if already visited from another */
if (lines_visited[line])
More information about the grass-commit
mailing list