[GRASS-SVN] r37940 - grass/branches/releasebranch_6_4/lib/gis
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Jun 18 23:10:36 EDT 2009
Author: hamish
Date: 2009-06-18 23:10:36 -0400 (Thu, 18 Jun 2009)
New Revision: 37940
Modified:
grass/branches/releasebranch_6_4/lib/gis/wind_format.c
Log:
temporarily revert r37727 (bug #654)
Modified: grass/branches/releasebranch_6_4/lib/gis/wind_format.c
===================================================================
--- grass/branches/releasebranch_6_4/lib/gis/wind_format.c 2009-06-19 02:41:10 UTC (rev 37939)
+++ grass/branches/releasebranch_6_4/lib/gis/wind_format.c 2009-06-19 03:10:36 UTC (rev 37940)
@@ -95,10 +95,7 @@
projection type in order to get FP values for lat/lon coords,
"%.8f" is not enough to preserve fidelity once converted
back into D:M:S, which leads to rounding errors. */
- if (G_projection() == PROJECTION_LL)
- sprintf(buf, "%.15g", value);
- else
- sprintf(buf, "%.8f", value);
+ sprintf(buf, "%.8f", value);
G_trim_decimal(buf);
return 0;
More information about the grass-commit
mailing list