[GRASS-SVN] r70796 - grass/trunk/gui/wxpython/modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Mar 25 00:07:12 PDT 2017


Author: marisn
Date: 2017-03-25 00:07:12 -0700 (Sat, 25 Mar 2017)
New Revision: 70796

Modified:
   grass/trunk/gui/wxpython/modules/mcalc_builder.py
Log:
Expose all r.mapcalc functions and variables in GUI


Modified: grass/trunk/gui/wxpython/modules/mcalc_builder.py
===================================================================
--- grass/trunk/gui/wxpython/modules/mcalc_builder.py	2017-03-25 03:35:13 UTC (rev 70795)
+++ grass/trunk/gui/wxpython/modules/mcalc_builder.py	2017-03-25 07:07:12 UTC (rev 70796)
@@ -98,20 +98,29 @@
             'median(x,y[,z...])': 'median( , )',
             'min(x,y[,z...])': 'min( , )',
             'mode(x,y[,z...])': 'mode( , )',
+            'nmax(x,y[,z...])': 'nmax( , )',
+            'nmedian(x,y[,z...])': 'nmedian( , )',
+            'nmin(x,y[,z...])': 'nmin( , )',
+            'nmode(x,y[,z...])': 'nmode( , )',
             'not(x)': 'not()',
             'pow(x,y)': 'pow( , )',
             'rand(a,b)': 'rand( , )',
             'round(x)': 'round()',
+            'round(x,y)': 'round( , )',
+            'round(x,y,z)': 'round( , , )',
             'sin(x)': 'sin()',
             'sqrt(x)': 'sqrt()',
             'tan(x)': 'tan()',
             'xor(x,y)': 'xor( , )',
             'row()': 'row()',
             'col()': 'col()',
+            'nrows()': 'nrows()',
+            'ncols()': 'ncols()',
             'x()': 'x()',
             'y()': 'y()',
             'ewres()': 'ewres()',
             'nsres()': 'nsres()',
+            'area()': 'area()',
             'null()': 'null()'
         }
 



More information about the grass-commit mailing list