[GRASS-SVN] r39537 - grass/trunk/lib/vector/Vlib

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Oct 17 06:10:37 EDT 2009


Author: martinl
Date: 2009-10-17 06:10:36 -0400 (Sat, 17 Oct 2009)
New Revision: 39537

Modified:
   grass/trunk/lib/vector/Vlib/open.c
Log:
don't build topology for OGR layer on requested level 1


Modified: grass/trunk/lib/vector/Vlib/open.c
===================================================================
--- grass/trunk/lib/vector/Vlib/open.c	2009-10-17 08:35:11 UTC (rev 39536)
+++ grass/trunk/lib/vector/Vlib/open.c	2009-10-17 10:10:36 UTC (rev 39537)
@@ -364,7 +364,7 @@
 	    fatal_error(ferror, errmsg);
 	    return -1;
 	}
-	if (ogr_mapset && !head_only) {
+	if (ogr_mapset && !head_only && level_request != 1) {
 	    /* build pseudo-topology on the fly */
 	    int verbose;
 	    verbose = G_verbose();



More information about the grass-commit mailing list