Explorar o código

libgis: do not wrap to -180,180

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@70642 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz %!s(int64=8) %!d(string=hai) anos
pai
achega
08bf434bd7
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      lib/gis/ll_format.c

+ 2 - 0
lib/gis/ll_format.c

@@ -136,10 +136,12 @@ void G_lon_parts(double lon,		/* lon in degrees to be split into parts */
 		 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';