[GRASS-dev] r.in.gdal and "group"
Kirk Wythers
kwythers at gmail.com
Tue Oct 16 11:01:25 EDT 2007
On 10/16/07, Markus Neteler <neteler at itc.it> wrote:
> Forgot to mention that this is a good thing:
> We add macros there (they are now almost complete) to
> facilitate the programming of the parser interface. Eg.:
>
> input = G_define_option();
> input->key = "input";
> input->type = TYPE_STRING;
> input->required = YES;
> input->multiple = NO;
> input->gisprompt = "old,dig,vector";
> input->description = "vector input file";
>
> was simplified to
>
> input = G_define_standard_option(G_OPT_V_INPUT);
>
> (as defined in lib/gis/parser.c).
>
> Additional positive side effects:
> - standardized wording
> - messages translated to other languages in one place only
>
> Only, which each change in lib/gis/parser.c, a full recompilation
> after "make distclean" is needed to avoid shifted parameters
> as you have seen.
>
> Hope this clarifies it.
>
> Markus
Yes that does make sense. Thanks for the explanation. I did not
realize that shifted paramteres carried over onto the html pages as
well. The rebuild is done and all is as it was... my scripts are
working again. Thanks.
Kirk
More information about the grass-dev
mailing list