[GRASS-SVN] r38998 - grass/branches/develbranch_6/vector/v.out.ogr

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Sep 5 13:35:52 EDT 2009


Author: benducke
Date: 2009-09-05 13:35:52 -0400 (Sat, 05 Sep 2009)
New Revision: 38998

Modified:
   grass/branches/develbranch_6/vector/v.out.ogr/main.c
Log:
Fixed export of centroids only.
Added support for exporting kernels (as 3D points).
Added a stub for future volumes support (not visible to user yet).

Modified: grass/branches/develbranch_6/vector/v.out.ogr/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.out.ogr/main.c	2009-09-05 17:28:35 UTC (rev 38997)
+++ grass/branches/develbranch_6/vector/v.out.ogr/main.c	2009-09-05 17:35:52 UTC (rev 38998)
@@ -90,8 +90,7 @@
 
     in_opt = G_define_standard_option(G_OPT_V_INPUT);
 
-    type_opt = G_define_standard_option(G_OPT_V_TYPE);
-    type_opt->options = "point,kernel,centroid,line,boundary,area,face";
+    type_opt = G_define_standard_option(G_OPT_V3_TYPE);
     type_opt->answer = "line,boundary";
     type_opt->description =
 	_("Feature type. Combination of types is not supported "



More information about the grass-commit mailing list