[GRASSLIST:7713] Re: g.mapset OR g.gisenv (GUI wishlist discussion)

Glynn Clements glynn at gclements.plus.com
Tue Jul 26 03:54:05 EDT 2005


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).

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-user mailing list