Jelajahi Sumber

Expose all r.mapcalc functions and variables in GUI

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@70796 15284696-431f-4ddb-bdfa-cd5b030d7da7
Maris Nartiss 8 tahun lalu
induk
melakukan
400032bd1d
1 mengubah file dengan 9 tambahan dan 0 penghapusan
  1. 9 0
      gui/wxpython/modules/mcalc_builder.py

+ 9 - 0
gui/wxpython/modules/mcalc_builder.py

@@ -98,20 +98,29 @@ class MapCalcFrame(wx.Frame):
             '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()'
         }