[GRASS-SVN] r58391 - grass/trunk/vector/v.out.ogr
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Dec 5 10:28:40 PST 2013
Author: martinl
Date: 2013-12-05 10:28:40 -0800 (Thu, 05 Dec 2013)
New Revision: 58391
Modified:
grass/trunk/vector/v.out.ogr/main.c
Log:
v.out.ogr: clarify warning message about skipped features without category
Modified: grass/trunk/vector/v.out.ogr/main.c
===================================================================
--- grass/trunk/vector/v.out.ogr/main.c 2013-12-05 11:23:37 UTC (rev 58390)
+++ grass/trunk/vector/v.out.ogr/main.c 2013-12-05 18:28:40 UTC (rev 58391)
@@ -958,8 +958,9 @@
if (noatt > 0)
G_warning(_("%d features without attributes were written"), noatt);
if (nocatskip > 0)
- G_message(_("%d features found without category were skipped"),
- nocatskip);
+ G_warning(_("%d features without category were skipped. "
+ "Features without category are written only when -%c flag is given."),
+ nocatskip, flags.cat->key);
/* Enable this? May be confusing that for area type are not reported
* all boundaries/centroids.
@@ -969,6 +970,8 @@
G_warning ("%d features of different type skip", fskip);
*/
+ if (fout < 1)
+ G_warning(_("Output layer is empty, no features written"));
G_done_msg(_("%d features (%s type) written to <%s> (%s format)."), fout,
OGRGeometryTypeToName(wkbtype),
options.layer->answer, options.format->answer);
More information about the grass-commit
mailing list