Dears,
is it possible to define an exclusive rule between the 'overwrite' flag
and any other custom flag, in a GRASS GIS script?
The following is, of course, not possible:
#%rules
#% exclusive: --o, -s
#%end
Thank you, Nikos
Dears,
is it possible to define an exclusive rule between the 'overwrite' flag
and any other custom flag, in a GRASS GIS script?
The following is, of course, not possible:
#%rules
#% exclusive: --o, -s
#%end
Thank you, Nikos
Nikos,
I don’t think that’s possible. parser_dependencies.c only supports user-defined options and flags, but you can use grass.overwrite() to implement your own rules.
Thanks,
Huidae
Huidae Cho, Ph.D., GISP, PE (MD), CFM, M.ASCE
Open Source GIS Developer, GRASS GIS Development Team
Thank you Huidae,
I recall now that I might have had asked this again :-/
Nikos
* Huidae Cho <grass4u@gmail.com> [2018-12-13 13:51:34 -0500]:
Nikos,
I don't think that's possible. parser_dependencies.c only supports
user-defined options and flags, but you can use grass.overwrite() to
implement your own rules.Thanks,
HuidaeOn Thu, Dec 13, 2018 at 8:56 AM Nikos Alexandris <nik@nikosalexandris.net>
wrote:Dears,
is it possible to define an exclusive rule between the 'overwrite' flag
and any other custom flag, in a GRASS GIS script?The following is, of course, not possible:
#%rules
#% exclusive: --o, -s
#%endThank you, Nikos