[GRASS-SVN] r45898 -
grass/branches/releasebranch_6_4/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Apr 10 18:33:45 EDT 2011
Author: martinl
Date: 2011-04-10 15:33:45 -0700 (Sun, 10 Apr 2011)
New Revision: 45898
Modified:
grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/mapdisp.py
Log:
wxGUI: geodetic distance currently not supported
Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/mapdisp.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/mapdisp.py 2011-04-10 22:21:00 UTC (rev 45897)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/mapdisp.py 2011-04-10 22:33:45 UTC (rev 45898)
@@ -1614,7 +1614,11 @@
else:
self._layerManager.goutput.WriteLog(_('Measuring distance:'),
style)
-
+ if self.Map.projinfo['proj'] == 'll':
+ self._layerManager.goutput.WriteWarning(_('Geodesic distance is not yet '
+ 'supported by this tool.\n'
+ 'Check future versions of GRASS.'))
+
def MeasureDist(self, beginpt, endpt):
"""!Calculate map distance from screen distance
and print to output window
More information about the grass-commit
mailing list