[GRASS-SVN] r56330 - grass/trunk/gui/wxpython/web_services

svn_grass at osgeo.org svn_grass at osgeo.org
Mon May 20 09:32:42 PDT 2013


Author: martinl
Date: 2013-05-20 09:32:42 -0700 (Mon, 20 May 2013)
New Revision: 56330

Modified:
   grass/trunk/gui/wxpython/web_services/widgets.py
Log:
wxGUI/wms: fix interpolation method names


Modified: grass/trunk/gui/wxpython/web_services/widgets.py
===================================================================
--- grass/trunk/gui/wxpython/web_services/widgets.py	2013-05-20 13:06:41 UTC (rev 56329)
+++ grass/trunk/gui/wxpython/web_services/widgets.py	2013-05-20 16:32:42 UTC (rev 56330)
@@ -226,9 +226,10 @@
         labels['method'] = wx.StaticText(parent = adv_setts_panel, id = wx.ID_ANY,
                                          label = _("Reprojection method:"))
 
-        self.reproj_methods = ['near', 'bilinear', 'cubic', 'cubicspline']
+        self.reproj_methods = ['nearest', 'linear', 'cubic', 'cubicspline']
         self.params['method'] = wx.Choice(parent = adv_setts_panel, id = wx.ID_ANY,
-                                          choices = [_('near'), _('bilinear'), _('cubic'), _('cubicspline')])
+                                          choices = [_('Nearest neighbor'), _('Linear interpolation'),
+                                                     _('Cubic interpolation'), _('Cubic spline interpolation')])
 
         labels['maxcols'] = wx.StaticText(parent = adv_setts_panel, id = wx.ID_ANY,
                                           label = _("Maximum columns to request from server at time:"))



More information about the grass-commit mailing list