[GRASS5] GIS Manager update for testing

IR17;ve finished a fairly major update to the GIS Manager. I’d appreciate it if some of you could test it before I commit it to the CVS.

It is evolutionary rather than revolutionary. But it still has a number of new features that I hope will continue to make the many functions of GRASS more accessible. I’ve posted it to my website at

http://www.public.asu.edu/~cmbarton/files/grass_gismgr/

The file is GIS_manager050909.tgz

It includes a replacement $GISBASE/etc/dm directory with all files and a new script, d.out.file, for the $GISBASE/scripts directory.

Features of the GIS Manager update include a major display functions are now GIS Manager layers with options panels. This makes them much easier to manipulate AND to save in workspaces. All options panels now have integrated help buttons. I also added a print to default printer via lpr in the file menu.

Getting rid of the display menu led to a little rearrangement of the menu structure. Several items have moved to file: primarily gis file management functions (this was a suggestion a long time back). The GIS menu (which some people didn’t like) has changed to a configuration menu. Slope arrows in raster cells moved to raster/terrain and histograms moved to image/reports and stats.

The GIS Manager is somewhat more compact, with a new arrangement of functions: monitor control down the left side, general display controls and tools on the top toolbar and layers on bottom toolbar. I’ve also added color. Grey is OK for the eyes, but grey on grey is hard to see and pretty dull. Grass is green, so the GIS Manager is green.

Let me know what works and what doesn’t. I’ve tested it a lot, but probably missed something.

Enjoy!
Michael


Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
Arizona State University
Tempe, AZ 85287-2402

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael,

Congrats for all this work !

Here my first impressions (no particluar order, just typing as I'm
testing):

- - Don't know if I'm a big fan of the green :wink: Would be nice to
leave choice to user... But in no ways a priority !

- - Little type on line 279 of thematic.tcl: 'wehre' instead of 'where'.

- - The command line created by the vector panel does not take into
account the line width setting.

- - I don't find the grass icon as a help button very clear. Maybe
just a question mark, or a combination (fat question mark on top of
grass icon) would be better. Also, by placing it next to the text
field for map name input, it is not clear that this is the help
button for the entire module.

- - placing a barscale with a mouse, clicking on the right mouse
button to confirm the location, I get the following error and the
rest of the group elements are not drawn:

child process exited abnormally
child process exited abnormally
    while executing
"exec -- d.barscale tcolor=0:0:0 bcolor=255:255:255 at=2,2 -m >@
stdout 2>@ stderr"
    ("eval" body line 1)
[...]

- - I would rename the File->Manage 2D and 3D maps to simply 'Manage
maps'.

- - I don't find File->Workspace/group very clear. Maybe just
File->Groups (or Map groups) would be clearer ?

Ok, don't have more time at the moment.

But this is a great improvement. Thanks !

Moritz

Michael Barton wrote:

IR17;ve finished a fairly major update to the GIS Manager. I’d
appreciate it if some of you could test it before I commit it to the CVS.

It is evolutionary rather than revolutionary. But it still has a number
of new features that I hope will continue to make the many functions of
GRASS more accessible. I’ve posted it to my website at

<http://www.public.asu.edu/~cmbarton/files/grass_gismgr/&gt;

The file is GIS_manager050909.tgz

It includes a replacement $GISBASE/etc/dm directory with all files and a
new script, d.out.file, for the $GISBASE/scripts directory.

Features of the GIS Manager update include a major display functions are
now GIS Manager layers with options panels. This makes them much easier
to manipulate AND to save in workspaces. All options panels now have
integrated help buttons. I also added a print to default printer via lpr
in the file menu.

Getting rid of the display menu led to a little rearrangement of the
menu structure. Several items have moved to file: primarily gis file
management functions (this was a suggestion a long time back). The GIS
menu (which some people didn’t like) has changed to a configuration
menu. Slope arrows in raster cells moved to raster/terrain and
histograms moved to image/reports and stats.

The GIS Manager is somewhat more compact, with a new arrangement of
functions: monitor control down the left side, general display controls
and tools on the top toolbar and layers on bottom toolbar. I’ve also
added color. Grey is OK for the eyes, but grey on grey is hard to see
and pretty dull. Grass is green, so the GIS Manager is green.

Let me know what works and what doesn’t. I’ve tested it a lot, but
probably missed something.

Enjoy!
Michael

____________
Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
Arizona State University
Tempe, AZ 85287-2402

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDIWsSrIrMbm76jD8RAlG7AJ461K9epwY/zpCe3UblAgm1qRz1qgCfZhTy
yScHSvr4uL7Xw4LcPULraUQ=
=AEa+
-----END PGP SIGNATURE-----

Moritz,

Thanks very much for the quick look. I've fixed the bugs and resubmitted it
to my website. See below for details.

The updated file is

<http://www.public.asu.edu/~cmbarton/files/grass_gismgr/GIS_manager050909b.t
gz>

Michael
______________________________
Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
Arizona State University
Tempe, AZ 85287-2402
USA

voice: 480-965-6262; fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

- - Don't know if I'm a big fan of the green :wink: Would be nice to
leave choice to user... But in no ways a priority !

It would be nice if someone (maybe me sometime, but not now) could write an
interface to let users customize the GIS Manager a bit (color, font, etc).
It could work kind of like the little window for setting the mapset search
path.

- - Little type on line 279 of thematic.tcl: 'wehre' instead of 'where'.

fixed

- - The command line created by the vector panel does not take into
account the line width setting.

fixed (I'd rem'ed it out because I don't have the new version of d.vect and
it crashed the dm. However, I've worked out how to make it functional and
not cause a problem on systems that don't have the new d.vect)

- - I don't find the grass icon as a help button very clear. Maybe
just a question mark, or a combination (fat question mark on top of
grass icon) would be better. Also, by placing it next to the text
field for map name input, it is not clear that this is the help
button for the entire module.

Points well taken. Though people can quickly get used to a distinctive icon
such as grass button=help.

I'd originally planned a question mark, but that has a considerable history
for use as a query button from the first GRASS 5.1 display manager. Would it
be confusing to use it as a help button too? A semi transparent question
mark over the GRASS icon might work if someone artistically inclined can
make the gif for it.

I'd prefer to have the button always in the upper right corner of the panel,
but I don't know how to specify placement in that way in tcltk. If anyone
can help with this...

- - placing a barscale with a mouse, clicking on the right mouse
button to confirm the location, I get the following error and the
rest of the group elements are not drawn:

child process exited abnormally
child process exited abnormally
    while executing
"exec -- d.barscale tcolor=0:0:0 bcolor=255:255:255 at=2,2 -m >@
stdout 2>@ stderr"
    ("eval" body line 1)
[...]

This is a problem with d.barscale. Other modules with mouse placement
options don't seem to have this problem. My work around is to tell you to
put it last (so the error doesn't matter) if you want to use a mouse. It is
a minor bug that needs to be fixed in the c-module I think (unless there is
someway to trap this and go on via tcltk).

An even better idea (for all mouse placement options) would be to somehow
capture the coordinates of the mouse click and automatically fill in the
coordinate field for each panel. How to do it???

- - I would rename the File->Manage 2D and 3D maps to simply 'Manage
maps'.

Done

- - I don't find File->Workspace/group very clear. Maybe just
File->Groups (or Map groups) would be clearer ?

Done. I like workspaces as I find them more descriptive, but groups is what
they are called in GRASS, so I'll just go with it.

Ok, don't have more time at the moment.

But this is a great improvement. Thanks !

Moritz

Michael Barton wrote:

IR17;ve finished a fairly major update to the GIS Manager. I¹d
appreciate it if some of you could test it before I commit it to the CVS.

It is evolutionary rather than revolutionary. But it still has a number
of new features that I hope will continue to make the many functions of
GRASS more accessible. I¹ve posted it to my website at

<http://www.public.asu.edu/~cmbarton/files/grass_gismgr/&gt;

The file is GIS_manager050909.tgz

It includes a replacement $GISBASE/etc/dm directory with all files and a
new script, d.out.file, for the $GISBASE/scripts directory.

Features of the GIS Manager update include a major display functions are
now GIS Manager layers with options panels. This makes them much easier
to manipulate AND to save in workspaces. All options panels now have
integrated help buttons. I also added a print to default printer via lpr
in the file menu.

Getting rid of the display menu led to a little rearrangement of the
menu structure. Several items have moved to file: primarily gis file
management functions (this was a suggestion a long time back). The GIS
menu (which some people didn¹t like) has changed to a configuration
menu. Slope arrows in raster cells moved to raster/terrain and
histograms moved to image/reports and stats.

The GIS Manager is somewhat more compact, with a new arrangement of
functions: monitor control down the left side, general display controls
and tools on the top toolbar and layers on bottom toolbar. I¹ve also
added color. Grey is OK for the eyes, but grey on grey is hard to see
and pretty dull. Grass is green, so the GIS Manager is green.

Let me know what works and what doesn¹t. I¹ve tested it a lot, but
probably missed something.

Enjoy!
Michael

____________
Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
Arizona State University
Tempe, AZ 85287-2402

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDIWsSrIrMbm76jD8RAlG7AJ461K9epwY/zpCe3UblAgm1qRz1qgCfZhTy
yScHSvr4uL7Xw4LcPULraUQ=
=AEa+
-----END PGP SIGNATURE-----

Hello Michael,

On Fri, 09 Sep 2005 01:21:27 -0700 Michael Barton
<michael.barton@asu.edu> wrote:

I¹ve finished a fairly major update to the GIS Manager. I¹d
appreciate it if some of you could test it before I commit it to the
CVS.

It is evolutionary rather than revolutionary. But it still has a
number of new features that I hope will continue to make the many
functions of GRASS more accessible. I¹ve posted it to my website at

<http://www.public.asu.edu/~cmbarton/files/grass_gismgr/&gt;

The file is GIS_manager050909.tgz

It includes a replacement $GISBASE/etc/dm directory with all files
and a new script, d.out.file, for the $GISBASE/scripts directory.

Features of the GIS Manager update include a major display functions
are now GIS Manager layers with options panels. This makes them much
easier to manipulate AND to save in workspaces. All options panels
now have integrated help buttons. I also added a print to default
printer via lpr in the file menu.

Getting rid of the display menu led to a little rearrangement of the
menu structure. Several items have moved to file: primarily gis file
management functions (this was a suggestion a long time back). The
GIS menu (which some people didn¹t like) has changed to a
configuration menu. Slope arrows in raster cells moved to
raster/terrain and histograms moved to image/reports and stats.

The GIS Manager is somewhat more compact, with a new arrangement of
functions: monitor control down the left side, general display
controls and tools on the top toolbar and layers on bottom toolbar.
I¹ve also added color. Grey is OK for the eyes, but grey on grey is
hard to see and pretty dull. Grass is green, so the GIS Manager is
green.

Let me know what works and what doesn¹t. I¹ve tested it a lot, but
probably missed something.

Thanks for the improvements.

I have (probably) found a small bug in the digitize-button. When I
select a vector-layer and hit the digitize-button, GRASS complains
about no existing topology. When I try v.digit <vectorlayer> from the
commandline, everything is working as expected.

Does anybody have the same experience?

Best
  Stephan

--
GDF Hannover - Solutions for spatial data analysis and remote sensing
Hannover Office - Mengendamm 16d - D-30177 Hannover
Internet: www.gdf-hannover.de - Email: holl@gdf-hannover.de
Phone : ++49-(0)511.39088507 - Fax: ++49-(0)511.39088508