~ubuntu-branches/ubuntu/precise/grass/precise

« back to all changes in this revision

Viewing changes to vector/v.surf.idw/main.c

  • Committer: Bazaar Package Importer
  • Author(s): Francesco Paolo Lovergine
  • Date: 2011-04-13 17:08:41 UTC
  • mfrom: (8.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20110413170841-ss1t9bic0d0uq0gz
Tags: 6.4.1-1
* New upstream version.
* Now build-dep on libjpeg-dev and current libreadline6-dev.
* Removed patch swig: obsolete.
* Policy bumped to 3.9.2, without changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
 
91
91
    parm.output = G_define_standard_option(G_OPT_R_OUTPUT);
92
92
 
 
93
    parm.dfield = G_define_standard_option(G_OPT_V_FIELD);
 
94
    parm.dfield->description =
 
95
        _("If set to 0, z coordinates are used (3D vector only)");
 
96
    parm.dfield->answer = "1";
 
97
    parm.dfield->gisprompt = "old_layer,layer,layer_zero"; 
 
98
    parm.dfield->guisection = _("Values");
 
99
 
 
100
    parm.col = G_define_option();
 
101
    parm.col->key = "column";
 
102
    parm.col->type = TYPE_STRING;
 
103
    parm.col->required = NO;
 
104
    parm.col->label = _("Attribute table column with values to interpolate");
 
105
    parm.col->description = _("Required if layer > 0");
 
106
    parm.col->guisection = _("Values");
 
107
 
93
108
    parm.npoints = G_define_option();
94
109
    parm.npoints->key = "npoints";
95
110
    parm.npoints->key_desc = "count";
97
112
    parm.npoints->required = NO;
98
113
    parm.npoints->description = _("Number of interpolation points");
99
114
    parm.npoints->answer = "12";
 
115
    parm.npoints->guisection = _("Settings");
100
116
 
101
117
    parm.power = G_define_option();
102
118
    parm.power->key = "power";
104
120
    parm.power->answer = "2.0";
105
121
    parm.power->description = 
106
122
        _("Power parameter; greater values assign greater influence to closer points");
107
 
 
108
 
    parm.dfield = G_define_standard_option(G_OPT_V_FIELD);
109
 
    parm.dfield->description =
110
 
        _("If set to 0, z coordinates are used (3D vector only)");
111
 
    parm.dfield->answer = "1";
112
 
    parm.dfield->gisprompt = "old_layer,layer,layer_zero"; 
113
 
 
114
 
    parm.col = G_define_option();
115
 
    parm.col->key = "column";
116
 
    parm.col->type = TYPE_STRING;
117
 
    parm.col->required = NO;
118
 
    parm.col->label = _("Attribute table column with values to interpolate");
119
 
    parm.col->description = _("Required if layer > 0");
 
123
    parm.power->guisection = _("Settings");
120
124
 
121
125
    noindex = G_define_flag();
122
126
    noindex->key = 'n';
124
128
    noindex->description = _("Slower but uses"
125
129
                             " less memory and includes points from outside region"
126
130
                             " in the interpolation");
 
131
    noindex->guisection = _("Settings");
127
132
 
128
133
    if (G_parser(argc, argv))
129
134
        exit(EXIT_FAILURE);