[GRASS-SVN] r61074 - grass/trunk/general/g.region

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jun 30 05:50:29 PDT 2014


Author: hcho
Date: 2014-06-30 05:50:28 -0700 (Mon, 30 Jun 2014)
New Revision: 61074

Modified:
   grass/trunk/general/g.region/main.c
Log:
g.region: Read vector header only for performance improvement

Modified: grass/trunk/general/g.region/main.c
===================================================================
--- grass/trunk/general/g.region/main.c	2014-06-30 12:48:13 UTC (rev 61073)
+++ grass/trunk/general/g.region/main.c	2014-06-30 12:50:28 UTC (rev 61074)
@@ -510,7 +510,7 @@
 	    temp_window = window;
 
 	    Vect_set_open_level(2);
-	    if (2 > Vect_open_old(&Map, vect_name, mapset))
+	    if (2 > Vect_open_old_head(&Map, vect_name, mapset))
 		G_fatal_error(_("Unable to open vector map <%s> on topological level"),
 			      vect_name);
             



More information about the grass-commit mailing list