[GRASS-SVN] r35915 - grass-addons/vector/v.swathwidth

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Feb 17 23:20:59 EST 2009


Author: hamish
Date: 2009-02-17 23:20:58 -0500 (Tue, 17 Feb 2009)
New Revision: 35915

Modified:
   grass-addons/vector/v.swathwidth/v.swathwidth
Log:
v.generalize requires connected polylines to work correctly

Modified: grass-addons/vector/v.swathwidth/v.swathwidth
===================================================================
--- grass-addons/vector/v.swathwidth/v.swathwidth	2009-02-18 00:41:38 UTC (rev 35914)
+++ grass-addons/vector/v.swathwidth/v.swathwidth	2009-02-18 04:20:58 UTC (rev 35915)
@@ -129,8 +129,8 @@
 v.clean input="tmp_patch_$$" out="tmp_patch_brk_$$" tool=break
 v.centroids in="tmp_patch_brk_$$" out="tmp_patch_cn_$$" cat=1 step=0
 v.dissolve in="tmp_patch_cn_$$" out="tmp_patch_solid_$$"
-
-#??? v.generalize in="tmp_patch_solid_$$" out="tmp_patch_smooth_$$" type=area 
+v.build.polylines in="tmp_patch_solid_$$" out="tmp_patch_solid2_$$"
+v.generalize in="tmp_patch_solid2_$$" out="tmp_patch_smooth_$$" method=snakes
 #g.rename vect="tmp_patch_smooth_$$,${GIS_OPT_OUTPUT}_rect"
 fi
 ###################################



More information about the grass-commit mailing list