[GRASS-CVS] hamish: grass6/raster/r.report prt_report.c,2.4,2.5
grass at intevation.de
grass at intevation.de
Thu Nov 15 23:57:36 EST 2007
Author: hamish
Update of /grassrepository/grass6/raster/r.report
In directory doto:/tmp/cvs-serv23158
Modified Files:
prt_report.c
Log Message:
more precise conversions for acres and sq miles
Index: prt_report.c
===================================================================
RCS file: /grassrepository/grass6/raster/r.report/prt_report.c,v
retrieving revision 2.4
retrieving revision 2.5
diff -u -d -r2.4 -r2.5
--- prt_report.c 30 Sep 2007 07:08:23 -0000 2.4
+++ prt_report.c 16 Nov 2007 04:57:34 -0000 2.5
@@ -63,7 +63,7 @@
case ACRES:
unit[i].label[0] = "";
unit[i].label[1] = "acres";
- unit[i].factor = 2.471e-4;
+ unit[i].factor = 2.4710439e-4;
break;
case HECTARES:
@@ -75,7 +75,7 @@
case SQ_MILES:
unit[i].label[0] = "square";
unit[i].label[1] = " miles";
- unit[i].factor = 3.861e-7;
+ unit[i].factor = 3.8610216e-7;
break;
default:
More information about the grass-commit
mailing list