[GRASS-user] replacement for d.mon in GRASS 7.0?

Hamish hamish_b at yahoo.com
Wed Apr 13 04:17:43 EDT 2011


Paweł wrote:
> Why don't leave d.mon as an option for users?

the XDRIVER was not portable, and had some fundamental rendering
limitations anyway. with it gone, the interactive code which depended
on it also had to go.


I think the trick is how to support a minimal (ie near-zero) maintenance
burden d.mon-alike without duplicating the existing GUI efforts. I think
we can fake an interactive display by adding WINDow position overlay ->
region box smarts to the canvas in wximgview. If there's any way to modify
GRASS_WIDTH, GRASS_HEIGHT from the image window without using g.gisenv I
haven't thought of it yet, so dragging the corner of the window to change
size might not be supportable, and you might have to have a wrapper script
to set the .tmp/ ppm file name, etc. automatically before starting the img
viewer. Also d.redraw is a difficult one to port without going to a much
more complicated compositing viewer.

I'm not sure how it will pan out, but no need to panic, this is FOSS and
itchy things tend to get scratched. The hardest thing is deciding the
best approach; implementation is just details.


Hamish



More information about the grass-user mailing list