[GRASSLIST:7715] Re: g.mapset OR g.gisenv (GUI wishlist discussion)
Michael Barton
michael.barton at asu.edu
Tue Jul 26 02:18:21 EDT 2005
Glynn,
This is indeed the best way for this to work. If we could get a browse
function that could recognize directories, it would also be useful elsewhere
(e.g. V.in.ogr).
Michael
On 7/26/05 12:54 AM, "Glynn Clements" <glynn at gclements.plus.com> wrote:
>
> Michael Barton wrote:
>
>> You need to know the name of the database, location, and/or mapset you want
>> to move to. No browse buttons at the moment, but as Glynn says they could be
>> added to the GUI with some programming.
>
> More precisely, g.mapset could be made to enumerate the legal values
> for location/mapset, in which case the GUI would automatically show a
> combo box rather than a text field.
>
> However:
>
> 1. You can't enumerate the set of possible database directories. You
> might be able to specify it as type "file", in which case a "browse"
> button would appear which opens a file selection dialog. However, I
> don't know if this works with directories at present; if it doesn't,
> it shouldn't be a great deal of work to change it.
>
> 2. It would only be practical to enumerate the locations for the
> current database directory, and the mapsets for the current location.
> If you wanted to change all three, you would have to do it one step at
> a time (change database, change location within the new database,
> change mapset within the new location).
____________________
C. Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
PO Box 872402
Arizona State University
Tempe, AZ 85287-2402
USA
Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>
More information about the grass-user
mailing list