[GRASS-SVN] r48319 -
grass/branches/develbranch_6/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Sep 16 06:58:07 EDT 2011
Author: hamish
Date: 2011-09-16 03:58:07 -0700 (Fri, 16 Sep 2011)
New Revision: 48319
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_modules/psmap_dialogs.py
Log:
inch -> naut miles: 100 * 1852 / 2.54 = 72913.3858267717
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/psmap_dialogs.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/psmap_dialogs.py 2011-09-16 10:48:25 UTC (rev 48318)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/psmap_dialogs.py 2011-09-16 10:58:07 UTC (rev 48319)
@@ -94,11 +94,11 @@
'kilometers' : {'val': 2.54e-5, 'tr' : _("kilometers")},
'feet' : {'val': 1./12, 'tr' : _("feet")},
'miles' : {'val': 1./63360, 'tr' : _("miles")},
- 'nautical miles': {'val': 1/72913.44, 'tr' : _("nautical miles")}}
+ 'nautical miles': {'val': 1/72913.386, 'tr' : _("nautical miles")}}
self._units = { 'pixel' : {'val': ppi[0], 'tr' : _("pixel")},
'meter' : {'val': 0.0254, 'tr' : _("meter")},
- 'nautmiles' : {'val': 1/72913.44, 'tr' :_("nautical miles")},
+ 'nautmiles' : {'val': 1/72913.386, 'tr' :_("nautical miles")},
'degrees' : {'val': 0.0254 , 'tr' : _("degree")} #like 1 meter, incorrect
}
self._units.update(self._unitsPage)
More information about the grass-commit
mailing list