[GRASS-dev] g.mapset calling D_erase() ?
Ivan Shmakov
ivan at theory.asu.ru
Thu Feb 7 22:32:48 EST 2008
>>>>> Hamish <hamish_b at yahoo.com> writes:
> Hi, g.mapset calls D_erase(), should it?
My opinion is that it shouldn't.
I'd say that to ease both the maintenance and learning of GRASS
the modules should have as less side effects as possible.
> Obviously the display will be stale after changing the mapset, but
> for me a typical use is to drop into the PERMANENT mapset for a
> minute to adjust something (say g.region -s or g.setproj), then back
> to my normal session.
> any thoughts? Should g.mapset be like a soft-reboot of the GIS or a
> simple call to g.gisenv? Is it worth it to add a flag to g.mapset to
> skip the D_erase()?
Since this behaviour isn't probably relied upon, I think it
isn't necessary.
> I guess it's a similar issue to GRASS 5 leaving xmons open after the
> main program quits.
> ?, Hamish
More information about the grass-dev
mailing list