[GRASS-SVN] r41434 - grass/branches/releasebranch_6_4/vector/v.to.rast

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Mar 14 05:43:39 EDT 2010


Author: neteler
Date: 2010-03-14 05:43:38 -0400 (Sun, 14 Mar 2010)
New Revision: 41434

Modified:
   grass/branches/releasebranch_6_4/vector/v.to.rast/do_lines.c
Log:
really print notice if 3D non-contour lines are found

Modified: grass/branches/releasebranch_6_4/vector/v.to.rast/do_lines.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.to.rast/do_lines.c	2010-03-14 08:49:34 UTC (rev 41433)
+++ grass/branches/releasebranch_6_4/vector/v.to.rast/do_lines.c	2010-03-14 09:43:38 UTC (rev 41434)
@@ -88,6 +88,7 @@
 			max = Points->z[j];
 		}
 		if (min != max) {
+		    G_debug(2,"no_contour: %d", no_contour);
 		    no_contour++;
 		    continue;
 		}
@@ -121,7 +122,7 @@
     }
 
     if (no_contour > 0)
-	G_warning(_("%d lines with varying height were not written to raster"),
+	G_message(_("%d lines with varying height were not written to raster"),
 		  no_contour);
 
     Vect_destroy_cats_struct(Cats);



More information about the grass-commit mailing list