浏览代码

v.out.postgis: cosmetics in done message

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@56373 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 12 年之前
父节点
当前提交
c81e08cba3
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      vector/v.out.postgis/main.c

+ 3 - 2
vector/v.out.postgis/main.c

@@ -147,8 +147,9 @@ int main(int argc, char *argv[])
         G_fatal_error(_("Building %s topology failed"),
         G_fatal_error(_("Building %s topology failed"),
                       flags.topo->answer ? "PostGIS" : "pseudo");
                       flags.topo->answer ? "PostGIS" : "pseudo");
 
 
-    G_done_msg(_("Feature table <%s> created in database <%s>."),
-               Vect_get_finfo_layer_name(&Out), Vect_get_finfo_dsn_name(&Out));
+    G_done_msg(_("%d features (%s) written to <%s>."),
+               Vect_get_num_lines(&Out), Vect_get_finfo_geometry_type(&Out),
+               Vect_get_name(&Out));
     
     
     /* close output map */
     /* close output map */
     Vect_close(&Out);
     Vect_close(&Out);