[GRASS-SVN] r72458 - grass/trunk/vector/v.to.rast
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Mar 21 02:54:29 PDT 2018
Author: martinl
Date: 2018-03-21 02:54:29 -0700 (Wed, 21 Mar 2018)
New Revision: 72458
Modified:
grass/trunk/vector/v.to.rast/main.c
Log:
v.to.rast: add support for centroids
Modified: grass/trunk/vector/v.to.rast/main.c
===================================================================
--- grass/trunk/vector/v.to.rast/main.c 2018-03-21 09:03:10 UTC (rev 72457)
+++ grass/trunk/vector/v.to.rast/main.c 2018-03-21 09:54:29 UTC (rev 72458)
@@ -10,7 +10,7 @@
* OGR support by Martin Landa <landa.martin gmail.com>
* Markus Metz (labelcol, cats, where options)
* PURPOSE: Converts vector map to raster map
- * COPYRIGHT: (C) 2003-2012 by the GRASS Development Team
+ * COPYRIGHT: (C) 2003-2018 by the GRASS Development Team
*
* This program is free software under the GNU General Public
* License (>=v2). Read the file COPYING that comes with GRASS
@@ -52,7 +52,7 @@
field_opt = G_define_standard_option(G_OPT_V_FIELD);
type_opt = G_define_standard_option(G_OPT_V_TYPE);
- type_opt->options = "point,line,boundary,area";
+ type_opt->options = "point,line,boundary,centroid,area";
type_opt->answer = "point,line,area";
type_opt->guisection = _("Selection");
More information about the grass-commit
mailing list