Pārlūkot izejas kodu

v.to.rast: add support for centroids

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@72458 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 7 gadi atpakaļ
vecāks
revīzija
16177445df
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      vector/v.to.rast/main.c

+ 2 - 2
vector/v.to.rast/main.c

@@ -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 @@ int main(int argc, char *argv[])
     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");