Browse Source

really print notice if 3D non-contour lines are found

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@41436 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 15 years ago
parent
commit
4872aec523
1 changed files with 2 additions and 1 deletions
  1. 2 1
      vector/v.to.rast/do_lines.c

+ 2 - 1
vector/v.to.rast/do_lines.c

@@ -88,6 +88,7 @@ int do_lines(struct Map_info *Map, struct line_pnts *Points,
 			max = Points->z[j];
 		}
 		if (min != max) {
+		    G_debug(2,"no_contour: %d", no_contour);
 		    no_contour++;
 		    continue;
 		}
@@ -121,7 +122,7 @@ int do_lines(struct Map_info *Map, struct line_pnts *Points,
     }
 
     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);