Martin, 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)? Markus On Thu, Mar 20, 2008 at 2:49 PM, Martin Landa <[EMAIL PROTECTED]> wrote: > Hi all, > > is there a way how to determine if a mapset is accessible without need > to switch 'g.mapset name' -> 'ERROR: You don't have permission to use > this mapset'. If not maybe new flag for g.mapsets would make sense? > > -a 'List all accessible mapsets' > > 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 > -- Open Source Geospatial Foundation http://www.osgeo.org/ http://www.grassbook.org/ _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
