[GRASS-SVN] r51957 - grass/trunk/vector/v.info
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Jun 3 09:36:56 PDT 2012
Author: martinl
Date: 2012-06-03 09:36:55 -0700 (Sun, 03 Jun 2012)
New Revision: 51957
Modified:
grass/trunk/vector/v.info/print.c
Log:
v.info: print geometry column for PG-links
Modified: grass/trunk/vector/v.info/print.c
===================================================================
--- grass/trunk/vector/v.info/print.c 2012-06-03 16:36:19 UTC (rev 51956)
+++ grass/trunk/vector/v.info/print.c 2012-06-03 16:36:55 UTC (rev 51957)
@@ -234,6 +234,8 @@
Vect_get_finfo_layer_name(Map));
fprintf(stdout, "pg_dbname=%s\n",
Vect_get_finfo_dsn_name(Map));
+ fprintf(stdout, "geometry_column=%s\n",
+ Vect_get_finfo_geometry_column(Map));
fprintf(stdout, "feature_type=%s\n",
Vect_get_finfo_geometry_type(Map));
}
@@ -362,6 +364,10 @@
sprintf(line, "%-17s%s", _("DB name:"),
Vect_get_finfo_dsn_name(Map));
printline(line);
+ sprintf(line, "%-17s%s", _("Geometry column:"),
+ Vect_get_finfo_geometry_column(Map));
+ printline(line);
+
sprintf(line, "%-17s%s", _("Feature type:"),
Vect_get_finfo_geometry_type(Map));
printline(line);
More information about the grass-commit
mailing list