[GRASS-user] Setting computational region to wx monitor from command line

Anna Petrášová kratochanna at gmail.com
Wed Feb 14 05:25:40 PST 2018

On Tue, Feb 13, 2018 at 6:02 AM, Eric Patton <thepattonian at gmail.com> wrote:
> Hi folks,
> I’m looking for a way to set the computational region to that of the display
> window from within a script. I couldn’t find any d.* or g.* commands that
> did this.
> What I am trying to do is pan around the wx monitor to different portions of
> my vector coastline, and then from the command line run a script that uses
> the current display area as its computational region and updates the
> attribute table of the features displayed in the region from   null to some
> other value.
> Any ideas on whether this is possible?

Not currently, you would have to hack the GUI now to for example write
somewhere a file every time you change zoom and then create a script
that reads in this file and sets the region.


> ~ Eric.
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user

More information about the grass-user mailing list