[GRASS-dev] What should d.erase do in the main wxGUI?

Hi,

in GRASS 7, the d.erase command is not supported in the main GUI.

For d.mon wx0 d.erase removes all rasters and shows the backgroud. d.erase bgcolor is ignored.

For d.mon png d.erase uses bgcolor as expected.

For the main GUI, the question is if the Layers in Layer Manager should be removed or just unchecked. I’m for removing them.

The second question is if the background should be changed. The same applies to d.mon wx0. The settings of background color in GUI is done differently but perhaps d.erase can change the color temporary (I’m not sure how hard this would be to implement).

Is there something else what d.erase is doing? I got the impression that it zooms to computational region but manual page is silent about it.

Vaclav

Vasek,

the main reason we have d.erase in the assignments and in the book is for zooming to computational region,
including changing the resolution

# for d.erase: Zoom to computational region and switch off previous map layers

the manual page does not say it, probably because it was implied.
If possible it may be useful to have the zoom to region as a flag?
d.erase would just switch off the layers (I am not sure it should remove them - let us see what others say)
d.erase -r would remove the layers and zoom the display to computational region.

This would be extremely helpful in the assignments when switching to 3D view

Helena

Helena Mitasova
Professor at the Department of Marine,
Earth, and Atmospheric Sciences
and Center for Geospatial Analytics
North Carolina State University
Raleigh, NC 27695-8208
hmitaso@ncsu.edu
http://geospatial.ncsu.edu/osgeorel/
"All electronic mail messages in connection with State business which are sent to or received by this account are subject to the NC Public Records Law and may be disclosed to third parties.”

On Oct 16, 2014, at 11:43 PM, Vaclav Petras wrote:

Hi,

in GRASS 7, the d.erase command is not supported in the main GUI.

For `d.mon wx0` d.erase removes all rasters and shows the backgroud. d.erase bgcolor is ignored.

For `d.mon png` d.erase uses bgcolor as expected.

For the main GUI, the question is if the Layers in Layer Manager should be removed or just unchecked. I'm for removing them.

The second question is if the background should be changed. The same applies to `d.mon wx0`. The settings of background color in GUI is done differently but perhaps d.erase can change the color temporary (I'm not sure how hard this would be to implement).

Is there something else what d.erase is doing? I got the impression that it zooms to computational region but manual page is silent about it.

Vaclav
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev