[GRASS-dev] what does -a in i.rectify do?
Maciej Sieczka
tutey at o2.pl
Mon Jul 7 08:44:10 EDT 2008
Markus Neteler pisze:
> On Sat, Jul 5, 2008 at 7:43 PM, Maciej Sieczka <tutey at o2.pl> wrote:
>> I'm trying to cleanup i.rectify manual. I don't see any difference
>> between -a (Rectify all images in group) set and not set - in either
>> case all raster maps in the group are rectified. Is this a bug or am I
>> missing something?
> Not sure... in the code there is :
> ifile = G_define_standard_option(G_OPT_R_INPUT);
> ifile->required = NO;
> ...
> if (!ifile->answers)
> a->answer = 1; /* force all */
>
> /* Find out how files on command line */
> if (!a->answer) {
> for (m = 0; ifile->answers[m]; m++) {
> k = m;
> }
> k++;
> }
>
Getting back to this - anybody knows what's the difference between -a
set and not set?
Maciek
--
Maciej Sieczka
www.sieczka.org
More information about the grass-dev
mailing list