[GRASS-SVN] r51197 - grass/trunk/vector/v.info
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Mar 30 08:56:38 EDT 2012
Author: martinl
Date: 2012-03-30 05:56:37 -0700 (Fri, 30 Mar 2012)
New Revision: 51197
Modified:
grass/trunk/vector/v.info/print.c
Log:
v.info: sync format (OGR/PostGIS) for external data
Modified: grass/trunk/vector/v.info/print.c
===================================================================
--- grass/trunk/vector/v.info/print.c 2012-03-30 12:10:25 UTC (rev 51196)
+++ grass/trunk/vector/v.info/print.c 2012-03-30 12:56:37 UTC (rev 51197)
@@ -228,8 +228,8 @@
}
else if (map_type == GV_FORMAT_POSTGIS) {
- fprintf(stdout, "format=%s\n",
- Vect_maptype_info(Map));
+ fprintf(stdout, "format=%s,%s\n",
+ Vect_maptype_info(Map), Vect_get_finfo_format_info(Map));
fprintf(stdout, "pg_table=%s\n",
Vect_get_finfo_layer_name(Map));
fprintf(stdout, "pg_dbname=%s\n",
@@ -351,8 +351,8 @@
printline(line);
}
else if (map_type == GV_FORMAT_POSTGIS) {
- sprintf(line, "%-17s%s", _("Map format:"),
- Vect_maptype_info(Map));
+ sprintf(line, "%-17s%s (%s)", _("Map format:"),
+ Vect_maptype_info(Map), Vect_get_finfo_format_info(Map));
printline(line);
/* for PostGIS format print also datasource and layer */
More information about the grass-commit
mailing list