Markus, 2008/3/20, Markus Neteler <[EMAIL PROTECTED]>: > in libgis I see > /**************************************************************** > * G__mapset_permissions (mapset) > * > * returns: 1 mapset exists, and user has permission > * 0 mapset exists, BUT user denied permission > * -1 mapset does not exist > ****************************************************************/ > > could that help (in modified form)?
I need list of accessible mapsets for wxGUI welcome screen (currently 'g.mapsets -l' is used which prints all available mapsets). Modifying g.mapsets module to print only accessible mapsets would be pretty easy (aka new flag), BTW how TCL/TK checks if mapsets is accessible (I see that those mapsets are hidden in welcome screen)? Martin -- Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa * _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
