[GRASS-SVN] r59285 - grass/trunk/vector/v.outlier

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Mar 18 11:34:33 PDT 2014


Author: neteler
Date: 2014-03-18 11:34:32 -0700 (Tue, 18 Mar 2014)
New Revision: 59285

Modified:
   grass/trunk/vector/v.outlier/main.c
Log:
v.outlier: warn user if no subregions found (broken outlier map will be created)

Modified: grass/trunk/vector/v.outlier/main.c
===================================================================
--- grass/trunk/vector/v.outlier/main.c	2014-03-18 17:47:07 UTC (rev 59284)
+++ grass/trunk/vector/v.outlier/main.c	2014-03-18 18:34:32 UTC (rev 59285)
@@ -342,6 +342,8 @@
 	    subregion++;
 	    if (nsubregions > 1)
 		G_message(_("subregion %d of %d"), subregion, nsubregions);
+	    else /* v.outlier -e will report mean point distance: */
+		G_warning(_("No subregions found! Check values for 'soe' and 'son' parameters"));
 
 	    P_set_regions(&elaboration_reg, &general_box, &overlap_box, dims,
 			  GENERAL_COLUMN);



More information about the grass-commit mailing list