[GRASS-SVN] r54216 - grass/trunk/vector/v.in.ogr

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Dec 6 02:57:19 PST 2012


Author: martinl
Date: 2012-12-06 02:57:18 -0800 (Thu, 06 Dec 2012)
New Revision: 54216

Modified:
   grass/trunk/vector/v.in.ogr/main.c
Log:
v.in.ogr -l: report only layer name (same for `v.external -l`)


Modified: grass/trunk/vector/v.in.ogr/main.c
===================================================================
--- grass/trunk/vector/v.in.ogr/main.c	2012-12-06 08:42:12 UTC (rev 54215)
+++ grass/trunk/vector/v.in.ogr/main.c	2012-12-06 10:57:18 UTC (rev 54216)
@@ -350,8 +350,7 @@
 	    G_store((char *)OGR_FD_GetName(Ogr_featuredefn));
 
 	if (flag.list->answer)
-	    fprintf(stdout, "%s (%s)\n", available_layer_names[i], 
-		    OGRGeometryTypeToName(Ogr_geom_type));
+	    fprintf(stdout, "%s\n", available_layer_names[i]);
     }
     if (flag.list->answer) {
 	fflush(stdout);



More information about the grass-commit mailing list