[GRASS-SVN] r73522 - grass/trunk/vector/v.in.ogr

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Oct 11 13:07:22 PDT 2018


Author: mmetz
Date: 2018-10-11 13:07:22 -0700 (Thu, 11 Oct 2018)
New Revision: 73522

Modified:
   grass/trunk/vector/v.in.ogr/main.c
Log:
v.in.ogr: disable default spatial filter based on extents reported by OGR

Modified: grass/trunk/vector/v.in.ogr/main.c
===================================================================
--- grass/trunk/vector/v.in.ogr/main.c	2018-10-11 19:56:13 UTC (rev 73521)
+++ grass/trunk/vector/v.in.ogr/main.c	2018-10-11 20:07:22 UTC (rev 73522)
@@ -2257,7 +2257,9 @@
 		    ymaxl[layer] = MIN(ymaxl[layer], *ymax);
 		}
 	    }
-	    have_filter = 1;
+	    /* disable spatial filter based on extents as reported by OGR
+	     * because these extents can be wrong */ 
+	    /* have_filter = 1; */
 	}
 	else if (*xmin <= *xmax && *ymin <= *ymax) {
 	    xminl[layer] = *xmin;



More information about the grass-commit mailing list