[GRASS-SVN] r70637 - grass/trunk/vector/v.what

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Feb 19 20:34:18 PST 2017


Author: hcho
Date: 2017-02-19 20:34:18 -0800 (Sun, 19 Feb 2017)
New Revision: 70637

Modified:
   grass/trunk/vector/v.what/main.c
Log:
v.what: Fix the default distance threshold

Modified: grass/trunk/vector/v.what/main.c
===================================================================
--- grass/trunk/vector/v.what/main.c	2017-02-20 03:42:34 UTC (rev 70636)
+++ grass/trunk/vector/v.what/main.c	2017-02-20 04:34:18 UTC (rev 70637)
@@ -134,6 +134,7 @@
 	x = window.proj;
 	G_format_resolution(window.ew_res, ewres, x);
 	G_format_resolution(window.ns_res, nsres, x);
+	G_begin_distance_calculations();
 	EW_DIST1 =
 	    G_distance(window.east, window.north, window.west, window.north);
 	/* EW Dist at South Edge */



More information about the grass-commit mailing list