[GRASS-SVN] r52806 - grass/trunk/vector/v.in.ogr
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Aug 21 03:07:03 PDT 2012
Author: mmetz
Date: 2012-08-21 03:07:02 -0700 (Tue, 21 Aug 2012)
New Revision: 52806
Modified:
grass/trunk/vector/v.in.ogr/geom.c
Log:
remove debug info
Modified: grass/trunk/vector/v.in.ogr/geom.c
===================================================================
--- grass/trunk/vector/v.in.ogr/geom.c 2012-08-21 10:02:38 UTC (rev 52805)
+++ grass/trunk/vector/v.in.ogr/geom.c 2012-08-21 10:07:02 UTC (rev 52806)
@@ -259,28 +259,6 @@
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
More information about the grass-commit
mailing list