[GRASS-SVN] r60656 - grass/trunk/vector/v.in.ogr

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jun 1 07:23:20 PDT 2014


Author: hcho
Date: 2014-06-01 07:23:20 -0700 (Sun, 01 Jun 2014)
New Revision: 60656

Modified:
   grass/trunk/vector/v.in.ogr/main.c
Log:
v.in.ogr: assign max(abs(box.N), abs(box.S)) to ymax rather than to xmax

Modified: grass/trunk/vector/v.in.ogr/main.c
===================================================================
--- grass/trunk/vector/v.in.ogr/main.c	2014-05-31 22:58:08 UTC (rev 60655)
+++ grass/trunk/vector/v.in.ogr/main.c	2014-06-01 14:23:20 UTC (rev 60656)
@@ -1468,9 +1468,9 @@
 	    else
 		xmax = abs(box.W);
 	    if (abs(box.N) > abs(box.S))
-		xmax = abs(box.N);
+		ymax = abs(box.N);
 	    else
-		xmax = abs(box.S);
+		ymax = abs(box.S);
 
 	    if (xmax < ymax)
 		xmax = ymax;



More information about the grass-commit mailing list