[GRASS-SVN] r41436 - grass/trunk/vector/v.to.rast

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Mar 14 05:44:02 EDT 2010


Author: neteler
Date: 2010-03-14 05:44:02 -0400 (Sun, 14 Mar 2010)
New Revision: 41436

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

Modified: grass/trunk/vector/v.to.rast/do_lines.c
===================================================================
--- grass/trunk/vector/v.to.rast/do_lines.c	2010-03-14 09:43:57 UTC (rev 41435)
+++ grass/trunk/vector/v.to.rast/do_lines.c	2010-03-14 09:44:02 UTC (rev 41436)
@@ -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