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

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Apr 17 02:34:31 PDT 2013


Author: martinl
Date: 2013-04-17 02:34:31 -0700 (Wed, 17 Apr 2013)
New Revision: 55847

Modified:
   grass/trunk/lib/vector/Vlib/copy.c
Log:
vlib(pg): copy features (set constraint type when determine feature type)


Modified: grass/trunk/lib/vector/Vlib/copy.c
===================================================================
--- grass/trunk/lib/vector/Vlib/copy.c	2013-04-17 09:33:44 UTC (rev 55846)
+++ grass/trunk/lib/vector/Vlib/copy.c	2013-04-17 09:34:31 UTC (rev 55847)
@@ -94,7 +94,8 @@
         if (!(type & (GV_POINTS | GV_LINES)))
             G_fatal_error(_("Unsupported feature type %d"), type);
             
-         /* create feature table with given feature type */
+        /* create feature table with given feature type */
+        Vect_set_constraint_type(In, GV_POINT | GV_LINES);
         Vect_write_line(Out, type, NULL, NULL);
     }
   



More information about the grass-commit mailing list