瀏覽代碼

remove debug info

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@52806 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 12 年之前
父節點
當前提交
ae504ecc4b
共有 1 個文件被更改,包括 0 次插入22 次删除
  1. 0 22
      vector/v.in.ogr/geom.c

+ 0 - 22
vector/v.in.ogr/geom.c

@@ -259,28 +259,6 @@ geom(OGRGeometryH hGeom, struct Map_info *Map, int field, int cat,
 
 	Vect_append_point(Points, OGR_G_GetX(hGeom, 0), OGR_G_GetY(hGeom, 0),
 			  OGR_G_GetZ(hGeom, 0));
-
-	if (Points->x[0] != Points->x[0])
-	    G_warning("x is nan");
-	if (Points->y[0] != Points->y[0])
-	    G_warning("y is nan");
-	if (Points->z[0] != Points->z[0])
-	    G_warning("y is nan");
-
-	if (Points->x[0] > PORT_DOUBLE_MAX)
-	    G_warning("x is inf");
-	if (Points->y[0] > PORT_DOUBLE_MAX)
-	    G_warning("y is inf");
-	if (Points->z[0] > PORT_DOUBLE_MAX)
-	    G_warning("y is inf");
-
-	if (Points->x[0] < -PORT_DOUBLE_MAX)
-	    G_warning("x is -inf");
-	if (Points->y[0] < -PORT_DOUBLE_MAX)
-	    G_warning("y is -inf");
-	if (Points->z[0] < -PORT_DOUBLE_MAX)
-	    G_warning("y is -inf");
-
 	if (type & GV_CENTROID)
 	    otype = GV_CENTROID;
 	else