[GRASS-SVN] r58298 - grass/trunk/vector/v.out.postgis

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Nov 25 02:05:32 PST 2013


Author: martinl
Date: 2013-11-25 02:05:31 -0800 (Mon, 25 Nov 2013)
New Revision: 58298

Modified:
   grass/trunk/vector/v.out.postgis/main.c
Log:
v.out.postgis: build from scratch, fix message

Modified: grass/trunk/vector/v.out.postgis/main.c
===================================================================
--- grass/trunk/vector/v.out.postgis/main.c	2013-11-24 21:01:05 UTC (rev 58297)
+++ grass/trunk/vector/v.out.postgis/main.c	2013-11-25 10:05:31 UTC (rev 58298)
@@ -154,6 +154,7 @@
     Vect_close(&In);
 
     /* build topology for output map */
+    Vect_build_partial(&Out, GV_BUILD_NONE);
     if (Vect_build(&Out) != 1)
         G_fatal_error(_("Building %s topology failed"),
                       flags.topo->answer ? "PostGIS" : "pseudo");
@@ -168,7 +169,7 @@
                    Vect_get_name(&Out));
     else
         G_done_msg(_("%d primitives written to <%s>."),
-                   Vect_get_num_lines(&Out), Vect_get_finfo_geometry_type(&Out),
+                   Vect_get_num_lines(&Out), 
                    Vect_get_name(&Out));
     
     /* close output map */



More information about the grass-commit mailing list