[GRASS-dev] G7: how to get rid of multiple listing of identical map names?

Markus Neteler neteler at osgeo.org
Sun Jun 22 00:25:41 PDT 2014


On Sun, Jun 22, 2014 at 5:16 AM, Huidae Cho <grass4u at gmail.com> wrote:
> Hi Markus,
>
> That was r60261. It just suppresses the warnings.

I see, so G_find_raster2() calls G_find_file2() calls find_file() in
lib/gis/find_file.c

> IMHO, those found in
> multiple mapsets warnings are very noisy and unnecessary.

Yes, definitely. And it is a "new" issue in GRASS 7, same use cases
behave properly in GRASS 6.

> Sometimes it
> prints exactly the same messages multiple times and sometimes breaks
> outputs. I think it's better to not print the warnings by default and print
> them based on an argument or something, if we really need them.

Should r60261 better be fixed in
lib/gis/find_file.c

?

Best
Markus


More information about the grass-dev mailing list