[GRASS-SVN] r70642 - grass/trunk/lib/gis
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Feb 20 06:09:12 PST 2017
Author: mmetz
Date: 2017-02-20 06:09:12 -0800 (Mon, 20 Feb 2017)
New Revision: 70642
Modified:
grass/trunk/lib/gis/ll_format.c
Log:
libgis: do not wrap to -180,180
Modified: grass/trunk/lib/gis/ll_format.c
===================================================================
--- grass/trunk/lib/gis/ll_format.c 2017-02-20 14:07:33 UTC (rev 70641)
+++ grass/trunk/lib/gis/ll_format.c 2017-02-20 14:09:12 UTC (rev 70642)
@@ -136,10 +136,12 @@
char *h /* hemisphere */
)
{
+#if 0
while (lon > 180.0)
lon -= 360.0;
while (lon < -180.0)
lon += 360.0;
+#endif
if (lon < 0) {
*h = 'W';
More information about the grass-commit
mailing list