[GRASS-SVN] r41479 - grass/trunk/vector/v.info
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Mar 19 12:11:02 EDT 2010
Author: neteler
Date: 2010-03-19 12:11:02 -0400 (Fri, 19 Mar 2010)
New Revision: 41479
Modified:
grass/trunk/vector/v.info/main.c
Log:
show points with -l -t
Modified: grass/trunk/vector/v.info/main.c
===================================================================
--- grass/trunk/vector/v.info/main.c 2010-03-19 16:07:42 UTC (rev 41478)
+++ grass/trunk/vector/v.info/main.c 2010-03-19 16:11:02 UTC (rev 41479)
@@ -46,9 +46,10 @@
if (level1_flag) {
Vect_set_open_level(1); /* no topology */
- if (topo_flag)
+ if (topo_flag && Vect_get_num_primitives(&Map, GV_POINT) == 0){
G_warning(_("Vector map requested on level 1 (flag -t ignored)"));
- topo_flag = 0;
+ topo_flag = 0;
+ }
}
if (!level1_flag) {
More information about the grass-commit
mailing list