Przeglądaj źródła

revert unwanted part of https://trac.osgeo.org/grass/changeset/65872

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@65873 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 9 lat temu
rodzic
commit
a4a308ecda
2 zmienionych plików z 2 dodań i 11 usunięć
  1. 0 7
      vector/v.delaunay/v.delaunay.html
  2. 2 4
      vector/v.mkgrid/main.c

+ 0 - 7
vector/v.delaunay/v.delaunay.html

@@ -15,13 +15,6 @@ Commands used with the North Carolina dataset to create the above figure (subset
 <div class="code"><pre>
 g.region n=220750 s=219950 w=638300 e=639000 -p
 v.delaunay input=elev_lid792_randpts output=elev_lid792_randpts_delaunay
-
-
-  696  v.delaunay input=elev_lid792_bepts output=elev_lid792_bepts_tin 
-  697  v.colors elev_lid792_bepts_tin color=srtm_plus
-  698  d.erase 
-  699  d.vect elev_lid792_bepts_tin
-
 </pre></div>
 
 

+ 2 - 4
vector/v.mkgrid/main.c

@@ -323,9 +323,7 @@ int main(int argc, char *argv[])
 	if (grid_info.north - grid_info.south < 3 * grid_info.rstep) {
 	    G_fatal_error(_("Please use a higher resolution or a larger region"));
 	}
-G_debug(0,"grid_info.num_vect_rows %d", grid_info.num_vect_rows);
-G_debug(0,"grid_info.num_rows %d", grid_info.num_rows);
-G_debug(0,"grid_info.num_vect_rows / 2.0 + 0.5: %f (int) %d", (grid_info.num_vect_rows / 2.0 + 0.5), (int)(grid_info.num_vect_rows / 2.0 + 0.5));
+
 	if ((int)(grid_info.num_vect_rows / 2.0 + 0.5) != grid_info.num_rows)
 	    G_message(_("The number of rows has been adjusted from %d to %d"),
 	              grid_info.num_rows, (int)(grid_info.num_vect_rows / 2.0 + 0.5));
@@ -368,7 +366,7 @@ G_debug(0,"grid_info.num_vect_rows / 2.0 + 0.5: %f (int) %d", (grid_info.num_vec
 	    }
 	}
     }
-    else { /* squares and rectangles */
+    else {
 	if (grid_info.width != grid_info.height) {
 	    G_important_message(_("The rectangles will be asymmetrical."));
 	}