Re: [GRASS-dev] [GRASS-SVN] r60703 - in grass/trunk: display/d.vect general/g.gisenv gui/wxpython/animation lib/python/temporal raster/r.colors raster/r.external raster/r.in.bin raster/r.mapcalc raste

2014-06-09 Thread Glynn Clements
Huidae Cho wrote: My implementation of the exclusive member, which you reverted, can handle all these cases, I think. But since you reverted it, I think you didn't agree with my interface or implementation? Not really. [I also wanted to be able to discuss this starting from a blank slate,

Re: [GRASS-dev] [GRASS-user] os.environ['GRASS_REGION'] Error

2014-06-09 Thread Javier Martínez-López
Hi Vaclav, I ended up manually creating temporary mapsets (in the last version of the example script) and it works fine now. I plan to use it for segmenting different regions in parallel. In any case the GridModule looks great! I will try it for a next version/script. Thank you and cheers,

Re: [GRASS-dev] i.topo.corr does not appear in the wxGUI menu

2014-06-09 Thread Vaclav Petras
On Mon, Jun 9, 2014 at 4:31 AM, Yann Chemin yche...@gmail.com wrote: Hi, For some reason i.topo.corr is not mapped to the menu or tree. It should appear in: Imagery=Satellite images tools= below i.atcorr entry It was not in toolboxes.xml [1], so I added it in r60768. Please note that cd

Re: [GRASS-dev] [GRASS-SVN] r60703 - in grass/trunk: display/d.vect general/g.gisenv gui/wxpython/animation lib/python/temporal raster/r.colors raster/r.external raster/r.in.bin raster/r.mapcalc raste

2014-06-09 Thread Huidae Cho
I somehow agree with you that my interface can be cryptic and requires some interpretation because information is spread out. I think we can define something like: // at most one option from a set void G_option_exclusive(const char *name, ...); // at least one option from

Re: [GRASS-dev] [GRASS-SVN] r60703 - in grass/trunk: display/d.vect general/g.gisenv gui/wxpython/animation lib/python/temporal raster/r.colors raster/r.external raster/r.in.bin raster/r.mapcalc raste

2014-06-09 Thread Huidae Cho
Maybe, we can use variadic macros in C99 to remove the first name argument. #define G_option_exclusive(...) G__option_exclusive(NULL, __VA_ARGS__) On Mon, Jun 9, 2014 at 10:54 AM, Huidae Cho gras...@gmail.com wrote: I somehow agree with you that my interface can be cryptic and requires some

Re: [GRASS-dev] [GRASS-SVN] r60703 - in grass/trunk: display/d.vect general/g.gisenv gui/wxpython/animation lib/python/temporal raster/r.colors raster/r.external raster/r.in.bin raster/r.mapcalc raste

2014-06-09 Thread Huidae Cho
Interesting, actually this works better I think. #define G_option_exclusive(...) G__option_exclusive(NULL, __VA_ARGS__, NULL) G_option_exclusive(opt1, opt2, flag1); // no need for the first name and last NULL arguments. On Mon, Jun 9, 2014 at 11:13 AM, Huidae Cho gras...@gmail.com wrote:

Re: [GRASS-dev] [GRASS-SVN] r60703 - in grass/trunk: display/d.vect general/g.gisenv gui/wxpython/animation lib/python/temporal raster/r.colors raster/r.external raster/r.in.bin raster/r.mapcalc raste

2014-06-09 Thread Vaclav Petras
On Mon, Jun 9, 2014 at 11:16 AM, Huidae Cho gras...@gmail.com wrote: Interesting, actually this works better I think. #define G_option_exclusive(...) G__option_exclusive(NULL, __VA_ARGS__, NULL) G_option_exclusive(opt1, opt2, flag1); // no need for the first name and last NULL arguments.

[GRASS-dev] [GRASS GIS] #2329: wishlist for some d.* modules and ps.map

2014-06-09 Thread GRASS GIS
#2329: wishlist for some d.* modules and ps.map -+-- Reporter: veroandreo | Owner: grass-dev@… Type: enhancement | Status: new Priority: normal | Milestone: