[GRASS-SVN] r56221 - grass/trunk/lib/gis
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun May 12 10:08:54 PDT 2013
Author: martinl
Date: 2013-05-12 10:08:54 -0700 (Sun, 12 May 2013)
New Revision: 56221
Modified:
grass/trunk/lib/gis/parser_standard_options.c
Log:
libgis: define descriptions for G_OPT_R_INTERP_TYPE
Modified: grass/trunk/lib/gis/parser_standard_options.c
===================================================================
--- grass/trunk/lib/gis/parser_standard_options.c 2013-05-12 15:46:41 UTC (rev 56220)
+++ grass/trunk/lib/gis/parser_standard_options.c 2013-05-12 17:08:54 UTC (rev 56221)
@@ -307,8 +307,13 @@
Opt->key = "method";
Opt->type = TYPE_STRING;
Opt->required = NO;
- Opt->description = _("Interpolation method");
+ Opt->description = _("Sampling interpolation method");
Opt->options = "nearest,bilinear,bicubic";
+ G_asprintf((char **) &(Opt->descriptions),
+ "nearest;%s;bilinear;%s;bicubic;%s",
+ _("Nearest-neighbor interpolation"),
+ _("Bilinear interpolation"),
+ _("Bicubic interpolation"));
break;
/*g3d maps */
More information about the grass-commit
mailing list