[GRASS-SVN] r47696 - grass/trunk/vector/v.external
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Aug 17 08:36:08 EDT 2011
Author: martinl
Date: 2011-08-17 05:36:08 -0700 (Wed, 17 Aug 2011)
New Revision: 47696
Modified:
grass/trunk/vector/v.external/list.c
Log:
v.external: message cosmetics
Modified: grass/trunk/vector/v.external/list.c
===================================================================
--- grass/trunk/vector/v.external/list.c 2011-08-17 12:30:27 UTC (rev 47695)
+++ grass/trunk/vector/v.external/list.c 2011-08-17 12:36:08 UTC (rev 47696)
@@ -10,10 +10,10 @@
OGRSFDriverH Ogr_driver;
- G_message(_("Supported formats:"));
+ G_message(_("Supported OGR formats for reading:"));
for (i = 0; i < OGRGetDriverCount(); i++) {
Ogr_driver = OGRGetDriver(i);
- fprintf(fd, " %s\n", OGR_Dr_GetName(Ogr_driver));
+ fprintf(fd, "%s\n", OGR_Dr_GetName(Ogr_driver));
}
}
@@ -40,7 +40,8 @@
nlayers = OGR_DS_GetLayerCount(Ogr_ds);
if (fd)
- G_message(_("Data source contains %d layers:"), nlayers);
+ G_message(_("Data source <%s> (format '%s') contains %d layers:"),
+ dsn, OGR_Dr_GetName(OGR_DS_GetDriver(Ogr_ds)), nlayers);
for (i = 0; i < nlayers; i++) {
Ogr_layer = OGR_DS_GetLayer(Ogr_ds, i);
More information about the grass-commit
mailing list