Kaynağa Gözat

wxplot/profile.py: fix call of r.profile

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@59144 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 11 yıl önce
ebeveyn
işleme
7082fc222b
1 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. 3 3
      gui/wxpython/wxplot/profile.py

+ 3 - 3
gui/wxpython/wxplot/profile.py

@@ -7,7 +7,7 @@ Classes:
  - profile::ProfileFrame
  - profile::ProfileToolbar
 
-(C) 2011-2012 by the GRASS Development Team
+(C) 2011-2014 by the GRASS Development Team
 
 This program is free software under the GNU General Public License
 (>=v2). Read the file COPYING that comes with GRASS for details.
@@ -242,8 +242,8 @@ class ProfileFrame(BasePlotFrame):
         ret = RunCommand("r.profile",
                          parent = self,
                          input = raster,
-                         profile = coords,
-                         res = transect_res,
+                         coordinates = coords,
+                         resolution = transect_res,
                          null = "nan",
                          quiet = True,
                          read = True)