[GRASS-SVN] r66463 - grass-addons/grass7/raster/r.gwr

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Oct 10 09:32:38 PDT 2015


Author: ychemin
Date: 2015-10-10 09:32:38 -0700 (Sat, 10 Oct 2015)
New Revision: 66463

Modified:
   grass-addons/grass7/raster/r.gwr/main.c
Log:
Added flag for adaptive kernel

Modified: grass-addons/grass7/raster/r.gwr/main.c
===================================================================
--- grass-addons/grass7/raster/r.gwr/main.c	2015-10-10 15:13:34 UTC (rev 66462)
+++ grass-addons/grass7/raster/r.gwr/main.c	2015-10-10 16:32:38 UTC (rev 66463)
@@ -54,6 +54,7 @@
                   *output_res, *output_est, *output_b, *output_opt,
 		  *bw_opt, *kernel_opt, *vf_opt;
     struct Flag *shell_style, *estimate;
+    struct Flag *adaptive;
     struct Cell_head region;
     struct GModule *module;
 
@@ -130,6 +131,10 @@
     estimate->key = 'e';
     estimate->description = _("Estimate optimal bandwidth");
 
+    adaptive = G_define_flag();
+    adaptive->key = 'e';
+    adaptive->description = _("Adaptive kernel size");
+
     if (G_parser(argc, argv))
 	exit(EXIT_FAILURE);
 



More information about the grass-commit mailing list