[GRASS-SVN] r60229 - grass/trunk/vector/v.mkgrid
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue May 13 10:16:16 PDT 2014
Author: hcho
Date: 2014-05-13 10:16:16 -0700 (Tue, 13 May 2014)
New Revision: 60229
Modified:
grass/trunk/vector/v.mkgrid/main.c
grass/trunk/vector/v.mkgrid/write_grid.c
Log:
v.mkgrid: Remove unused line
Modified: grass/trunk/vector/v.mkgrid/main.c
===================================================================
--- grass/trunk/vector/v.mkgrid/main.c 2014-05-13 15:16:33 UTC (rev 60228)
+++ grass/trunk/vector/v.mkgrid/main.c 2014-05-13 17:16:16 UTC (rev 60229)
@@ -163,10 +163,8 @@
if (box->answer)
G_fatal_error(_("'box' and 'position=region' are exclusive options"));
- if (grid_info.angle != 0.0) {
+ if (grid_info.angle != 0.0)
G_fatal_error(_("'angle' and 'position=region' are exclusive options"));
- grid_info.angle = 0.0;
- }
grid_info.origin_x = window.west;
grid_info.origin_y = window.south;
Modified: grass/trunk/vector/v.mkgrid/write_grid.c
===================================================================
--- grass/trunk/vector/v.mkgrid/write_grid.c 2014-05-13 15:16:33 UTC (rev 60228)
+++ grass/trunk/vector/v.mkgrid/write_grid.c 2014-05-13 17:16:16 UTC (rev 60229)
@@ -29,6 +29,7 @@
width = grid_info->width;
length = grid_info->length;
angle = grid_info->angle;
+ fprintf(stderr, "v(%d, %d), d(%d, %d), %f %f %f %f %f\n", num_v_rows, num_v_cols, rows, cols, width, length, angle, grid_info->origin_x, grid_info->origin_y);
/*
* For latlon, must draw in shorter sections
More information about the grass-commit
mailing list